Spade
Mini Shell
| Directory:~$ /home/lmsyaran/www/administrator/components/com_gantry5/scss/admin/ |
| [Home] [System Details] [Kill Me] |
#g5-container {
#g-notifications-container {
font-family: $font-family-default;
font-size: $core-font-size;
line-height: $core-line-height;
position: fixed;
z-index: 999999;
* {
box-sizing: border-box;
}
> div {
margin: 0 0 $content-margin;
padding: $content-padding;
width: 300px;
border-radius: $core-border-radius;
color: $white;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
opacity: 0.8;
position: relative;
&:hover {
opacity: 1;
cursor: pointer;
}
}
.g-notifications-title {
font-weight: bold;
text-transform: uppercase;
.fa {
margin-right: 10px;
}
}
.g-notifications-message {
//@include word-wrap(break-word);
}
.g-notifications-progress {
position: absolute;
left: 0;
bottom: -1px;
height: 4px;
background-color: $black;
opacity: 0.4;
border-radius: 0 0 0 3px;
}
.fa-close {
position: relative;
right: -0.3em;
top: -0.3em;
float: right;
font-weight: bold;
cursor: pointer;
color: $white;
}
&.top-full-width {
top: 0;
right: 0;
width: 100%;
}
&.bottom-full-width {
bottom: 0;
right: 0;
width: 100%;
}
&.top-left {
top: 12px;
left: 12px;
}
&.top-right {
top: 12px;
right: 12px;
}
&.bottom-right {
right: 12px;
bottom: 12px;
}
&.bottom-left {
bottom: 12px;
left: 12px;
}
&.top-full-width > div,
&.bottom-full-width > div {
width: 96%;
margin: auto;
}
> div { // base
background: $update-header-bg;
color: $white;
border: 1px solid darken($update-header-bg, 10);
}
.g-notifications-theme-error {
background: $red;
border: 1px solid darken($red, 10);
}
.g-notifications-theme-warning {
background: $yellow;
color: darken($yellow, 30);
border: 1px solid darken($yellow, 10);
hr {
border-bottom-color: darken($yellow, 30);
}
h3, h4 {
margin: 0;
}
}
}
}