snappymail/dev/Styles/Languages.less

46 lines
810 B
Text
Raw Normal View History

2021-03-09 00:23:21 +08:00
.b-languages-content {
2021-03-09 00:23:21 +08:00
&.modal {
width: 700px;
}
2021-03-09 00:23:21 +08:00
.lang-item {
display: inline-block;
padding: 5px 15px;
margin: 2px 5px;
width: 180px;
background-color: rgba(128, 128, 128, 0.1);
2021-03-09 00:23:21 +08:00
text-align: left;
border: 1px solid transparent;
border-radius: 3px;
position: relative;
cursor: pointer;
2021-03-09 00:23:21 +08:00
&.user {
background-color: rgba(255, 255, 64, .15);
2021-03-09 00:23:21 +08:00
border-color: #ff5;
}
&.selected {
background-color: rgba(64, 255, 64, 0.2);
2021-03-09 00:23:21 +08:00
border-color: #9c9;
}
&.selected::after {
content: "✔";
color: #080;
position: absolute;
right: 4px;
font-family: snappymail;
}
&:hover {
background-color: rgba(128, 128, 128, 0.2);
2021-03-09 00:23:21 +08:00
border-color: #ccc;
}
}
}
2016-05-03 04:42:29 +08:00
2021-02-08 04:10:05 +08:00
@media screen and (max-width: 999px) {
2016-05-03 04:42:29 +08:00
.b-languages-content .lang-item {
2021-07-16 03:02:00 +08:00
width: calc(100% - 40px);
2016-05-03 04:42:29 +08:00
}
}