You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
1.5 KiB
Plaintext
88 lines
1.5 KiB
Plaintext
8 years ago
|
/*** UI Messages ***/
|
||
8 years ago
|
|
||
|
#messagestack {
|
||
|
position: absolute;
|
||
|
bottom: 0.5em;
|
||
|
right: 0.5em;
|
||
|
z-index: 50000;
|
||
|
width: 320px;
|
||
|
height: auto;
|
||
|
max-height: 85%;
|
||
|
overflow-y: auto;
|
||
|
|
||
8 years ago
|
div {
|
||
|
&.voice {
|
||
|
position: absolute;
|
||
|
top: -1000px;
|
||
|
}
|
||
8 years ago
|
|
||
8 years ago
|
i.icon {
|
||
|
font-size: 2em !important;
|
||
|
}
|
||
8 years ago
|
|
||
8 years ago
|
a:hover {
|
||
|
text-decoration: underline;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
}
|
||
8 years ago
|
}
|
||
|
|
||
8 years ago
|
.ui.alert {
|
||
|
margin: 0;
|
||
|
margin-bottom: 0.2em;
|
||
|
opacity: 0.95;
|
||
|
float: left;
|
||
|
width: 100%;
|
||
8 years ago
|
padding: 0.75em;
|
||
8 years ago
|
|
||
8 years ago
|
& > i.icon:before {
|
||
|
&:extend(.font-icon-class);
|
||
|
content: @fa-var-info-circle;
|
||
|
}
|
||
8 years ago
|
|
||
8 years ago
|
&.loading > i.icon:before {
|
||
|
content: @fa-var-circle-o-notch;
|
||
|
.animated-icon-class;
|
||
|
}
|
||
8 years ago
|
|
||
8 years ago
|
&.alert-warning > i.icon:before {
|
||
|
content: @fa-var-warning;
|
||
|
}
|
||
8 years ago
|
|
||
8 years ago
|
&.alert-danger > i.icon:before {
|
||
|
content: @fa-var-exclamation-circle;
|
||
|
}
|
||
8 years ago
|
}
|
||
|
|
||
8 years ago
|
/* TODO: #message-objects colors, make <a> buttons, icons using <i>? */
|
||
|
|
||
|
#message-objects div {
|
||
|
margin: 0;
|
||
|
margin-bottom: 0.2em;
|
||
|
width: 100%;
|
||
|
padding: 0.75em;
|
||
|
|
||
|
&:before {
|
||
|
&:extend(.font-icon-class);
|
||
|
}
|
||
|
|
||
|
&.notice:before {
|
||
|
content: @fa-var-info-circle;
|
||
|
}
|
||
|
|
||
|
&.warning:before {
|
||
|
content: @fa-var-warning;
|
||
|
}
|
||
|
|
||
|
&.error:before {
|
||
|
content: @fa-var-exclamation-circle;
|
||
|
}
|
||
|
}
|
||
8 years ago
|
|
||
|
@media screen and (max-width: 480px) {
|
||
|
#messagestack {
|
||
|
left: 0.5em;
|
||
|
width: auto;
|
||
|
}
|
||
|
}
|