snappymail/dev/Styles/Ui.less

247 lines
3.3 KiB
Text
Raw Normal View History

.g-ui-user-select-none {
2015-04-07 03:32:19 +08:00
// webkit-touch-callout: none;
// user-select: none;
// standard-user-select: none;
// touch-callout: none;
}
2014-02-11 00:14:25 +08:00
.g-ui-user-select-allow {
2014-08-28 23:27:30 +08:00
webkit-touch-callout: inherit;
2014-02-11 00:14:25 +08:00
user-select: inherit;
standard-user-select: inherit;
2014-08-28 23:27:30 +08:00
touch-callout: inherit;
2014-02-11 00:14:25 +08:00
}
.g-ui-clearfix {
.clearfix();
}
.g-ui-link {
color: #336699;
text-decoration: underline;
cursor: pointer;
padding: 2px;
&:focus {
outline: 1px;
outline-style: dotted;
}
}
.g-ui-min-height-300 {
min-height: 300px;
}
.g-ui-100-proc-height {
height: 100%;
}
.g-ui-absolute-reset {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
padding: 0;
margin: 0;
border: 0;
z-index: 0;
}
.g-ui-menu {
max-height: 400px;
max-width: 300px;
overflow-y: auto;
overflow-x: hidden;
.e-link {
text-decoration: none;
cursor: pointer;
}
.e-item.selected > .e-link {
background-color: #eee !important;
}
.e-item > .e-link:focus, .e-item > .e-link:hover {
background-color: #555;
background-image: none;
color: #fff;
}
.e-item.disabled > .e-link {
cursor: not-allowed;
background-color: #fff;
background-image: none;
color: grey;
}
.e-item.disabled [class^="icon-"] {
color: grey;
}
}
.g-ui-table {
display: table;
width: 100%;
.e-row {
display: table-row;
}
.e-cell {
display: table-cell;
vertical-align: top;
text-align: left;
}
}
.g-ui-height-100proc {
height: 100%;
}
.e-pagenator {
.e-page {
display: inline-block;
color: #999;
text-decoration: none;
2014-06-26 02:47:04 +08:00
font-size: 22px;
padding: 3px;
cursor: pointer;
&:hover .e-page-number {
color: #555;
}
&.current .e-page-number {
2014-06-26 02:47:04 +08:00
font-size: 25px;
color: #333;
border-bottom: 2px solid #000;
}
}
}
.settings-saved-trigger {
display: inline-block;
line-height: 17px;
font-size: 16px;
.animated {
color: green;
}
.success {
color: green;
2014-08-28 23:27:30 +08:00
transition: opacity 0.5s linear;
opacity: 0;
}
.error {
color: red;
2014-08-28 23:27:30 +08:00
transition: opacity 0.5s linear;
opacity: 0;
}
.visible {
2014-08-28 23:27:30 +08:00
opacity: 1;
}
}
.settings-saved-trigger-input {
&.success {
border-color: green !important;
2014-08-28 23:27:30 +08:00
transition: border-color 0.5s linear;
}
&.error {
border-color: red !important;
2014-08-28 23:27:30 +08:00
transition: border-color 0.5s linear;
}
}
2016-09-16 04:34:30 +08:00
.display-none {
display: none;
}
2016-05-01 09:07:10 +08:00
.e-spinner {
2013-12-25 23:53:47 +08:00
display: none;
}
2016-05-01 09:07:10 +08:00
.e-powered, .e-mobile-switcher {
2014-10-22 01:49:42 +08:00
margin-top: 8px;
color: #333;
a {
color: #333;
text-decoration: underline;
&:hover {
color: #333;
}
}
}
.e-languages {
margin-top: 8px;
color: #333;
.flag-name {
color: #333;
border-bottom: 1px dashed #333;
cursor: pointer;
2015-05-06 00:41:15 +08:00
padding: 2px 0px;
&:focus {
outline: 1px;
outline-style: dotted;
}
}
}
html {
2013-12-25 23:53:47 +08:00
.e-spinner {
display: block;
margin: 5px auto 0;
width: 100px;
text-align: center;
}
.e-spinner .e-bounce {
width: 15px;
height: 15px;
background-color: #ddd;
margin: 0 5px;
.box-shadow(0px 0px 3px rgba(0, 0, 0, 0.3));
2013-12-25 23:53:47 +08:00
border-radius: 100%;
display: inline-block;
animation: bouncedelay 1.4s infinite ease-in-out;
/* Prevent first frame from flickering when animation starts */
animation-fill-mode: both;
}
.e-spinner .bounce1 {
animation-delay: -0.32s;
}
.e-spinner .bounce2 {
animation-delay: -0.16s;
}
}
@keyframes bouncedelay {
2014-08-28 23:27:30 +08:00
0%, 80%, 100% { transform: scale(0.0); }
40% { transform: scale(1.0); }
2015-01-25 03:09:10 +08:00
}
.command.command-disabled.hide-on-disabled-command {
display:none;
2015-04-14 02:45:09 +08:00
}