mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 13:39:22 +03:00
Reduce CSS footprint
This commit is contained in:
parent
4570b87232
commit
ab9e56f8b6
18 changed files with 222 additions and 249 deletions
|
|
@ -1,40 +1,38 @@
|
|||
#rl-popups {
|
||||
.b-languages-content {
|
||||
.b-languages-content {
|
||||
|
||||
&.modal {
|
||||
width: 700px;
|
||||
&.modal {
|
||||
width: 700px;
|
||||
}
|
||||
|
||||
.lang-item {
|
||||
display: inline-block;
|
||||
padding: 5px 15px;
|
||||
margin: 2px 5px;
|
||||
width: 180px;
|
||||
background-color: #fff;
|
||||
text-align: left;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 3px;
|
||||
position: relative;
|
||||
|
||||
&.user {
|
||||
background-color: #ffd;
|
||||
border-color: #ff5;
|
||||
}
|
||||
|
||||
.lang-item {
|
||||
display: inline-block;
|
||||
padding: 5px 15px;
|
||||
margin: 2px 5px;
|
||||
width: 180px;
|
||||
background-color: #fff;
|
||||
text-align: left;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 3px;
|
||||
position: relative;
|
||||
|
||||
&.user {
|
||||
background-color: #ffd;
|
||||
border-color: #ff5;
|
||||
}
|
||||
&.selected {
|
||||
background-color: #efe;
|
||||
border-color: #9c9;
|
||||
}
|
||||
&.selected::after {
|
||||
content: "✔";
|
||||
color: #080;
|
||||
position: absolute;
|
||||
right: 4px;
|
||||
font-family: snappymail;
|
||||
}
|
||||
&:hover {
|
||||
background-color: #eee;
|
||||
border-color: #ccc;
|
||||
}
|
||||
&.selected {
|
||||
background-color: #efe;
|
||||
border-color: #9c9;
|
||||
}
|
||||
&.selected::after {
|
||||
content: "✔";
|
||||
color: #080;
|
||||
position: absolute;
|
||||
right: 4px;
|
||||
font-family: snappymail;
|
||||
}
|
||||
&:hover {
|
||||
background-color: #eee;
|
||||
border-color: #ccc;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue