Added the ability to define button, progress bar, tooltip and popover radius. (#448)
* Added the ability to define button, progress bar, tooltip and popover radius. * Border updates * Fix notification scaling
This commit is contained in:
@@ -1,285 +1,188 @@
|
||||
.calendar-menu-content * {
|
||||
font-size: $font-size * $bar-menus-menu-clock-scaling * 0.01;
|
||||
font-size: $font-size * $bar-menus-menu-clock-scaling * 0.01;
|
||||
}
|
||||
|
||||
.calendar-content-container {
|
||||
margin-top: 0em;
|
||||
min-width: 27em;
|
||||
min-height: 6em;
|
||||
background: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-background,
|
||||
$bar-menus-menu-clock-background-color
|
||||
);
|
||||
border: $bar-menus-border-size solid
|
||||
if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-border-color,
|
||||
$bar-menus-menu-clock-border-color
|
||||
);
|
||||
border-radius: $bar-menus-border-radius;
|
||||
margin-right: 0.5em;
|
||||
opacity: $bar-menus-opacity * 0.01;
|
||||
margin-top: 0em;
|
||||
min-width: 27em;
|
||||
min-height: 6em;
|
||||
background: if($bar-menus-monochrome, $bar-menus-background, $bar-menus-menu-clock-background-color);
|
||||
border: $bar-menus-border-size solid
|
||||
if($bar-menus-monochrome, $bar-menus-border-color, $bar-menus-menu-clock-border-color);
|
||||
border-radius: $bar-menus-border-radius;
|
||||
margin-right: 0.5em;
|
||||
opacity: $bar-menus-opacity * 0.01;
|
||||
}
|
||||
|
||||
.calendar-menu-item-container {
|
||||
border-radius: $bar-menus-card_radius;
|
||||
margin-bottom: 1.35em;
|
||||
background: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-cards,
|
||||
$bar-menus-menu-clock-card-color
|
||||
);
|
||||
border-radius: $bar-menus-card_radius;
|
||||
margin-bottom: 1.35em;
|
||||
background: if($bar-menus-monochrome, $bar-menus-cards, $bar-menus-menu-clock-card-color);
|
||||
}
|
||||
|
||||
.calendar-content-items {
|
||||
margin: 1.35em;
|
||||
margin: 1.35em;
|
||||
}
|
||||
|
||||
.calendar-container-box {
|
||||
margin: 0.75em;
|
||||
margin-bottom: 0em;
|
||||
margin: 0.75em;
|
||||
margin-bottom: 0em;
|
||||
}
|
||||
|
||||
.calendar-menu-widget {
|
||||
border-radius: 0.4em;
|
||||
color: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-text,
|
||||
$bar-menus-menu-clock-calendar-days
|
||||
);
|
||||
border-radius: 0.4em;
|
||||
color: if($bar-menus-monochrome, $bar-menus-text, $bar-menus-menu-clock-calendar-days);
|
||||
|
||||
&:selected {
|
||||
box-shadow:
|
||||
inset 0 -0.5em 0 0 if($bar-menus-monochrome, $bar-menus-label, $bar-menus-menu-clock-calendar-currentday),
|
||||
inset -0.4em -0.3em 0 0
|
||||
if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-cards,
|
||||
$bar-menus-menu-clock-card-color
|
||||
),
|
||||
inset 0.4em 0 0 0.01em
|
||||
if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-cards,
|
||||
$bar-menus-menu-clock-card-color
|
||||
);
|
||||
color: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-label,
|
||||
$bar-menus-menu-clock-calendar-currentday
|
||||
);
|
||||
border-radius: 0em;
|
||||
}
|
||||
&:selected {
|
||||
box-shadow:
|
||||
inset 0 -0.5em 0 0 if($bar-menus-monochrome, $bar-menus-label, $bar-menus-menu-clock-calendar-currentday),
|
||||
inset -0.4em -0.3em 0 0 if($bar-menus-monochrome, $bar-menus-cards, $bar-menus-menu-clock-card-color),
|
||||
inset 0.4em 0 0 0.01em if($bar-menus-monochrome, $bar-menus-cards, $bar-menus-menu-clock-card-color);
|
||||
color: if($bar-menus-monochrome, $bar-menus-label, $bar-menus-menu-clock-calendar-currentday);
|
||||
border-radius: 0em;
|
||||
}
|
||||
|
||||
&.header {
|
||||
background-color: transparent;
|
||||
color: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-label,
|
||||
$bar-menus-menu-clock-calendar-yearmonth
|
||||
);
|
||||
}
|
||||
&.header {
|
||||
background-color: transparent;
|
||||
color: if($bar-menus-monochrome, $bar-menus-label, $bar-menus-menu-clock-calendar-yearmonth);
|
||||
}
|
||||
|
||||
&.button {
|
||||
color: $text;
|
||||
font-weight: 900;
|
||||
font-size: 900em;
|
||||
}
|
||||
&.button {
|
||||
color: $text;
|
||||
font-weight: 900;
|
||||
font-size: 900em;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-icons-active,
|
||||
$bar-menus-menu-clock-calendar-paginator
|
||||
);
|
||||
}
|
||||
&:hover {
|
||||
color: if($bar-menus-monochrome, $bar-menus-icons-active, $bar-menus-menu-clock-calendar-paginator);
|
||||
}
|
||||
|
||||
&.highlight {
|
||||
color: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-icons-active,
|
||||
$bar-menus-menu-clock-calendar-weekdays
|
||||
);
|
||||
}
|
||||
&.highlight {
|
||||
color: if($bar-menus-monochrome, $bar-menus-icons-active, $bar-menus-menu-clock-calendar-weekdays);
|
||||
}
|
||||
|
||||
&:indeterminate {
|
||||
color: transparentize(
|
||||
if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-text,
|
||||
$bar-menus-menu-clock-calendar-days
|
||||
),
|
||||
0.65
|
||||
);
|
||||
}
|
||||
&:indeterminate {
|
||||
color: transparentize(if($bar-menus-monochrome, $bar-menus-text, $bar-menus-menu-clock-calendar-days), 0.65);
|
||||
}
|
||||
|
||||
font-size: 1.1em;
|
||||
padding: 0.35em;
|
||||
font-size: 1.1em;
|
||||
padding: 0.35em;
|
||||
}
|
||||
|
||||
.clock-content-items {
|
||||
min-height: 8em;
|
||||
min-height: 8em;
|
||||
|
||||
.clock-content-time {
|
||||
font-size: 4em;
|
||||
color: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-label,
|
||||
$bar-menus-menu-clock-time-time
|
||||
);
|
||||
}
|
||||
.clock-content-time {
|
||||
font-size: 4em;
|
||||
color: if($bar-menus-monochrome, $bar-menus-label, $bar-menus-menu-clock-time-time);
|
||||
}
|
||||
|
||||
.clock-content-period {
|
||||
font-size: 1.75em;
|
||||
margin-bottom: 1.35em;
|
||||
margin-right: -0.875em;
|
||||
color: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-label,
|
||||
$bar-menus-menu-clock-time-timeperiod
|
||||
);
|
||||
}
|
||||
.clock-content-period {
|
||||
font-size: 1.75em;
|
||||
margin-bottom: 1.35em;
|
||||
margin-right: -0.875em;
|
||||
color: if($bar-menus-monochrome, $bar-menus-label, $bar-menus-menu-clock-time-timeperiod);
|
||||
}
|
||||
}
|
||||
|
||||
.calendar-menu-item-container {
|
||||
margin-bottom: 0.65em;
|
||||
&:last-child {
|
||||
margin-bottom: 0em;
|
||||
}
|
||||
margin-bottom: 0.65em;
|
||||
&:last-child {
|
||||
margin-bottom: 0em;
|
||||
}
|
||||
}
|
||||
|
||||
.weather-container-box {
|
||||
margin: 1.5em;
|
||||
margin-top: 2.5em;
|
||||
min-width: 3em;
|
||||
margin: 1.5em;
|
||||
margin-top: 2.5em;
|
||||
min-width: 3em;
|
||||
|
||||
.calendar-menu-weather.today.icon {
|
||||
label {
|
||||
color: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-icons-active,
|
||||
$bar-menus-menu-clock-weather-icon
|
||||
);
|
||||
font-size: 5em;
|
||||
.calendar-menu-weather.today.icon {
|
||||
label {
|
||||
color: if($bar-menus-monochrome, $bar-menus-icons-active, $bar-menus-menu-clock-weather-icon);
|
||||
font-size: 5em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.calendar-menu-weather.today.temp.label {
|
||||
color: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-text,
|
||||
$bar-menus-menu-clock-weather-temperature
|
||||
);
|
||||
margin-left: 0.2em;
|
||||
font-size: 2.5em;
|
||||
.calendar-menu-weather.today.temp.label {
|
||||
color: if($bar-menus-monochrome, $bar-menus-text, $bar-menus-menu-clock-weather-temperature);
|
||||
margin-left: 0.2em;
|
||||
font-size: 2.5em;
|
||||
|
||||
&.icon {
|
||||
font-size: 2.5em;
|
||||
&.icon {
|
||||
font-size: 2.5em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.calendar-menu-weather.today.condition.label {
|
||||
color: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-label,
|
||||
$bar-menus-menu-clock-weather-status
|
||||
);
|
||||
font-size: 1.5em;
|
||||
margin-bottom: 0.4em;
|
||||
}
|
||||
.calendar-menu-weather.today.condition.label {
|
||||
color: if($bar-menus-monochrome, $bar-menus-label, $bar-menus-menu-clock-weather-status);
|
||||
font-size: 1.5em;
|
||||
margin-bottom: 0.4em;
|
||||
}
|
||||
|
||||
.calendar-menu-weather.today.temp.label.icon.weather-color.red {
|
||||
color: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-icons-active,
|
||||
$bar-menus-menu-clock-weather-thermometer-extremelyhot
|
||||
);
|
||||
}
|
||||
.calendar-menu-weather.today.temp.label.icon.weather-color.red {
|
||||
color: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-icons-active,
|
||||
$bar-menus-menu-clock-weather-thermometer-extremelyhot
|
||||
);
|
||||
}
|
||||
|
||||
.calendar-menu-weather.today.temp.label.icon.weather-color.orange {
|
||||
color: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-icons-active,
|
||||
$bar-menus-menu-clock-weather-thermometer-hot
|
||||
);
|
||||
}
|
||||
.calendar-menu-weather.today.temp.label.icon.weather-color.orange {
|
||||
color: if($bar-menus-monochrome, $bar-menus-icons-active, $bar-menus-menu-clock-weather-thermometer-hot);
|
||||
}
|
||||
|
||||
.calendar-menu-weather.today.temp.label.icon.weather-color.lavender {
|
||||
color: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-icons-active,
|
||||
$bar-menus-menu-clock-weather-thermometer-moderate
|
||||
);
|
||||
}
|
||||
.calendar-menu-weather.today.temp.label.icon.weather-color.lavender {
|
||||
color: if($bar-menus-monochrome, $bar-menus-icons-active, $bar-menus-menu-clock-weather-thermometer-moderate);
|
||||
}
|
||||
|
||||
.calendar-menu-weather.today.temp.label.icon.weather-color.blue {
|
||||
color: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-icons-active,
|
||||
$bar-menus-menu-clock-weather-thermometer-cold
|
||||
);
|
||||
}
|
||||
.calendar-menu-weather.today.temp.label.icon.weather-color.blue {
|
||||
color: if($bar-menus-monochrome, $bar-menus-icons-active, $bar-menus-menu-clock-weather-thermometer-cold);
|
||||
}
|
||||
|
||||
.calendar-menu-weather.today.temp.label.icon.weather-color.sky {
|
||||
color: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-icons-active,
|
||||
$bar-menus-menu-clock-weather-thermometer-extremelycold
|
||||
);
|
||||
}
|
||||
.calendar-menu-weather.today.temp.label.icon.weather-color.sky {
|
||||
color: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-icons-active,
|
||||
$bar-menus-menu-clock-weather-thermometer-extremelycold
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
.calendar-menu-weather.today.stats.container {
|
||||
margin-bottom: 0.75em;
|
||||
color: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-label,
|
||||
$bar-menus-menu-clock-weather-stats
|
||||
);
|
||||
margin-bottom: 0.75em;
|
||||
color: if($bar-menus-monochrome, $bar-menus-label, $bar-menus-menu-clock-weather-stats);
|
||||
|
||||
.weather.label {
|
||||
margin-left: 0.35em;
|
||||
}
|
||||
.weather.label {
|
||||
margin-left: 0.35em;
|
||||
}
|
||||
}
|
||||
|
||||
.menu-separator.weather {
|
||||
margin: 1.5em 0em;
|
||||
margin: 1.5em 0em;
|
||||
}
|
||||
|
||||
.hourly-weather-time {
|
||||
color: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-label,
|
||||
$bar-menus-menu-clock-weather-hourly-time
|
||||
);
|
||||
margin-bottom: 0.5em;
|
||||
color: if($bar-menus-monochrome, $bar-menus-label, $bar-menus-menu-clock-weather-hourly-time);
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
.hourly-weather-icon {
|
||||
color: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-icons-active,
|
||||
$bar-menus-menu-clock-weather-hourly-icon
|
||||
);
|
||||
margin-bottom: 0.25em;
|
||||
font-size: 1.8em;
|
||||
color: if($bar-menus-monochrome, $bar-menus-icons-active, $bar-menus-menu-clock-weather-hourly-icon);
|
||||
margin-bottom: 0.25em;
|
||||
font-size: 1.8em;
|
||||
}
|
||||
|
||||
.hourly-weather-temp {
|
||||
color: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-label,
|
||||
$bar-menus-menu-clock-weather-hourly-temperature
|
||||
);
|
||||
color: if($bar-menus-monochrome, $bar-menus-label, $bar-menus-menu-clock-weather-hourly-temperature);
|
||||
}
|
||||
|
||||
.weather.precip.icon {
|
||||
min-width: 1em;
|
||||
font-size: 1em;
|
||||
min-width: 1em;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.weather.wind.icon {
|
||||
min-width: 1em;
|
||||
font-size: 1em;
|
||||
min-width: 1em;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
opacity: $bar-menus-opacity * 0.01;
|
||||
|
||||
button {
|
||||
border-radius: 0.4em;
|
||||
border-radius: $bar-menus-buttons-radius;
|
||||
}
|
||||
|
||||
.dashboard-card {
|
||||
@@ -499,7 +499,7 @@
|
||||
}
|
||||
|
||||
block {
|
||||
border-radius: 0.4em;
|
||||
border-radius: $bar-menus-progressbar-radius;
|
||||
|
||||
&.empty {
|
||||
background: if(
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
}
|
||||
|
||||
.menu-content {
|
||||
border-radius: 0.4em;
|
||||
border-radius: $bar-menus-buttons-radius;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
}
|
||||
@@ -68,7 +68,7 @@
|
||||
color: if($bar-menus-monochrome, $bar-menus-buttons-text, $bar-menus-menu-media-buttons-text);
|
||||
min-height: 1.8em;
|
||||
min-width: 2.5em;
|
||||
border-radius: 0.2rem;
|
||||
border-radius: $bar-menus-buttons-radius * 0.75;
|
||||
|
||||
&.disabled {
|
||||
background: if($bar-menus-monochrome, $bar-menus-buttons-disabled, $bar-menus-menu-media-buttons-inactive);
|
||||
|
||||
@@ -176,7 +176,7 @@
|
||||
|
||||
.menu-active-slider * {
|
||||
min-height: 0.85em;
|
||||
border-radius: 0.2em;
|
||||
border-radius: $bar-menus-slider-progress-radius;
|
||||
}
|
||||
|
||||
.menu-slider-container {
|
||||
|
||||
@@ -1,192 +1,244 @@
|
||||
.notification-menu-content * {
|
||||
font-size: $font-size * $bar-menus-menu-notifications-scaling * 0.01;
|
||||
font-size: $font-size * $bar-menus-menu-notifications-scaling * 0.01;
|
||||
}
|
||||
|
||||
.notification-card-container.menu {
|
||||
margin: 0em;
|
||||
min-width: 30.6em * $bar-menus-menu-notifications-scaling * 0.01;
|
||||
min-height: $bar-menus-menu-notifications-height * $bar-menus-menu-notifications-scaling * 0.01;
|
||||
background: if($bar-menus-monochrome, $bar-menus-background, $bar-menus-menu-notifications-background);
|
||||
border: $bar-menus-border-size solid if($bar-menus-monochrome, $bar-menus-border-color, $bar-menus-menu-notifications-border);
|
||||
border-radius: $bar-menus-border-radius;
|
||||
margin-right: 0.45em;
|
||||
opacity: $bar-menus-opacity * 0.01;
|
||||
|
||||
.window-content.notificationsmenu-window {
|
||||
margin-right: 0.50em;
|
||||
}
|
||||
|
||||
.menu-content-container.notifications {
|
||||
margin: 1em;
|
||||
margin-bottom: 0em;
|
||||
min-height: 4em;
|
||||
}
|
||||
|
||||
.notification-menu-controls {
|
||||
background: if($bar-menus-monochrome, $bar-menus-cards, $bar-menus-menu-notifications-card);
|
||||
margin: 1em 1em;
|
||||
margin-bottom: 0.5em;
|
||||
border-radius: $bar-menus-card_radius;
|
||||
padding: 0.4em 0.75em;
|
||||
}
|
||||
|
||||
.notification-card.menu {
|
||||
background: $notification-background;
|
||||
min-width: 26.2em * $bar-menus-menu-notifications-scaling * 0.01;
|
||||
font-size: $font-size * $bar-menus-menu-notifications-scaling * 0.01;
|
||||
border: 0.15em solid $notification-border;
|
||||
border-radius: 0em;
|
||||
border-bottom-left-radius: $notification-border_radius;
|
||||
border-top-left-radius: $notification-border_radius;
|
||||
margin: 0em;
|
||||
}
|
||||
min-width: 30.6em * $bar-menus-menu-notifications-scaling * 0.01;
|
||||
min-height: $bar-menus-menu-notifications-height * $bar-menus-menu-notifications-scaling * 0.01;
|
||||
background: if($bar-menus-monochrome, $bar-menus-background, $bar-menus-menu-notifications-background);
|
||||
border: $bar-menus-border-size solid
|
||||
if($bar-menus-monochrome, $bar-menus-border-color, $bar-menus-menu-notifications-border);
|
||||
border-radius: $bar-menus-border-radius;
|
||||
margin-right: 0.45em;
|
||||
opacity: $bar-menus-opacity * 0.01;
|
||||
|
||||
.notification-card-content-container {
|
||||
margin-bottom: 0.65em;
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
.notification-card-content {
|
||||
margin-bottom: 0.25em;
|
||||
}
|
||||
|
||||
.menu-label.notifications {
|
||||
margin: 0em;
|
||||
font-size: $font-size * $bar-menus-menu-notifications-scaling * 0.01;
|
||||
color: if($bar-menus-monochrome, $bar-menus-label, $bar-menus-menu-notifications-label);
|
||||
}
|
||||
|
||||
.menu-separator.notification-controls {
|
||||
min-width: 0.1em;
|
||||
background-color: if($bar-menus-monochrome, $bar-menus-dropdownmenu-divider, $bar-menus-menu-notifications-switch_divider);
|
||||
margin: 0em 1em;
|
||||
}
|
||||
|
||||
.menu-switch.notifications {
|
||||
background-color: if($bar-menus-monochrome, $bar-menus-switch-disabled, $bar-menus-menu-notifications-switch-disabled);
|
||||
|
||||
&:checked {
|
||||
background: if($bar-menus-monochrome, $bar-menus-switch-enabled, $bar-menus-menu-notifications-switch-enabled);
|
||||
.window-content.notificationsmenu-window {
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
|
||||
slider {
|
||||
background-color: if($bar-menus-monochrome, $bar-menus-switch-puck, $bar-menus-menu-notifications-switch-puck);
|
||||
.menu-content-container.notifications {
|
||||
margin: 1em;
|
||||
margin-bottom: 0em;
|
||||
min-height: 4em;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
trough {
|
||||
background: if($bar-menus-monochrome, $bar-menus-switch-disabled, $bar-menus-menu-notifications-switch-disabled);
|
||||
}
|
||||
|
||||
slider {
|
||||
background: if($bar-menus-monochrome, $bar-menus-switch-puck, $bar-menus-menu-notifications-switch-puck);
|
||||
}
|
||||
.notification-menu-controls {
|
||||
background: if($bar-menus-monochrome, $bar-menus-cards, $bar-menus-menu-notifications-card);
|
||||
margin: 1em 1em;
|
||||
margin-bottom: 0.5em;
|
||||
border-radius: $bar-menus-card_radius;
|
||||
padding: 0.4em 0.75em;
|
||||
}
|
||||
|
||||
&:active {
|
||||
background: if($bar-menus-monochrome, $bar-menus-switch-enabled, $bar-menus-menu-notifications-switch-enabled);
|
||||
.notification-card.menu {
|
||||
background: $notification-background;
|
||||
min-width: 0em;
|
||||
min-height: 0em;
|
||||
font-size: $font-size * $bar-menus-menu-notifications-scaling * 0.01;
|
||||
border: 0.15em solid $notification-border;
|
||||
border-radius: 0em;
|
||||
border-bottom-left-radius: $notification-border_radius;
|
||||
border-top-left-radius: $notification-border_radius;
|
||||
margin: 0em;
|
||||
}
|
||||
}
|
||||
|
||||
.clear-notifications-button {
|
||||
margin-right: 0.3em;
|
||||
.notification-card-content-container {
|
||||
margin-bottom: 0.65em;
|
||||
|
||||
&:hover label:not(.removing) {
|
||||
color: transparentize(if($bar-menus-monochrome, $bar-menus-buttons-default, $bar-menus-menu-notifications-clear), 0.5);
|
||||
&:last-child {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.clear-notifications-label {
|
||||
color: if($bar-menus-monochrome, $bar-menus-buttons-default, $bar-menus-menu-notifications-clear);
|
||||
font-size: 1.5em;
|
||||
|
||||
&.removing {
|
||||
color: $bar-menus-buttons-disabled;
|
||||
.notification-card-content {
|
||||
margin-bottom: 0.25em;
|
||||
}
|
||||
}
|
||||
|
||||
scrollbar {
|
||||
margin-right: 0.2em;
|
||||
min-width: $bar-menus-menu-notifications-scrollbar-width;
|
||||
border-radius: $bar-menus-menu-notifications-scrollbar-radius;
|
||||
background: transparent;
|
||||
|
||||
slider {
|
||||
min-width: $bar-menus-menu-notifications-scrollbar-width;
|
||||
border-radius: $bar-menus-menu-notifications-scrollbar-radius;
|
||||
background: $bar-menus-menu-notifications-scrollbar-color;
|
||||
.menu-label.notifications {
|
||||
margin: 0em;
|
||||
font-size: $font-size * $bar-menus-menu-notifications-scaling * 0.01;
|
||||
color: if($bar-menus-monochrome, $bar-menus-label, $bar-menus-menu-notifications-label);
|
||||
}
|
||||
|
||||
.menu-separator.notification-controls {
|
||||
min-width: 0.1em;
|
||||
background-color: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-dropdownmenu-divider,
|
||||
$bar-menus-menu-notifications-switch_divider
|
||||
);
|
||||
margin: 0em 1em;
|
||||
}
|
||||
|
||||
.menu-switch.notifications {
|
||||
* {
|
||||
font-size: $font-size * $bar-menus-menu-notifications-scaling * 0.01;
|
||||
}
|
||||
|
||||
background-color: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-switch-disabled,
|
||||
$bar-menus-menu-notifications-switch-disabled
|
||||
);
|
||||
|
||||
&:checked {
|
||||
background: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-switch-enabled,
|
||||
$bar-menus-menu-notifications-switch-enabled
|
||||
);
|
||||
}
|
||||
|
||||
slider {
|
||||
background-color: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-switch-puck,
|
||||
$bar-menus-menu-notifications-switch-puck
|
||||
);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
trough {
|
||||
background: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-switch-disabled,
|
||||
$bar-menus-menu-notifications-switch-disabled
|
||||
);
|
||||
}
|
||||
|
||||
slider {
|
||||
background: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-switch-puck,
|
||||
$bar-menus-menu-notifications-switch-puck
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
&:active {
|
||||
background: if(
|
||||
$bar-menus-monochrome,
|
||||
$bar-menus-switch-enabled,
|
||||
$bar-menus-menu-notifications-switch-enabled
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
.clear-notifications-button {
|
||||
margin-right: 0.3em;
|
||||
|
||||
&:hover label:not(.removing) {
|
||||
color: transparentize(
|
||||
if($bar-menus-monochrome, $bar-menus-buttons-default, $bar-menus-menu-notifications-clear),
|
||||
0.5
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
.clear-notifications-label {
|
||||
color: if($bar-menus-monochrome, $bar-menus-buttons-default, $bar-menus-menu-notifications-clear);
|
||||
font-size: 1.5em * $bar-menus-menu-notifications-scaling * 0.01;
|
||||
|
||||
&.removing {
|
||||
color: $bar-menus-buttons-disabled;
|
||||
}
|
||||
}
|
||||
|
||||
scrollbar {
|
||||
margin-right: 0.2em;
|
||||
min-width: $bar-menus-menu-notifications-scrollbar-width * $bar-menus-menu-notifications-scaling * 0.01;
|
||||
border-radius: $bar-menus-menu-notifications-scrollbar-radius;
|
||||
background: transparent;
|
||||
|
||||
slider {
|
||||
min-width: $bar-menus-menu-notifications-scrollbar-width * $bar-menus-menu-notifications-scaling * 0.01;
|
||||
border-radius: $bar-menus-menu-notifications-scrollbar-radius;
|
||||
background: $bar-menus-menu-notifications-scrollbar-color;
|
||||
}
|
||||
}
|
||||
|
||||
.notification-card-header-label {
|
||||
font-size: 0.95em;
|
||||
}
|
||||
|
||||
.notification-card-body-label {
|
||||
font-size: 0.84em;
|
||||
}
|
||||
.notification-icon {
|
||||
font-size: 1.3em;
|
||||
}
|
||||
|
||||
.notification-time {
|
||||
font-size: 0.85em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.notification-label-container {
|
||||
margin-bottom: 8em;
|
||||
margin-bottom: 8em;
|
||||
|
||||
label {
|
||||
color: if($bar-menus-monochrome, $bar-menus-feinttext, $bar-menus-menu-notifications-no_notifications_label);
|
||||
}
|
||||
label {
|
||||
color: if($bar-menus-monochrome, $bar-menus-feinttext, $bar-menus-menu-notifications-no_notifications_label);
|
||||
}
|
||||
|
||||
.bell {
|
||||
font-size: 10em * $bar-menus-menu-notifications-scaling * 0.01;
|
||||
}
|
||||
.bell {
|
||||
font-size: 10em * $bar-menus-menu-notifications-scaling * 0.01;
|
||||
}
|
||||
|
||||
.message {
|
||||
font-size: 1.5em * $bar-menus-menu-notifications-scaling * 0.01;
|
||||
}
|
||||
.message {
|
||||
font-size: 1.5em * $bar-menus-menu-notifications-scaling * 0.01;
|
||||
}
|
||||
}
|
||||
|
||||
.close-notification-button.menu {
|
||||
background: $notification-close_button-background;
|
||||
color: $notification-close_button-label;
|
||||
min-width: 2.1em;
|
||||
border-radius: 0rem $notification-border_radius $notification-border_radius 0em;
|
||||
background: $notification-close_button-background;
|
||||
color: $notification-close_button-label;
|
||||
min-width: 2.1em * $bar-menus-menu-notifications-scaling * 0.01;
|
||||
border-radius: 0rem $notification-border_radius $notification-border_radius 0em;
|
||||
|
||||
label {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
label {
|
||||
font-size: 1.5em * $bar-menus-menu-notifications-scaling * 0.01;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: transparentize($notification-close_button-background , 0.5);
|
||||
}
|
||||
&:hover {
|
||||
background: transparentize($notification-close_button-background, 0.5);
|
||||
}
|
||||
}
|
||||
|
||||
.notification-menu-pager {
|
||||
background: $bar-menus-menu-notifications-pager-background;
|
||||
border-radius: $bar-menus-border-radius;
|
||||
border-top-left-radius: 0em;
|
||||
border-top-right-radius: 0em;
|
||||
background: $bar-menus-menu-notifications-pager-background;
|
||||
border-radius: $bar-menus-border-radius;
|
||||
border-top-left-radius: 0em;
|
||||
border-top-right-radius: 0em;
|
||||
|
||||
.pager-button {
|
||||
margin: 0em;
|
||||
padding: 0.25em 1em;
|
||||
color: $bar-menus-menu-notifications-pager-button;
|
||||
.pager-button {
|
||||
margin: 0em;
|
||||
padding: 0.25em 1em;
|
||||
color: $bar-menus-menu-notifications-pager-button;
|
||||
|
||||
.pager-button-label {
|
||||
font-size: 2em;
|
||||
.pager-button-label {
|
||||
font-size: 2em * $bar-menus-menu-notifications-scaling * 0.01;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.pager-button-label {
|
||||
color: transparentize($bar-menus-menu-notifications-pager-button, 0.4);
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.pager-button-label {
|
||||
color: transparentize($bar-menus-menu-notifications-pager-button, 0.4);
|
||||
text-decoration: none;
|
||||
}
|
||||
.pager-label {
|
||||
color: $bar-menus-menu-notifications-pager-label;
|
||||
}
|
||||
}
|
||||
|
||||
.pager-label {
|
||||
color: $bar-menus-menu-notifications-pager-label;
|
||||
}
|
||||
|
||||
.disabled {
|
||||
color: transparentize($bar-menus-menu-notifications-pager-button, 0.8);
|
||||
|
||||
&:hover {
|
||||
.pager-button-label {
|
||||
.disabled {
|
||||
color: transparentize($bar-menus-menu-notifications-pager-button, 0.8);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.pager-button-label {
|
||||
color: transparentize($bar-menus-menu-notifications-pager-button, 0.8);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user