| Server IP : 85.158.181.41 / Your IP : 216.73.217.12 Web Server : Apache System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64 User : moncbefd ( 1024) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/moncbefd/www.moneta.at/admin/styles/admin/layouts/main/header/ |
Upload File : |
/*
Main Header Info Box
==========================================================================
Style the info box component in the right corner of the main header.
*/
// Message headline font size.
$message-headline-font-size: 14px;
// Message texts padding and margin styling.
@mixin put-message-text-padding-margin {
padding: $padding-small $padding-large;
margin: 0;
}
// Info Box Animations
@-webkit-keyframes show-info-box {
0% {
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
z-index: 1;
}
50% {
top: 0;
-webkit-transform: translate(0, 50px);
transform: translate(0, 50px);
z-index: 1
}
51% {
z-index: 2
}
100% {
top: 0;
-webkit-transform: translate(0, 35px);
transform: translate(0, 35px);
z-index: 2;
}
}
@-webkit-keyframes hide-info-box {
0% {
top: 0;
-webkit-transform: translate(0, 35px);
transform: translate(0, 35px);
z-index: 2;
}
50% {
top: 0;
-webkit-transform: translate(0, 50px);
transform: translate(0, 50px);
z-index: 2
}
51% {
z-index: 1
}
100% {
top: 0;
-webkit-transform: translateY(-100%);
transform: translateY(-100%);
z-index: 1;
}
}
// Needed for browsers without webkit
@keyframes show-info-box {
0% {
-moz-transform: translate(0, 0);
-o-transform: translate(0, 0);
transform: translate(0, 0);
z-index: 1;
}
50% {
top: 0;
-moz-transform: translate(0, 50px);
-o-transform: translate(0, 50px);
transform: translate(0, 50px);
z-index: 1
}
51% {
z-index: 2
}
100% {
top: 0;
-moz-transform: translate(0, 35px);
-o-transform: translate(0, 35px);
transform: translate(0, 35px);
z-index: 2;
}
}
@keyframes hide-info-box {
0% {
top: 0;
-moz-transform: translate(0, 35px);
-o-transform: translate(0, 35px);
transform: translate(0, 35px);
z-index: 2;
}
50% {
top: 0;
-moz-transform: translate(0, 50px);
-o-transform: translate(0, 50px);
transform: translate(0, 50px);
z-index: 2
}
51% {
z-index: 1
}
100% {
top: 0;
-moz-transform: translateY(-100%);
-o-transform: translateY(-100%);
transform: translateY(-100%);
z-index: 1;
}
}
// Message items count.
.info-box {
max-width: $header-height;
max-height: $header-height;
overflow: hidden;
.notification-count {
position: relative;
top: -43px;
left: 26px;
padding: 1px 4px;
border-radius: 100%;
background: $brand-alt;
color: $brand-primary;
font-size: 9px;
font-weight: bold;
pointer-events: none;
}
}
// Tooltip.
.message-list-container {
border-radius: 0;
max-width: 304px;
// Animation to hide the popover.
animation: ease hide-info-box 0.7s;
animation-fill-mode: forwards;
will-change: transform;
// Animation to show the popover.
&.visible {
display: block;
animation: ease show-info-box 0.7s;
animation-fill-mode: forwards;
will-change: transform;
z-index: 2;
}
// Message list.
.popover-content {
color: $text-color-light;
background-color: $popover-bg;
min-width: 300px;
min-height: 50px;
padding: 0;
// Loading message.
.loading {
padding: $padding-large;
text-align: center;
}
// Message item.
.message {
border-top: 1px solid $popover-border-color;
width: 300px;
clear: both;
// First message item.
&:first-child, &.admin-action-success {
border-top: 0;
}
// Message headline.
.headline {
@include put-message-text-padding-margin;
font-size: $message-headline-font-size;
font-weight: bold;
padding-top: $margin-large;
padding-bottom: 0;
}
// Message body text.
.content {
@include put-message-text-padding-margin;
padding-bottom: $margin-large;
}
// Message button.
.message-button {
float: right;
min-width: 92px;
margin-right: $margin-large;
margin-bottom: $margin-large;
}
// Message action container.
.action-icons {
float: right;
margin: $margin-small;
// Message action elements.
.action-icon {
cursor: pointer;
margin: 0 ($padding-small / 2);
}
}
// Message of type 'info'.
&.info {
.headline {
color: $brand-warning;
}
.message-button {
@include component-colors($brand-warning, $btn-warning-color, false);
&:hover {
@include component-colors($brand-warning, $btn-warning-color, true);
}
}
}
// Message of type 'warning'.
&.warning {
.headline {
color: $brand-danger;
}
.message-button {
@include component-colors($brand-danger, $btn-danger-color, false);
&:hover {
@include component-colors($brand-danger, $btn-danger-color, true);
}
}
}
// Message of type 'success'.
&.success {
.headline {
color: $brand-success;
}
.message-button {
@include component-colors($brand-success, $btn-success-color, false);
&:hover {
@include component-colors($brand-success, $btn-success-color, true);
}
}
}
}
// Hidden messages visibility checkbox.
.visibility-checkbox-container {
// Checkbox container.
clear: both;
display: block;
padding: $padding-small $padding-large;
line-height: $margin-large;
border-top: 1px solid $popover-border-color;
// Checkbox label.
.visibility-checkbox-label {
line-height: $margin-large;
margin-left: $margin-small;
margin-bottom: 0;
font-weight: normal;
}
}
}
}