snappymail/dev/Styles/_FontasticToBoot.less

195 lines
2.8 KiB
Plaintext
Raw Normal View History

2013-12-15 06:42:32 +08:00
[class^="icon-"],
[class*=" icon-"] {
display: inline-block;
width: 16px;
height: 16px;
line-height: 17px;
font-size: 16px;
vertical-align: text-top;
}
.icon-folder, .icon-folder-add, .icon-list {
2013-12-15 06:42:32 +08:00
line-height: 18px;
font-size: 18px;
2014-03-19 20:38:34 +08:00
margin-top: -1px;
margin-left: -1px;
width: 17px;
2013-12-15 06:42:32 +08:00
}
.iconsize50 {
line-height: 50px;
font-size: 50px;
width: 50px;
height: 50px;
}
.iconsize24 {
line-height: 24px;
font-size: 24px;
}
.iconsize20 {
line-height: 20px;
font-size: 20px;
}
2013-12-15 06:42:32 +08:00
/* White icons with optional class, or on hover/active states of certain elements */
.icon-white,
.nav > .active > a > [class^="icon-"],
.nav > .active > a > [class*=" icon-"] {
color: #fff;
}
.g-ui-menu .e-item:hover [class^="icon-"],
.g-ui-menu .e-item:hover [class*=" icon-"] {
color: #fff;
}
.icon-none {
background-image: none !important;
}
.icon-checkbox-checked, .icon-checkbox-unchecked, .icon-checkbox-partial, .icon-radio-checked, .icon-radio-unchecked {
cursor: pointer;
color: #555;
font-size: 1em;
&:hover, &:active {
color: #000;
}
}
.icon-white {
&.icon-checkbox-checked, &.icon-checkbox-unchecked, &.icon-checkbox-partial, &.icon-radio-checked, &.icon-radio-unchecked {
color: #eee;
&:hover, &:active {
color: #fff;
}
}
}
2015-01-13 07:24:08 +08:00
.iconcolor-display-none {
display: none;
}
.iconcolor-green {
color: green;
}
.iconcolor-red {
color: red;
}
.iconcolor-white {
color: white;
}
.iconcolor-grey {
color: #aaa;
}
2013-12-15 06:42:32 +08:00
.denied-by-browser {
cursor: default;
.icon-checkbox-checked, icon-checkbox-unchecked {
cursor: default;
}
}
.right-mini, .down-mini {
width: 16px;
line-height: 20px;
}
2015-01-06 04:55:06 +08:00
/*
2013-12-15 06:42:32 +08:00
@keyframes rotation {
2014-04-24 00:09:56 +08:00
to {transform: rotate(1turn);}
2013-12-15 06:42:32 +08:00
}
.icon-spinner {
width: 16px;
height: 16px;
&:before {
2014-04-24 00:09:56 +08:00
transform-origin: 8px 8px;
margin-top: 1px;
display: inline-block;
2013-12-15 06:42:32 +08:00
font-size: 16px;
line-height: 100%;
}
}
2015-01-06 04:55:06 +08:00
*/
@keyframes rotation {
to {transform: rotate(1turn);}
}
.icon-spinner {
font-family: Arial;
&:before {
content: "";
}
height: 11px;
width: 11px;
margin-right: -1px;
background: none;
border: 3px solid #aaa;
border-top-color: #333;
border-radius: 100%;
animation: none;
&.animated {
border-color: transparent;
border-top-color: #999;
2015-04-21 06:39:14 +08:00
animation: rotation .8s infinite ease-in-out;
2015-01-06 04:55:06 +08:00
}
&.big {
height: 13px;
width: 13px;
margin-top: -2px;
margin-left: -2px;
}
2015-02-16 05:55:59 +08:00
&.white, &.icon-white {
border-color: #fff;
border-top-color: #999;
&.animated {
border-color: transparent;
border-top-color: #fff;
}
}
2015-01-06 04:55:06 +08:00
}
2013-12-15 06:42:32 +08:00
html.no-cssanimations .icon-spinner {
2015-01-06 04:55:06 +08:00
background: none;
2013-12-25 23:53:47 +08:00
background-image: url('@{rlSyncFileStop}');
2013-12-15 06:42:32 +08:00
background-repeat: no-repeat;
2015-01-06 04:55:06 +08:00
border: none;
box-shadow: none;
height: 16px;
width: 16px;
2013-12-15 06:42:32 +08:00
font-family: Arial;
&:before {
content: "";
}
&.animated {
2015-01-06 04:55:06 +08:00
background: none;
2013-12-25 23:53:47 +08:00
background-image: url('@{rlSyncFile}');
2013-12-15 06:42:32 +08:00
}
}