mirror of
https://gitlab.com/LinxGem33/X-Arc-White.git
synced 2026-02-03 01:13:16 +08:00
2688 lines
56 KiB
SCSS
Executable File
2688 lines
56 KiB
SCSS
Executable File
//
|
|
// This is the RIGHT PLACE to edit the stylesheet
|
|
//
|
|
|
|
// let's start by telling people not to edit the generated CSS:
|
|
$cakeisalie: "This stylesheet is generated, DO NOT EDIT";
|
|
/* #{$cakeisalie} */
|
|
|
|
$panel-corner-radius: 0;
|
|
|
|
/***********
|
|
* Globals *
|
|
***********/
|
|
|
|
* {
|
|
transition-timing-function : cubic-bezier(0.4, 0, 0.2, 1);
|
|
transition-duration: 0.2s;
|
|
}
|
|
|
|
$font-family: Noto Sans, Cantarell, Sans-Serif;
|
|
|
|
stage {
|
|
font-family: $font-family;
|
|
font-weight: 400;
|
|
@include fontscaling($ref_size);
|
|
color: $fg_color;
|
|
}
|
|
|
|
|
|
/***********
|
|
* Widgets *
|
|
***********/
|
|
|
|
|
|
/***********
|
|
* Buttons *
|
|
***********/
|
|
|
|
.button {
|
|
padding: 7px 16px 8px;
|
|
border-radius: 2px;
|
|
border-width: 0;
|
|
font-weight: 500;
|
|
@include button(flat-normal);
|
|
&:hover { @include button(flat-hover); }
|
|
&:active { @include button(flat-active); }
|
|
&:insensitive { @include button(flat-insensitive); }
|
|
&:focus { @include button(flat-focus); }
|
|
}
|
|
|
|
.modal-dialog-linked-button {
|
|
@include button(flat-normal);
|
|
padding: 9px 16px 10px;
|
|
border-right-width: 0;
|
|
border: none;
|
|
color: $secondary_accent_color;
|
|
font-weight: 700;
|
|
&:hover {
|
|
@include button(flat-hover);
|
|
color: $accent_color;
|
|
background-color: $accent_fill_color;
|
|
}
|
|
&:focus {
|
|
color: $accent_color;
|
|
}
|
|
&:active {
|
|
@include button(flat-active);
|
|
color: $accent_color;
|
|
background-color: $accent_active_fill_color;
|
|
}
|
|
&:insensitive { @include button(flat-insensitive); }
|
|
|
|
&:first-child { border-radius: 0 0 0 2px; }
|
|
&:last-child {
|
|
border-right-width: 0;
|
|
border-radius: 0 0 2px 0;
|
|
}
|
|
&:first-child:last-child {
|
|
border-right-width: 0;
|
|
border-radius: 0 0 2px 2px;
|
|
}
|
|
}
|
|
|
|
|
|
/***********
|
|
* Entries *
|
|
***********/
|
|
|
|
StEntry {
|
|
padding: 7px 8px 8px;
|
|
border-radius: 0;
|
|
border-width: 0;
|
|
color: $inverted_fg_color;
|
|
selection-background-color: $selected_bg_color;
|
|
selected-color: $selected_fg_color;
|
|
@include entry(normal);
|
|
&:hover { @include entry(hover); }
|
|
&:focus { @include entry(focus); }
|
|
&:insensitive { @include entry(insensitive); }
|
|
|
|
StIcon.capslock-warning {
|
|
icon-size: 16px;
|
|
warning-color: $warning_color;
|
|
padding: 0 2px;
|
|
}
|
|
}
|
|
|
|
|
|
/**************
|
|
* Scrollbars *
|
|
**************/
|
|
|
|
StScrollView {
|
|
&.vfade { -st-vfade-offset: 32px; }
|
|
&.hfade { -st-hfade-offset: 32px; }
|
|
}
|
|
|
|
StScrollBar {
|
|
padding: 0;
|
|
|
|
StScrollView & {
|
|
min-width: 6px;
|
|
min-height: 6px;
|
|
}
|
|
|
|
StBin#trough {
|
|
margin: 0;
|
|
border-radius: 0;
|
|
background-color: $fill_color;
|
|
}
|
|
|
|
StButton#vhandle, StButton#hhandle {
|
|
margin: 0;
|
|
border-radius: 0;
|
|
background-color: scale-color($inverted_fg_color, $alpha: -40%);
|
|
// would be nice to margin or at least to transparent
|
|
// border: 4px solid transparent;
|
|
&:hover { background-color: scale-color($inverted_fg_color, $alpha: -20%); }
|
|
&:active { background-color: scale-color($inverted_fg_color, $alpha: -0%); }
|
|
}
|
|
}
|
|
|
|
|
|
/**********
|
|
* Slider *
|
|
**********/
|
|
|
|
.slider {
|
|
height: 16px;
|
|
color: $accent_color;
|
|
-slider-height: 2px;
|
|
-slider-background-color: scale-color($fg_color, $alpha: -90%); // background of the trough
|
|
-slider-border-color: transparent; // trough border color
|
|
-slider-active-background-color: $accent_color; // active trough fill
|
|
-slider-active-border-color: transparent; // active trough border
|
|
-slider-border-width: 0;
|
|
-slider-handle-radius: 8px;
|
|
}
|
|
|
|
|
|
/***************
|
|
* Check Boxes *
|
|
***************/
|
|
|
|
.check-box {
|
|
StBoxLayout { spacing: 0.8em; }
|
|
StBin {
|
|
width: 20px;
|
|
height: 20px;
|
|
background-image: url("assets/checkbox-off.svg");
|
|
color: $inverted_secondary_fg_color;
|
|
}
|
|
&:focus StBin { background-image: url("assets/checkbox-off-hover.svg"); }
|
|
&:checked StBin { background-image: url("assets/checkbox.svg"); }
|
|
&:focus:checked StBin { background-image: url("assets/checkbox-hover.svg"); }
|
|
}
|
|
|
|
|
|
/************
|
|
* Switches *
|
|
************/
|
|
|
|
.toggle-switch {
|
|
width: 40px;
|
|
height: 20px;
|
|
background-size: contain;
|
|
}
|
|
|
|
@each $v in us, intl {
|
|
.toggle-switch-#{$v} {
|
|
background-image: url("toggle-off.svg");
|
|
&:checked { background-image: url("toggle-on.svg"); }
|
|
}
|
|
.toggle-switch-#{$v}:hover,
|
|
.toggle-switch-#{$v}:active,
|
|
.toggle-switch-#{$v}:focus {
|
|
background-image: url("toggle-off-hover.svg");
|
|
&:checked { background-image: url("toggle-on-hover.svg"); }
|
|
}
|
|
}
|
|
|
|
|
|
/*********
|
|
* Links *
|
|
*********/
|
|
|
|
.shell-link {
|
|
border-radius: 2px;
|
|
color: $link_color;
|
|
&:hover {
|
|
color: $link_color;
|
|
background-color: transparentize($link_color, 0.9);
|
|
}
|
|
&:active {
|
|
color: $link_color;
|
|
background-color: transparentize($link_color, 0.8);
|
|
}
|
|
}
|
|
|
|
|
|
/*****************
|
|
* Modal Dialogs *
|
|
*****************/
|
|
|
|
.headline {
|
|
@include fontscaling($ref_size * 1.1);
|
|
}
|
|
|
|
.lightbox { background-color: #000000; }
|
|
.flashspot { background-color: #FFFFFF; }
|
|
|
|
.modal-dialog {
|
|
border: none;
|
|
border-radius: 2px;
|
|
color: $inverted_fg_color;
|
|
background-color: transparentize($osd_bg_color, 0.1);
|
|
box-shadow: $z-depth-4;
|
|
|
|
.modal-dialog-content-box { padding: 24px; }
|
|
|
|
.run-dialog-entry {
|
|
width: 20em;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.run-dialog-error-box {
|
|
padding-top: 16px;
|
|
spacing: 6px;
|
|
}
|
|
|
|
.run-dialog-button-box { padding-top: 1em; }
|
|
|
|
.run-dialog-label {
|
|
@include fontscaling($ref_size * 1.1);
|
|
padding-bottom: 0.4em;
|
|
font-weight: 400;
|
|
color: $inverted_dim_fg_color;
|
|
}
|
|
}
|
|
|
|
.show-processes-dialog-subject,
|
|
.mount-question-dialog-subject,
|
|
.end-session-dialog-subject { //this should be a generic header class
|
|
@include fontscaling($ref_size * 1.3);
|
|
}
|
|
|
|
|
|
/**********************
|
|
* End Session Dialog *
|
|
**********************/
|
|
|
|
.end-session-dialog {
|
|
spacing: 42px;
|
|
border: none;
|
|
}
|
|
|
|
.end-session-dialog-list { padding-top: 20px; }
|
|
|
|
.end-session-dialog-layout {
|
|
padding-left: 17px;
|
|
&:rtl { padding-right: 17px; }
|
|
}
|
|
|
|
.end-session-dialog-description {
|
|
width: 28em;
|
|
padding-bottom: 10px;
|
|
&:rtl { text-align: right; }
|
|
}
|
|
|
|
.end-session-dialog-warning {
|
|
width: 28em;
|
|
padding-top: 6px;
|
|
color: $warning_color;
|
|
&:rtl { text-align: right; }
|
|
}
|
|
|
|
.end-session-dialog-logout-icon {
|
|
// border: 2px solid #8b8b8b;
|
|
border-radius: 5px;
|
|
width: 48px;
|
|
height: 48px;
|
|
background-size: contain;
|
|
}
|
|
|
|
.end-session-dialog-shutdown-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
color: $dim_fg_color;
|
|
}
|
|
|
|
.end-session-dialog-inhibitor-layout {
|
|
spacing: 16px;
|
|
max-height: 200px;
|
|
padding-right: 65px;
|
|
padding-left: 65px;
|
|
}
|
|
|
|
.end-session-dialog-session-list,
|
|
.end-session-dialog-app-list { spacing: 1em; }
|
|
|
|
.end-session-dialog-list-header {
|
|
font-weight: 700;
|
|
&:rtl { text-align: right; }
|
|
}
|
|
|
|
.end-session-dialog-app-list-item,
|
|
.end-session-dialog-session-list-item { spacing: 1em; }
|
|
|
|
.end-session-dialog-app-list-item-name,
|
|
.end-session-dialog-session-list-item-name { font-weight: 700; }
|
|
|
|
.end-session-dialog-app-list-item-description {
|
|
@include fontscaling($ref_size * 1.0);
|
|
color: $inverted_dim_fg_color;
|
|
}
|
|
|
|
|
|
/*******************************
|
|
* ShellMountOperation Dialogs *
|
|
*******************************/
|
|
|
|
.shell-mount-operation-icon { icon-size: 48px; }
|
|
|
|
.show-processes-dialog,
|
|
.mount-question-dialog { spacing: 24px; }
|
|
|
|
.show-processes-dialog-subject,
|
|
.mount-question-dialog-subject {
|
|
padding-top: 10px;
|
|
padding-left: 17px;
|
|
padding-bottom: 6px;
|
|
}
|
|
|
|
.mount-question-dialog-subject { max-width: 500px; }
|
|
|
|
.show-processes-dialog-subject:rtl,
|
|
.mount-question-dialog-subject:rtl {
|
|
padding-left: 0;
|
|
padding-right: 17px;
|
|
}
|
|
|
|
.show-processes-dialog-description,
|
|
.mount-question-dialog-description {
|
|
padding-left: 17px;
|
|
width: 28em;
|
|
&:rtl { padding-right: 17px; }
|
|
}
|
|
|
|
.show-processes-dialog-app-list {
|
|
max-height: 200px;
|
|
padding-top: 24px;
|
|
padding-left: 49px;
|
|
padding-right: 32px;
|
|
&:rtl {
|
|
padding-right: 49px;
|
|
padding-left: 32px;
|
|
}
|
|
}
|
|
|
|
.show-processes-dialog-app-list-item {
|
|
color: $inverted_secondary_fg_color;
|
|
&:hover { color: $inverted_fg_color; }
|
|
&:ltr { padding-right: 1em; }
|
|
&:rtl { padding-left: 1em; }
|
|
}
|
|
|
|
.show-processes-dialog-app-list-item-icon {
|
|
&:ltr { padding-right: 17px; }
|
|
&:rtl { padding-left: 17px; }
|
|
}
|
|
|
|
.show-processes-dialog-app-list-item-name {
|
|
@include fontscaling($ref_size * 1.0);
|
|
}
|
|
|
|
|
|
/*************************************
|
|
* Password or Authentication Dialog *
|
|
*************************************/
|
|
|
|
.prompt-dialog {
|
|
// this is the width of the entire modal popup
|
|
width: 500px;
|
|
border: none;
|
|
}
|
|
|
|
.prompt-dialog-main-layout {
|
|
spacing: 24px;
|
|
padding: 10px;
|
|
}
|
|
|
|
.prompt-dialog-message-layout { spacing: 16px; }
|
|
|
|
.prompt-dialog-headline {
|
|
@include fontscaling($ref_size * 1.3);
|
|
font-weight: 500;
|
|
color: $inverted_fg_color;
|
|
}
|
|
|
|
.prompt-dialog-description:rtl { text-align: right; }
|
|
|
|
.prompt-dialog-password-box {
|
|
spacing: 1em;
|
|
padding-bottom: 1em;
|
|
}
|
|
|
|
.prompt-dialog-error-label {
|
|
@include fontscaling($ref_size * 1.0);
|
|
padding-bottom: 8px;
|
|
color: $error_color;
|
|
}
|
|
|
|
.prompt-dialog-info-label {
|
|
@include fontscaling($ref_size * 1.0);
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
.hidden { color: transparent; }
|
|
|
|
.prompt-dialog-null-label {
|
|
@include fontscaling($ref_size * 1.0);
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
|
|
/*****************
|
|
* Polkit Dialog *
|
|
*****************/
|
|
|
|
.polkit-dialog-user-layout {
|
|
padding-left: 10px;
|
|
spacing: 10px;
|
|
&:rtl {
|
|
padding-left: 0;
|
|
padding-right: 10px;
|
|
}
|
|
}
|
|
|
|
.polkit-dialog-user-root-label { color: $warning_color; }
|
|
|
|
.polkit-dialog-user-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 5px;
|
|
background-size: contain;
|
|
}
|
|
|
|
|
|
/**************************
|
|
* Audio selection dialog *
|
|
**************************/
|
|
|
|
.audio-device-selection-dialog { spacing: 3em; }
|
|
|
|
.audio-selection-content {
|
|
padding: 2.2em;
|
|
spacing: 2em;
|
|
}
|
|
|
|
.audio-selection-title {
|
|
font-weight: 700;
|
|
text-align: center;
|
|
}
|
|
|
|
.audio-selection-box { spacing: 2em; }
|
|
|
|
.audio-selection-device {
|
|
border: 1px solid $borders_color;
|
|
border-radius: 2px;
|
|
&:hover,
|
|
&:focus { background-color: $osd_fill_color; }
|
|
&:active { background-color: $selected_bg_color; }
|
|
}
|
|
|
|
.audio-selection-device-box {
|
|
padding: 2em;
|
|
spacing: 2em;
|
|
}
|
|
|
|
.audio-selection-device-icon { icon-size: 64px; }
|
|
|
|
|
|
/**********************
|
|
* Geolocation Dialog *
|
|
**********************/
|
|
|
|
.geolocation-dialog { spacing: 30px; }
|
|
|
|
.geolocation-dialog-main-layout { spacing: 1em; }
|
|
|
|
.geolocation-dialog-content { spacing: 2em; }
|
|
|
|
.geolocation-dialog-icon { icon-size: 48px; }
|
|
|
|
.geolocation-dialog-title { font-weight: 700; }
|
|
|
|
.geolocation-dialog-reason {
|
|
color: $inverted_dim_fg_color;
|
|
font-weight: 400;
|
|
}
|
|
|
|
|
|
/************************
|
|
* Network Agent Dialog *
|
|
************************/
|
|
|
|
.network-dialog-secret-table {
|
|
spacing-rows: 15px;
|
|
spacing-columns: 1em;
|
|
}
|
|
|
|
.keyring-dialog-control-table {
|
|
spacing-rows: 15px;
|
|
spacing-columns: 1em;
|
|
}
|
|
|
|
|
|
/******************
|
|
* Popovers/Menus *
|
|
******************/
|
|
|
|
.popup-menu {
|
|
min-width: 15em;
|
|
|
|
.popup-menu-arrow { // defined globally in the TOP BAR
|
|
}
|
|
|
|
.popup-sub-menu {
|
|
border-bottom: 1px solid $borders_color;
|
|
background-color: $secondary_dark_color;
|
|
box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
.popup-menu-content { padding: 0.45em 0; }
|
|
|
|
.popup-menu-item {
|
|
spacing: 8px;
|
|
color: $secondary_fg_color;
|
|
|
|
&:ltr { padding: 0.45em 1.75em 0.45em 0; }
|
|
&:rtl { padding: 0.45em 0 0.45em 1.75em; }
|
|
|
|
&:checked {
|
|
background-color: $selected_bg_color;
|
|
color: $selected_fg_color;
|
|
box-shadow: 0 0 transparent;
|
|
font-weight: 500;
|
|
&.selected {
|
|
background-color: mix($selected_bg_color, $selected_fg_color, 90%);
|
|
color: $selected_fg_color;
|
|
}
|
|
&:active {
|
|
background-color: mix($selected_bg_color, $selected_fg_color, 80%);
|
|
color: $selected_fg_color;
|
|
}
|
|
&:insensitive { color: scale-color($selected_fg_color, $alpha: -50%); }
|
|
}
|
|
&.selected {
|
|
background-color: scale-color($fg_color, $alpha: -90%);
|
|
color: $fg_color;
|
|
transition-duration: 0;
|
|
}
|
|
&:active {
|
|
background-color: scale-color($fg_color, $alpha: -80%);
|
|
color: $fg_color;
|
|
transition-duration: 0.2s;
|
|
}
|
|
&.selected:active { color: $fg_color; }
|
|
&:insensitive { color: scale-color($fg_color, $alpha: -50%); }
|
|
}
|
|
|
|
.popup-inactive-menu-item { //all icons and other graphical elements
|
|
color: $secondary_fg_color;
|
|
&:insensitive { color: scale-color($secondary_fg_color, $alpha: -50%); }
|
|
}
|
|
|
|
// dunno what that is
|
|
// .popup-status-menu-item {
|
|
// font-weight: 500;
|
|
// color: pink;
|
|
// }
|
|
|
|
&.panel-menu {
|
|
-boxpointer-gap: 4px;
|
|
margin-bottom: 1.75em;
|
|
}
|
|
|
|
StEntry { // use variant-sensitive foreground colours
|
|
@include entry(normal);
|
|
color: $secondary_fg_color;
|
|
&:hover {
|
|
@include entry(hover);
|
|
color: $fg_color;
|
|
}
|
|
&:focus {
|
|
@include entry(focus);
|
|
color: $fg_color;
|
|
}
|
|
&:insensitive { @include entry(insensitive); }
|
|
}
|
|
}
|
|
|
|
.popup-menu-ornament {
|
|
text-align: right;
|
|
width: 1.2em;
|
|
height: 1.2em;
|
|
}
|
|
|
|
.popup-menu-boxpointer,
|
|
.candidate-popup-boxpointer {
|
|
-arrow-border-radius: 2px; // FIXME: need more than 2px
|
|
-arrow-background-color: $bg_color; // fake arrows
|
|
-arrow-border-width: 0;
|
|
-arrow-border-color: transparent;
|
|
-arrow-base: 64px; // 'popup-menu-arrow' base * 4
|
|
-arrow-rise: 0;
|
|
-arrow-box-shadow: none; // dreaming. bug #689995
|
|
margin: 0.1em 0.3em 0.5em;
|
|
border-radius: 2px;
|
|
border-top: 1px solid $base_color;
|
|
background-color: $bg_color;
|
|
box-shadow: $z-depth-3;
|
|
}
|
|
|
|
.popup-separator-menu-item {
|
|
// -margin-horizontal: 24px;
|
|
height: 1px; // not really the whole box
|
|
margin: 0;
|
|
spacing: 0;
|
|
border-color: $borders_color;
|
|
border-bottom-width: 1px;
|
|
border-bottom-style: solid;
|
|
background-color: transparent;
|
|
}
|
|
|
|
// Background menu
|
|
.background-menu {
|
|
-boxpointer-gap: 4px;
|
|
-arrow-rise: 0;
|
|
}
|
|
|
|
// Fallback menu
|
|
// odd thing for styling App menu when apparently not running under shell.
|
|
// Light Adwaita styled app menu inside the main app window itself
|
|
// rather than the top bar
|
|
|
|
// Volume-mixer extension
|
|
.masterslider.smaller {
|
|
.masterlabel,
|
|
.slider {
|
|
min-width: 14.2em; // 15em - 0.4em padding * 2
|
|
}
|
|
}
|
|
|
|
|
|
/*******
|
|
* OSD *
|
|
*******/
|
|
|
|
.osd-window {
|
|
text-align: center;
|
|
font-weight: 700;
|
|
spacing: 1em;
|
|
margin: 32px;
|
|
min-width: 64px;
|
|
min-height: 64px;
|
|
|
|
.osd-monitor-label {
|
|
@include fontscaling($ref_size * 3.0);
|
|
}
|
|
|
|
.level {
|
|
height: 3px;
|
|
border-radius: 0;
|
|
background-color: $fill_color;
|
|
color: $success_color;
|
|
}
|
|
|
|
.level-bar {
|
|
border-radius: 0;
|
|
background-color: $success_color;
|
|
}
|
|
}
|
|
|
|
|
|
/****************
|
|
* App Switcher *
|
|
****************/
|
|
|
|
.switcher-popup {
|
|
padding: 8px;
|
|
spacing: 16px;
|
|
}
|
|
|
|
.osd-window,
|
|
.resize-popup,
|
|
.switcher-list {
|
|
@extend %osd-panel;
|
|
}
|
|
|
|
.switcher-list-item-container { spacing: 8px; }
|
|
|
|
.switcher-list .item-box {
|
|
padding: 8px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.switcher-list .item-box:outlined {
|
|
padding: 6px;
|
|
border: 2px solid $osd_fill_color;
|
|
}
|
|
|
|
.switcher-list .item-box:selected {
|
|
background-color: $accent_fill_color;
|
|
color: $accent_color;
|
|
}
|
|
|
|
.switcher-list .thumbnail-box {
|
|
padding: 2px;
|
|
spacing: 4px;
|
|
}
|
|
|
|
.switcher-list .thumbnail {
|
|
width: 256px;
|
|
}
|
|
|
|
.switcher-list .separator {
|
|
width: 1px;
|
|
background: $borders_color;
|
|
}
|
|
|
|
.switcher-arrow {
|
|
border-color: transparent;
|
|
color: $osd_dim_fg_color;
|
|
&:highlighted { color: $osd_fg_color; }
|
|
}
|
|
|
|
.input-source-switcher-symbol {
|
|
@include fontscaling($ref_size * 3.0);
|
|
width: 96px;
|
|
height: 96px;
|
|
}
|
|
|
|
|
|
/**********************
|
|
* Workspace Switcher *
|
|
**********************/
|
|
|
|
.workspace-switcher-group { padding: 12px; }
|
|
|
|
.workspace-switcher-container { @extend %osd-panel; }
|
|
|
|
.workspace-switcher {
|
|
padding: 0;
|
|
spacing: 8px;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.ws-switcher-active-up {
|
|
height: 50px;
|
|
background-color: $accent_fill_color;
|
|
background-image: url("assets/go-up.svg");
|
|
background-size: 24px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.ws-switcher-active-down {
|
|
height: 50px;
|
|
background-color: $accent_fill_color;
|
|
background-image: url("assets/go-down.svg");
|
|
background-size: 24px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.ws-switcher-box {
|
|
height: 50px;
|
|
border: 2px solid $osd_semi_fill_color;
|
|
border-radius: 2px;
|
|
background: transparent;
|
|
}
|
|
|
|
%osd-panel {
|
|
padding: 12px;
|
|
border-radius: 2px;
|
|
border: none;
|
|
color: $osd_fg_color;
|
|
background-color: transparentize($osd_bg_color, 0.1);
|
|
box-shadow: $z-depth-4;
|
|
}
|
|
|
|
|
|
/*************************
|
|
* Tiled window previews *
|
|
*************************/
|
|
|
|
.tile-preview {
|
|
background-color: transparentize($selected_bg_color,0.8);
|
|
border: 1px solid $selected_bg_color;
|
|
}
|
|
|
|
.tile-preview-left.on-primary {
|
|
border-radius: $panel-corner-radius $panel-corner-radius 0 0;
|
|
}
|
|
|
|
.tile-preview-right.on-primary {
|
|
border-radius: 0 $panel-corner-radius 0 0;
|
|
}
|
|
|
|
.tile-preview-left.tile-preview-right.on-primary {
|
|
border-radius: $panel-corner-radius $panel-corner-radius 0 0;
|
|
}
|
|
|
|
|
|
/***********
|
|
* Top Bar *
|
|
***********/
|
|
|
|
#panel {
|
|
height: 30px; // = 2.25em
|
|
font-weight: 700;
|
|
background-color: $panel_bg_color;
|
|
|
|
// remain top-edge solid part
|
|
&:overview,
|
|
&.unlock-screen,
|
|
&.login-screen,
|
|
&.lock-screen {
|
|
background-color: rgba(0, 0, 0, 0.01);
|
|
box-shadow: inset 0 2px 0 $panel_bg_color;
|
|
}
|
|
|
|
#panelLeft,
|
|
#panelCenter { // spacing between activities<>app menu and such
|
|
spacing: 0;
|
|
}
|
|
|
|
.panel-corner {
|
|
-panel-corner-radius: $panel-corner-radius;
|
|
-panel-corner-background-color: $panel_bg_color;
|
|
-panel-corner-border-width: 2px;
|
|
-panel-corner-border-color: transparent;
|
|
|
|
&:hover {
|
|
background-color: rgba(0, 0, 0, 0.01);
|
|
box-shadow: inset 0 2px 0 $osd_fill_color;
|
|
}
|
|
&:active,
|
|
&:overview,
|
|
&:focus {
|
|
-panel-corner-border-color: transparent;
|
|
background-color: rgba(0, 0, 0, 0.01);
|
|
box-shadow: inset 0 2px 0 $osd_indicator_color;
|
|
}
|
|
|
|
&.lock-screen,
|
|
&.login-screen,
|
|
&.unlock-screen {
|
|
-panel-corner-radius: 0;
|
|
-panel-corner-background-color: transparent;
|
|
-panel-corner-border-color: transparent;
|
|
}
|
|
}
|
|
|
|
.panel-button {
|
|
-natural-hpadding: 12px;
|
|
-minimum-hpadding: 6px;
|
|
font-weight: 700;
|
|
color: $inverted_secondary_fg_color;
|
|
transition-duration: 0.2s;
|
|
|
|
.app-menu-icon {
|
|
-st-icon-style: symbolic;
|
|
margin-left: 4px;
|
|
margin-right: 4px;
|
|
//dimensions of the icon are hardcoded
|
|
}
|
|
|
|
&:hover {
|
|
color: $selected_fg_color;
|
|
background-color: rgba(0, 0, 0, 0.01);
|
|
box-shadow: inset 0 2px 0 $osd_fill_color;
|
|
}
|
|
&:active,
|
|
&:focus,
|
|
&:checked,
|
|
&:overview {
|
|
// Trick due to St limitations. It needs a background to draw
|
|
// a box-shadow
|
|
background-color: rgba(0, 0, 0, 0.01);
|
|
box-shadow: inset 0 2px 0 $osd_indicator_color;
|
|
color: $selected_fg_color;
|
|
|
|
& > .system-status-icon { icon-shadow: none; }
|
|
}
|
|
|
|
.system-status-icon {
|
|
icon-size: 16px;
|
|
padding: 0 2px;
|
|
}
|
|
|
|
.unlock-screen &,
|
|
.login-screen &,
|
|
.lock-screen & {
|
|
color: $osd_fg_color;
|
|
&:focus,
|
|
&:hover,
|
|
&:active { color: $selected_fg_color; }
|
|
}
|
|
}
|
|
|
|
.panel-status-indicators-box,
|
|
.panel-status-menu-box {
|
|
spacing: 6px;
|
|
}
|
|
|
|
.screencast-indicator { color: $accent_color; }
|
|
}
|
|
|
|
|
|
/********************
|
|
* Calendar popover *
|
|
********************/
|
|
|
|
#calendarArea { padding: 0.75em 1.0em; }
|
|
|
|
.calendar { margin-bottom: 1em; }
|
|
|
|
.calendar,
|
|
.datemenu-today-button,
|
|
.datemenu-displays-box,
|
|
.message-list-sections {
|
|
margin: 0 1.5em;
|
|
}
|
|
|
|
.datemenu-calendar-column { spacing: 0.5em; }
|
|
.datemenu-displays-section { padding-bottom: 3em; }
|
|
|
|
.datemenu-today-button,
|
|
.world-clocks-button,
|
|
.message-list-section-title {
|
|
padding: 0.4em;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.message-list-section-list {
|
|
&:ltr { padding-left: 0.4em; }
|
|
&:rtl { padding-right: 0.4em; }
|
|
}
|
|
|
|
.datemenu-today-button,
|
|
.world-clocks-button,
|
|
.message-list-section-title {
|
|
&:hover,
|
|
&:focus {
|
|
color: $fg_color;
|
|
background-color: $semi_fill_color;
|
|
}
|
|
&:active {
|
|
color: $fg_color;
|
|
background-color: $fill_color;
|
|
}
|
|
}
|
|
|
|
.datemenu-today-button .day-label {
|
|
}
|
|
|
|
.datemenu-today-button .date-label {
|
|
@include fontscaling($ref_size * 1.5);
|
|
}
|
|
|
|
.world-clocks-header,
|
|
.message-list-section-title {
|
|
color: $secondary_fg_color;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.world-clocks-grid { spacing-rows: 0.4em; }
|
|
|
|
.calendar-month-label {
|
|
padding: 4px 0;
|
|
color: $fg_color;
|
|
font-weight: 700;
|
|
&:focus {}
|
|
}
|
|
|
|
.pager-button {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 32px;
|
|
color: $fg_color;
|
|
background-color: transparent;
|
|
&:hover,
|
|
&:focus { background-color: $semi_fill_color; }
|
|
&:active { background-color: $fill_color; }
|
|
}
|
|
|
|
.calendar-change-month-back { // arrow back
|
|
background-image: url("assets/calendar-arrow-left.svg");
|
|
&:hover,
|
|
&:focus { background-image: url("assets/calendar-arrow-left-hover.svg"); }
|
|
|
|
&:rtl { background-image: url("assets/calendar-arrow-right.svg"); }
|
|
&:rtl:hover,
|
|
&:rtl:focus { background-image: url("assets/calendar-arrow-right-hover.svg"); }
|
|
}
|
|
|
|
.calendar-change-month-forward { // arrow foreward
|
|
background-image: url("assets/calendar-arrow-right.svg");
|
|
&:hover,
|
|
&:focus { background-image: url("assets/calendar-arrow-right-hover.svg"); }
|
|
|
|
&:rtl { background-image: url("assets/calendar-arrow-left.svg"); }
|
|
&:rtl:hover,
|
|
&:rtl:focus { background-image: url("assets/calendar-arrow-left-hover.svg"); }
|
|
}
|
|
|
|
.calendar-day-base {
|
|
@include fontscaling($ref_size * 0.9);
|
|
width: 32px;
|
|
height: 32px;
|
|
padding: 0;
|
|
margin: 2px;
|
|
border-radius: 32px;
|
|
text-align: center;
|
|
&:hover,
|
|
&:focus { background-color: $semi_fill_color; }
|
|
&:active {
|
|
color: $selected_fg_color;
|
|
background-color: $selected_bg_color;
|
|
border-color: transparent; // avoid jumparound due to today
|
|
}
|
|
|
|
&.calendar-day-heading { // day of week heading
|
|
@include fontscaling($ref_size * 0.9);
|
|
width: 32px;
|
|
height: 25.3px;
|
|
margin-top: 2px;
|
|
padding: 6.7px 0 0;
|
|
background-color: transparent;
|
|
color: $dim_fg_color;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
.calendar-week-number { // day of week heading
|
|
width: 32px;
|
|
height: 25.3px;
|
|
margin: 2px;
|
|
padding: 6.7px 0 0;
|
|
background-color: transparent;
|
|
color: $dim_fg_color;
|
|
font-weight: 700;
|
|
font-size: inherit;
|
|
text-align: center;
|
|
}
|
|
|
|
.calendar-day { //border collapse hack - see calendar.js
|
|
border-width: 0;
|
|
}
|
|
|
|
.calendar-day-top { border-top-width: 0; }
|
|
|
|
.calendar-day-left { border-left-width: 0; }
|
|
|
|
.calendar-work-day {
|
|
}
|
|
|
|
.calendar-nonwork-day { color: $fg_color; }
|
|
|
|
.calendar-today {
|
|
border: none;
|
|
font-weight: 700 !important;
|
|
// color: $fg_color;
|
|
// background-color: transparent;
|
|
}
|
|
|
|
.calendar-day-with-events {
|
|
color: $link_color;
|
|
font-weight: 400;
|
|
text-decoration: underline;
|
|
background-image: none;
|
|
}
|
|
|
|
.calendar-other-month-day {
|
|
color: $dim_fg_color;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
|
|
/****************
|
|
* Message list *
|
|
****************/
|
|
|
|
.message-list { width: 420px; }
|
|
|
|
.message-list-sections { spacing: 1.5em; }
|
|
|
|
.message-list-section,
|
|
.message-list-section-list { spacing: 0.7em; }
|
|
|
|
.message-list-section-title-box { spacing: 0.4em; }
|
|
|
|
.message-list-section-close > StIcon {
|
|
padding: 6px;
|
|
border-radius: 20px;
|
|
icon-size: 20px;
|
|
color: $secondary_fg_color;
|
|
background-color: transparent;
|
|
}
|
|
|
|
// FIXME: how do you do this in sass?
|
|
.message-list-section-close:hover > StIcon,
|
|
.message-list-section-close:focus > StIcon {
|
|
color: $fg_color;
|
|
background-color: $semi_fill_color;
|
|
}
|
|
|
|
.message-list-section-close:active > StIcon {
|
|
color: $fg_color;
|
|
background-color: $fill_color;
|
|
}
|
|
|
|
.message {
|
|
min-height: 22px;
|
|
padding: 6px;
|
|
border-radius: 2px;
|
|
background-color: transparent;
|
|
&:hover,
|
|
&:focus { background-color: $semi_fill_color; }
|
|
&:active { background-color: $fill_color; }
|
|
}
|
|
|
|
.message-icon-bin {
|
|
padding: 3px 0 3px 6px;
|
|
&:rtl { padding: 3px 6px 3px 0; }
|
|
|
|
& > StIcon { icon-size: 32px; }
|
|
}
|
|
|
|
.message-secondary-bin {
|
|
color: $dim_fg_color;
|
|
&:ltr { padding-left: 6px; }
|
|
&:rtl { padding-right: 6px; }
|
|
|
|
& > StIcon { icon-size: 16px; }
|
|
}
|
|
|
|
.message-title {
|
|
@include fontscaling($ref_size * 1.1);
|
|
padding: 6px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.message-content {
|
|
@include fontscaling($ref_size * 0.9);
|
|
padding: 8px;
|
|
}
|
|
|
|
.message-content * > StIcon {
|
|
padding: 3px;
|
|
border-radius: 14px; // = 1.09em
|
|
icon-size: 14px;
|
|
color: $secondary_fg_color;
|
|
}
|
|
|
|
// FIXME: how do you do this in sass?
|
|
.message-content *:hover > StIcon,
|
|
.message-content *:focus > StIcon {
|
|
color: $fg_color;
|
|
background-color: $semi_fill_color;
|
|
}
|
|
|
|
.message-content *:active > StIcon {
|
|
color: $fg_color;
|
|
background-color: $fill_color;
|
|
}
|
|
|
|
.message-media-control {
|
|
padding: 0 8px;
|
|
margin: 0 6px;
|
|
border-radius: 100px;
|
|
color: $secondary_accent_color;
|
|
background: transparent;
|
|
background-size: 32px 32px;
|
|
|
|
&:hover {
|
|
color: $accent_color;
|
|
background-image: url("assets/media-control-hover.svg");
|
|
background-size: 32px 32px;
|
|
}
|
|
&:active {
|
|
color: $accent_color;
|
|
background-image: url("assets/media-control-active.svg");
|
|
background-size: 32px 32px;
|
|
}
|
|
}
|
|
|
|
.media-message-cover-icon {
|
|
icon-size: 32px;
|
|
|
|
&.fallback {
|
|
icon-size: 16px;
|
|
padding: 8px;
|
|
border: none;
|
|
border-radius: 2px;
|
|
color: $dim_fg_color;
|
|
background-color: $base_color;
|
|
box-shadow: $z-depth-1;
|
|
}
|
|
}
|
|
|
|
|
|
/******************************
|
|
* A little unstructured mess *
|
|
******************************/
|
|
|
|
.system-switch-user-submenu-icon.user-icon {
|
|
icon-size: 20px;
|
|
padding: 0 2px;
|
|
}
|
|
|
|
.system-switch-user-submenu-icon.default-icon {
|
|
icon-size: 16px;
|
|
padding: 0 4px;
|
|
}
|
|
|
|
|
|
/************
|
|
* App Menu *
|
|
************/
|
|
|
|
#appMenu {
|
|
spinner-image: url("process-working.svg");
|
|
spacing: 4px;
|
|
|
|
.label-shadow { color: transparent; }
|
|
}
|
|
|
|
.aggregate-menu {
|
|
min-width: 24em;
|
|
|
|
.popup-menu-icon { padding: 0 4px; }
|
|
}
|
|
|
|
.system-menu-action {
|
|
padding: 16px;
|
|
border-radius: 32px; // wish we could do 50%
|
|
border: none;
|
|
color: $secondary_accent_color;
|
|
&:hover,
|
|
&:focus {
|
|
padding: 16px;
|
|
border: none;
|
|
background-color: $accent_fill_color;
|
|
color: $accent_color;
|
|
}
|
|
&:active {
|
|
color: $accent_color;
|
|
background-color: $accent_active_fill_color;
|
|
}
|
|
|
|
& > StIcon { icon-size: 16px; }
|
|
}
|
|
|
|
|
|
/*************************
|
|
* OpenWeather Extension *
|
|
*************************/
|
|
|
|
// FIXME: Why devs use 'system-menu-action' class? wrong place...
|
|
.openweather-button,
|
|
.openweather-menu-button-container,
|
|
.openweather-button-box,
|
|
.openweather-provider {
|
|
color: $secondary_fg_color;
|
|
&:hover {
|
|
color: $fg_color;
|
|
background-color: $semi_fill_color;
|
|
|
|
> StIcon { color: $fg_color; }
|
|
}
|
|
&:active,
|
|
&:focus {
|
|
color: $fg_color;
|
|
background-color: $fill_color;
|
|
|
|
> StIcon { color: $fg_color; }
|
|
}
|
|
|
|
> StIcon,
|
|
> StLabel { color: $secondary_fg_color; }
|
|
}
|
|
|
|
.openweather-current {
|
|
&-icon,
|
|
&-summary,
|
|
&-summarybox { color: $fg_color; }
|
|
|
|
&-databox-values { color: $dim_fg_color; }
|
|
&-databox-captions { color: $dim_fg_color; }
|
|
}
|
|
|
|
.openweather-forecast {
|
|
&-icon,
|
|
&-summary { color: $secondary_fg_color; }
|
|
|
|
&-day,
|
|
&-temperature { color: $dim_fg_color; }
|
|
}
|
|
|
|
.openweather-sunrise-icon,
|
|
.openweather-sunset-icon,
|
|
.openweather-build-icon {
|
|
color: $secondary_fg_color;
|
|
}
|
|
|
|
|
|
/**********************
|
|
* Activities Ripples *
|
|
**********************/
|
|
|
|
.ripple-box {
|
|
width: 52px;
|
|
height: 52px;
|
|
background-image: url("assets/corner-ripple-ltr.svg");
|
|
background-size: contain;
|
|
|
|
&:rtl { background-image: url("assets/corner-ripple-rtl.svg"); }
|
|
}
|
|
|
|
// not really top bar only
|
|
.popup-menu-arrow {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.popup-menu-icon { icon-size: 14px; }
|
|
|
|
// close buttons
|
|
.window-close {
|
|
height: 32px;
|
|
width: 32px;
|
|
-st-background-image-shadow: 0 1px 3px rgba(0, 0, 0, 0.24),
|
|
0 1px 2px rgba(0, 0, 0, 0.48);
|
|
background-image: url("assets/window-close.svg");
|
|
background-size: 32px;
|
|
&:hover {
|
|
background-image: url("assets/window-close-hover.svg");
|
|
-st-background-image-shadow: 0 3px 6px rgba(0, 0, 0, 0.32),
|
|
0 3px 6px rgba(0, 0, 0, 0.46);
|
|
}
|
|
&:active { background-image: url("assets/window-close-active.svg"); }
|
|
}
|
|
|
|
.window-close {
|
|
-shell-close-overlap: 24px;
|
|
&:rtl {
|
|
-st-background-image-shadow: 0 1px 3px rgba(0, 0, 0, 0.24),
|
|
0 1px 2px rgba(0, 0, 0, 0.48);
|
|
&:hover {
|
|
-st-background-image-shadow: 0 3px 6px rgba(0, 0, 0, 0.32),
|
|
0 3px 6px rgba(0, 0, 0, 0.46);
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
/*******************
|
|
* Network Dialogs *
|
|
*******************/
|
|
|
|
.nm-dialog {
|
|
max-height: 500px;
|
|
min-height: 450px;
|
|
min-width: 470px;
|
|
}
|
|
|
|
.nm-dialog-content {
|
|
spacing: 20px;
|
|
padding: 24px;
|
|
}
|
|
|
|
.nm-dialog-header-hbox { spacing: 10px; }
|
|
|
|
.nm-dialog-airplane-box { spacing: 12px; }
|
|
|
|
.nm-dialog-airplane-headline {
|
|
font-weight: 700;
|
|
text-align: center;
|
|
}
|
|
|
|
.nm-dialog-airplane-text { color: $osd_fg_color; }
|
|
|
|
.nm-dialog-header-icon { icon-size: 32px; }
|
|
|
|
.nm-dialog-scroll-view { border: 2px solid $borders_color; }
|
|
|
|
.nm-dialog-header { font-weight: 700; }
|
|
|
|
.nm-dialog-item {
|
|
@include fontscaling($ref_size * 1.1);
|
|
spacing: 20px;
|
|
padding: 12px;
|
|
border-bottom: 1px solid $borders_color;
|
|
}
|
|
|
|
.nm-dialog-item:selected {
|
|
background-color: $selected_bg_color;
|
|
color: $selected_fg_color;
|
|
}
|
|
|
|
.nm-dialog-icons { spacing: 6px; }
|
|
|
|
.nm-dialog-icon { icon-size: 16px; }
|
|
|
|
.no-networks-label { color: $osd_dim_fg_color; }
|
|
|
|
.no-networks-box { spacing: 12px; }
|
|
|
|
|
|
/************
|
|
* Overview *
|
|
************/
|
|
|
|
#overview { spacing: 24px; }
|
|
|
|
.overview-controls { padding-bottom: 32px; }
|
|
|
|
.window-picker { //container around window thumbnails
|
|
-horizontal-spacing: 32px;
|
|
-vertical-spacing: 32px;
|
|
padding-left: 32px;
|
|
padding-right: 32px;
|
|
padding-bottom: 48px;
|
|
|
|
&.external-monitor { padding: 32px; }
|
|
}
|
|
|
|
.window-clone-border {
|
|
border: 4px solid $osd_semi_fill_color;
|
|
border-radius: 2px;
|
|
// For window decorations with round corners we can't match
|
|
// the exact shape when the window is scaled. So apply a shadow
|
|
// to fix that case
|
|
box-shadow: inset 0 0 0 1px $osd_semi_fill_color;
|
|
}
|
|
|
|
.window-caption {
|
|
spacing: 25px;
|
|
padding: 4px 8px;
|
|
border-radius: 2px;
|
|
color: $osd_fg_color;
|
|
background-color: transparentize($osd_bg_color, 0.1);
|
|
-shell-caption-spacing: 12px;
|
|
box-shadow: $z-depth-1;
|
|
&:hover {
|
|
color: $osd_fg_color;
|
|
background-color: $osd_semi_fill_color;
|
|
box-shadow: $z-depth-2;
|
|
}
|
|
}
|
|
|
|
// Search entry
|
|
.search-entry { // use raised entry-box styling
|
|
@include fontscaling($ref_size * 1.1);
|
|
width: 320px;
|
|
padding: 7px 8px 8px;
|
|
border-radius: 2px;
|
|
border-color: transparent;
|
|
border-top: 1px solid $borders_highlight;
|
|
color: $osd_dim_fg_color;
|
|
background-color: $osd_semi_fill_color;
|
|
font-weight: 500;
|
|
box-shadow: $z-depth-2;
|
|
|
|
selection-background-color: $selected_bg_color;
|
|
selected-color: $selected_fg_color;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
border-top: 1px solid $borders_highlight;
|
|
color: $fg_color;
|
|
background-color: transparentize($bg_color, 0.1);
|
|
box-shadow: $z-depth-3;
|
|
transition-duration: 0.2s;
|
|
}
|
|
|
|
.search-entry-icon {
|
|
padding: 0 2px;
|
|
icon-size: 16px;
|
|
color: $osd_dim_fg_color;
|
|
}
|
|
|
|
&:hover,
|
|
&:focus {
|
|
.search-entry-icon { color: $fg_color; }
|
|
}
|
|
}
|
|
|
|
// Search results
|
|
#searchResultsBin { max-width: 1000px; }
|
|
|
|
#searchResultsContent {
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
spacing: 16px;
|
|
}
|
|
|
|
.search-section { spacing: 16px; } // This should be equal to #searchResultsContent spacing
|
|
.search-section-content { spacing: 32px; } // This is the space between the provider icon and the results container
|
|
.search-statustext { // "no results"
|
|
@extend %status_text;
|
|
}
|
|
|
|
.list-search-results { spacing: 3px; }
|
|
|
|
.search-section-separator {
|
|
-gradient-height: 1px;
|
|
-gradient-start: rgba(255,255,255,0);
|
|
-gradient-end: rgba(255,255,255,0.4);
|
|
-margin-horizontal: 1.5em;
|
|
height: 1px;
|
|
}
|
|
|
|
.list-search-result-content {
|
|
spacing: 12px;
|
|
padding: 12px;
|
|
}
|
|
|
|
.list-search-result-title {
|
|
@include fontscaling($ref_size * 1.5);
|
|
color: $osd_fg_color;
|
|
}
|
|
|
|
.list-search-result-description { color: $osd_fg_color; }
|
|
|
|
.search-provider-icon { padding: 15px; }
|
|
|
|
.search-provider-icon-more {
|
|
width: 16px;
|
|
height: 16px;
|
|
background-image: url("assets/more-results.svg");
|
|
-st-background-image-shadow: 0 1px 3px rgba(0, 0, 0, 0.24),
|
|
0 1px 2px rgba(0, 0, 0, 0.48);
|
|
|
|
}
|
|
|
|
|
|
/*************
|
|
* Dashboard *
|
|
*************/
|
|
|
|
#dash {
|
|
@include fontscaling($ref_size * 0.9);
|
|
padding: 4px 0;
|
|
border: none;
|
|
border-radius: 0;
|
|
color: $osd_fg_color;
|
|
background-color: rgba(19, 25, 28, 0.01);
|
|
box-shadow: inset -1px 0 0 $osd_semi_fill_color;
|
|
|
|
&:rtl { box-shadow: inset 1px 0 0 $osd_semi_fill_color; }
|
|
|
|
.placeholder {
|
|
background-image: url("assets/dash-placeholder.svg");
|
|
background-size: contain;
|
|
height: 24px;
|
|
}
|
|
|
|
.empty-dash-drop-target {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
}
|
|
|
|
.dash-item-container > StWidget { padding: 4px; }
|
|
|
|
.dash-label { // osd tooltip
|
|
padding: 4px 12px;
|
|
border-radius: 2px;
|
|
color: $osd_fg_color;
|
|
background-color: transparentize($osd_bg_color, 0.1);
|
|
box-shadow: $z-depth-2;
|
|
text-align: center;
|
|
-x-offset: 8px;
|
|
}
|
|
|
|
// Add Dash to Dock Support
|
|
#dashtodockContainer {
|
|
#dash,
|
|
&:overview #dash,
|
|
&.extended #dash,
|
|
&.extended:overview #dash {
|
|
padding: 0;
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
}
|
|
|
|
// draw edge if dock were not extended
|
|
@each $_dock, $_line, $_edge in (top, 0 -1px, 0 2px),
|
|
(bottom, 0 1px, 0 -2px),
|
|
(left, -1px 0, 2px 0),
|
|
(right, 1px 0, -2px 0) {
|
|
&.#{$_dock}:overview #dash {
|
|
background-color: rgba(19, 25, 28, 0.01);
|
|
box-shadow: inset #{$_line} 0 $osd_semi_fill_color;
|
|
}
|
|
&.#{$_dock} #dash {
|
|
background-color: rgba(19, 25, 28, 0.01);
|
|
box-shadow: inset #{$_edge} 0 $panel_bg_color;
|
|
}
|
|
}
|
|
|
|
.app-well-app-running-dot { background: transparent; }
|
|
.app-well-app .overview-icon { background-size: contain; }
|
|
}
|
|
|
|
// running-dot styling
|
|
@each $_dock, $_dot in (top, -vert),
|
|
(bottom, -vert),
|
|
(left, ),
|
|
(right, ) {
|
|
#dashtodockContainer.#{$_dock},
|
|
#dashtodockContainer.extended.#{$_dock} {
|
|
.app-well-app.running1 {
|
|
.overview-icon { background-image: url("assets/dot/running1#{$_dot}.svg"); }
|
|
&.focused {
|
|
.overview-icon { background-image: url("assets/dot/running1#{$_dot}-focused.svg"); }
|
|
}
|
|
}
|
|
.app-well-app.running2 {
|
|
.overview-icon { background-image: url("assets/dot/running2#{$_dot}.svg"); }
|
|
&.focused {
|
|
.overview-icon { background-image: url("assets/dot/running2#{$_dot}-focused.svg"); }
|
|
}
|
|
}
|
|
.app-well-app.running3 {
|
|
.overview-icon { background-image: url("assets/dot/running3#{$_dot}.svg"); }
|
|
&.focused {
|
|
.overview-icon { background-image: url("assets/dot/running3#{$_dot}-focused.svg"); }
|
|
}
|
|
}
|
|
.app-well-app.running4 {
|
|
.overview-icon { background-image: url("assets/dot/running4#{$_dot}.svg"); }
|
|
&.focused {
|
|
.overview-icon { background-image: url("assets/dot/running4#{$_dot}-focused.svg"); }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Add Simple Dock Support
|
|
#dash:desktop {
|
|
background-color: $osd_bg_color;
|
|
}
|
|
|
|
// App Vault/Grid
|
|
.icon-grid {
|
|
spacing: 30px;
|
|
-shell-grid-horizontal-item-size: 136px;
|
|
-shell-grid-vertical-item-size: 136px;
|
|
|
|
.overview-icon { icon-size: 96px; }
|
|
}
|
|
|
|
//.app-display { spacing: 20px; }
|
|
|
|
.app-view-controls { //favorties | all toggle container
|
|
width: 344px; // search entry width + search icon width(24) ?
|
|
padding-bottom: 24px;
|
|
background-color: rgba(0, 0, 0, 0.01) !important;
|
|
box-shadow: inset 0 1px 0 $osd_semi_fill_color;
|
|
}
|
|
|
|
.app-view-control { // favorties | all toggle button
|
|
padding: 7px 32px 8px;
|
|
border-radius: 0;
|
|
font-weight: 700;
|
|
color: $osd_secondary_fg_color;
|
|
background-color: rgba(0, 0, 0, 0.01) !important;
|
|
&:hover {
|
|
color: $osd_fg_color;
|
|
background-color: $osd_slight_fill_color !important;
|
|
box-shadow: inset 0 2px 0 $osd_semi_fill_color;
|
|
}
|
|
&:active {
|
|
color: $osd_fg_color;
|
|
background-color: $osd_fill_color !important;
|
|
box-shadow: inset 0 2px 0 $osd_indicator_color;
|
|
}
|
|
&:checked {
|
|
color: $osd_fg_color;
|
|
background-color: rgba(0, 0, 0, 0.01) !important;
|
|
box-shadow: inset 0 2px 0 $osd_indicator_color;
|
|
}
|
|
&:hover:checked {
|
|
color: $osd_fg_color;
|
|
background-color: $osd_semi_fill_color !important;
|
|
box-shadow: inset 0 2px 0 $osd_indicator_color;
|
|
}
|
|
}
|
|
|
|
// Icon tile
|
|
.search-provider-icon,
|
|
.list-search-result {
|
|
@extend %icon_tile;
|
|
&:focus,
|
|
&:selected,
|
|
&:hover {
|
|
background-color: $osd_semi_fill_color;
|
|
transition-duration: 0s;
|
|
}
|
|
&:active,
|
|
&:checked {
|
|
background-color: $osd_fill_color;
|
|
transition-duration: 0.2s;
|
|
}
|
|
}
|
|
|
|
.app-well-app,
|
|
.app-well-app.app-folder,
|
|
.show-apps,
|
|
.grid-search-result {
|
|
& .overview-icon {
|
|
@extend %icon_tile;
|
|
color: $osd_secondary_fg_color;
|
|
}
|
|
|
|
&:hover .overview-icon,
|
|
&:focus .overview-icon,
|
|
&:selected .overview-icon {
|
|
border-image: none;
|
|
background-color: $osd_semi_fill_color;
|
|
background-image: none;
|
|
color: $osd_fg_color;
|
|
transition-duration: 0s;
|
|
}
|
|
&:active .overview-icon,
|
|
&:checked .overview-icon {
|
|
background-color: $osd_indicator_color;
|
|
color: $osd_fg_color;
|
|
box-shadow: 0 0 transparent;
|
|
transition-duration: 0.2s;
|
|
}
|
|
}
|
|
|
|
// set circle dock buttons on dash
|
|
#dash {
|
|
.app-well-app,
|
|
.show-apps {
|
|
.overview-icon { border-radius: 100px; }
|
|
&:hover .overview-icon { // more lighter fill than osd_semi_fill!
|
|
background-color: $osd_slight_fill_color;
|
|
}
|
|
&:active .overview-icon,
|
|
&:focus .overview-icon,
|
|
&:checked .overview-icon { background-color: $osd_indicator_color; }
|
|
}
|
|
}
|
|
|
|
.app-well-app-running-dot { // running apps indicator
|
|
width: 32px;
|
|
height: 2px;
|
|
background-color: $osd_indicator_color;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
%icon_tile {
|
|
padding: 9px;
|
|
border: none;
|
|
border-radius: 2px;
|
|
color: $osd_fg_color;
|
|
transition-duration: 0.2s;
|
|
text-align: center;
|
|
}
|
|
|
|
.app-well-app.app-folder > .overview-icon {
|
|
background: transparent;
|
|
}
|
|
|
|
.show-apps .show-apps-icon {
|
|
// margin: 6px;
|
|
border: none;
|
|
background-image: url("assets/show-apps.svg");
|
|
background-size: contain;
|
|
color: transparent;
|
|
-st-background-image-shadow: 0 1px 1px rgba(0, 0, 0, 0.06),
|
|
0 1px 2px rgba(0, 0, 0, 0.14);
|
|
}
|
|
|
|
.show-apps:hover .show-apps-icon,
|
|
.show-apps:active .show-apps-icon,
|
|
.show-apps:checked .show-apps-icon,
|
|
.show-apps:focus .show-apps-icon {
|
|
color: transparent;
|
|
background-image: url("assets/show-apps-active.svg");
|
|
-st-background-image-shadow: 0 1px 1px rgba(0, 0, 0, 0.12),
|
|
0 1px 2px rgba(0, 0, 0, 0.22);
|
|
transition-duration: 0.2s;
|
|
}
|
|
|
|
// Collections
|
|
.app-folder-popup { // expanded collection
|
|
-arrow-border-radius: 0;
|
|
-arrow-background-color: transparent;
|
|
-arrow-base: 0;
|
|
-arrow-rise: 12px;
|
|
}
|
|
|
|
.app-folder-popup-bin {
|
|
padding: 5px;
|
|
border-radius: 2px;
|
|
border-top: 1px solid $borders_highlight;
|
|
background-color: $inverted_bg_color;
|
|
box-shadow: $z-depth-1;
|
|
}
|
|
|
|
.app-folder-icon {
|
|
padding: 5px;
|
|
spacing-rows: 5px;
|
|
spacing-columns: 5px;
|
|
}
|
|
|
|
.page-indicator {
|
|
padding: 14px 20px;
|
|
|
|
.page-indicator-icon {
|
|
width: 12px;
|
|
height: 12px;
|
|
margin: 2px;
|
|
padding: 0;
|
|
border-radius: 12px;
|
|
background-image: none;
|
|
background-color: $osd_semi_fill_color;
|
|
}
|
|
&:hover .page-indicator-icon {
|
|
margin: 0;
|
|
padding: 2px;
|
|
background-image: none;
|
|
background-color: $osd_fill_color;
|
|
}
|
|
&:active .page-indicator-icon {
|
|
margin: 2px;
|
|
padding: 0;
|
|
background-image: none;
|
|
background-color: transparentize($osd_indicator_color, 0.25);
|
|
}
|
|
&:checked .page-indicator-icon {
|
|
margin: 0;
|
|
padding: 2px;
|
|
background-image: none;
|
|
background-color: $osd_indicator_color;
|
|
}
|
|
}
|
|
|
|
.no-frequent-applications-label { @extend %status_text; }
|
|
|
|
.app-well-app > .overview-icon.overview-icon-with-label,
|
|
.grid-search-result .overview-icon.overview-icon-with-label {
|
|
padding: 10px 8px 5px 8px;
|
|
spacing: 4px;
|
|
}
|
|
|
|
|
|
/*******************
|
|
* Workspace pager *
|
|
*******************/
|
|
|
|
.workspace-thumbnails,
|
|
.workspace-thumbnails-left { // container ala dash
|
|
border: none;
|
|
visible-width: 32px; // amount visible before hover
|
|
spacing: 12px;
|
|
padding: 12px;
|
|
border-radius: 0;
|
|
//border-width: 0; // FIXME: can't have non unoform borders :(
|
|
background-color: rgba(19, 25, 28, 0.01);
|
|
color: $osd_fg_color;
|
|
}
|
|
|
|
.workspace-thumbnail-indicator {
|
|
padding: 6px 6px 6px 10px;
|
|
border: 0 solid $osd_indicator_color;
|
|
border-left-width: 2px;
|
|
border-radius: 0;
|
|
|
|
&:rtl {
|
|
padding: 6px 10px 6px 6px;
|
|
border-right-width: 2px;
|
|
}
|
|
}
|
|
|
|
.workspace-thumbnails,
|
|
.workspace-thumbnails-left:rtl {
|
|
box-shadow: inset 1px 0 0 $osd_semi_fill_color;
|
|
}
|
|
|
|
.workspace-thumbnails:rtl,
|
|
.workspace-thumbnails-left {
|
|
box-shadow: inset -1px 0 0 $osd_semi_fill_color;
|
|
|
|
.workspace-thumbnail-indicator {
|
|
padding: 6px 10px 6px 6px;
|
|
border-right-width: 2px;
|
|
}
|
|
}
|
|
|
|
// Some hacks I don't even
|
|
.search-display > StBoxLayout,
|
|
.all-apps,
|
|
.frequent-apps > StBoxLayout {
|
|
// horizontal padding to make sure scrollbars or dash don't overlap content
|
|
padding: 0 88px 10px 88px;
|
|
}
|
|
|
|
%status_text {
|
|
@include fontscaling($ref_size * 2.0);
|
|
font-weight: 700;
|
|
color: $osd_dim_fg_color;
|
|
}
|
|
|
|
// Add Workspace to Dock Support
|
|
#workspacestodockContainer,
|
|
#workspacestodockContainer:overview,
|
|
#workspacestodockContainer.fullheight:overview {
|
|
background-color: rgba(19, 25, 28, 0.01);
|
|
|
|
.workspace-thumbnails { background-color: transparent; }
|
|
}
|
|
|
|
|
|
/********************************
|
|
* Notifications & Message Tray *
|
|
********************************/
|
|
|
|
.url-highlighter { link-color: $link_color; }
|
|
|
|
// Banners
|
|
.notification-banner {
|
|
@include fontscaling($ref_size * 1.1);
|
|
width: 34em;
|
|
min-height: 4.5em;
|
|
margin: 5px;
|
|
border: none;
|
|
border-radius: 2px;
|
|
background-color: transparentize($osd_bg_color, 0.1);
|
|
color: $osd_fg_color;
|
|
box-shadow: $z-depth-2;
|
|
&:hover,
|
|
&:focus { background-color: transparentize($osd_bg_color, 0.1); }
|
|
|
|
.notification-icon { padding: 8px; }
|
|
|
|
.notification-content {
|
|
padding: 8px;
|
|
spacing: 8px;
|
|
}
|
|
|
|
.secondary-icon { icon-size: 14px; }
|
|
|
|
.notification-actions {
|
|
padding-top: 0;
|
|
border: transparent;
|
|
spacing: 1px;
|
|
color: $secondary_accent_color;
|
|
background-color: transparent;
|
|
}
|
|
|
|
.notification-button {
|
|
padding: 9px 4px 10px;
|
|
background-color: transparent;
|
|
color: $secondary_accent_color;
|
|
font-weight: 700;
|
|
|
|
&:first-child { border-radius: 0 0 0 2px; }
|
|
&:last-child { border-radius: 0 0 2px 0; }
|
|
&:hover {
|
|
color: $accent_color;
|
|
background-color: $accent_fill_color;
|
|
}
|
|
&:focus { color: $accent_color; }
|
|
&:active {
|
|
color: $accent_color;
|
|
background-color: $accent_active_fill_color;
|
|
}
|
|
}
|
|
}
|
|
|
|
.summary-source-counter {
|
|
@include fontscaling($ref_size * 1.0);
|
|
width: 1.6em;
|
|
height: 1.6em;
|
|
border-radius: 0.9em; // should be 0.8 but whatever; wish I could do 50%;
|
|
border: 2px solid $osd_fg_color;
|
|
font-weight: 700;
|
|
-shell-counter-overlap-x: 3px;
|
|
-shell-counter-overlap-y: 3px;
|
|
background-color: $selected_bg_color;
|
|
color: $selected_fg_color;
|
|
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.secondary-icon { icon-size: 14px; }
|
|
|
|
// Chat bubbles
|
|
.chat-body { spacing: 5px; }
|
|
.chat-response { margin: 5px; }
|
|
.chat-log-message { color: $osd_secondary_fg_color; }
|
|
.chat-new-group { padding-top: 1em; }
|
|
.chat-received {
|
|
padding-left: 4px;
|
|
&:rtl {
|
|
padding-left: 0;
|
|
padding-right: 4px;
|
|
}
|
|
}
|
|
|
|
.chat-sent {
|
|
padding-left: 18pt;
|
|
color: $osd_secondary_fg_color;
|
|
&:rtl {
|
|
padding-left: 0;
|
|
padding-right: 18pt;
|
|
}
|
|
}
|
|
|
|
.chat-meta-message {
|
|
@include fontscaling($ref_size * 0.9);
|
|
padding-left: 4px;
|
|
font-weight: 700;
|
|
color: $insensitive_osd_fg_color;
|
|
&:rtl {
|
|
padding-left: 0;
|
|
padding-right: 4px;
|
|
}
|
|
}
|
|
|
|
// Hotplug
|
|
.hotplug-transient-box {
|
|
spacing: 6px;
|
|
padding: 2px 72px 2px 12px;
|
|
}
|
|
|
|
.hotplug-notification-item {
|
|
padding: 2px 10px;
|
|
&:focus { padding: 1px 71px 1px 11px; }
|
|
}
|
|
|
|
.hotplug-notification-item-icon {
|
|
padding: 2px 5px;
|
|
icon-size: 24px;
|
|
}
|
|
|
|
.hotplug-resident-box { spacing: 8px; }
|
|
|
|
.hotplug-resident-mount {
|
|
spacing: 8px;
|
|
border-radius: 2px;
|
|
&:hover { background-color: $osd_semi_fill_color; }
|
|
&:active { background-color: $osd_fill_color; }
|
|
}
|
|
|
|
.hotplug-resident-mount-label {
|
|
padding-left: 6px;
|
|
color: inherit;
|
|
}
|
|
|
|
.hotplug-resident-mount-icon {
|
|
padding-left: 6px;
|
|
icon-size: 24px;
|
|
}
|
|
|
|
.hotplug-resident-eject-icon { icon-size: 16px; }
|
|
|
|
.hotplug-resident-eject-button {
|
|
padding: 7px;
|
|
border-radius: 2px;
|
|
color: $osd_fg_color;
|
|
}
|
|
|
|
// Eeeky things
|
|
$legacy_icon_size: 24px;
|
|
|
|
.legacy-tray {
|
|
border: none;
|
|
border-bottom-width: 0;
|
|
background-color: scale-color($osd_bg_color, $alpha: -10%);
|
|
color: $osd_fg_color;
|
|
box-shadow: none;
|
|
&:ltr {
|
|
border-radius: 0 2px 0 0;
|
|
border-left-width: 0;
|
|
}
|
|
&:rtl {
|
|
border-radius: 2px 0 0 0;
|
|
border-right-width: 0;
|
|
}
|
|
}
|
|
|
|
.legacy-tray-handle,
|
|
.legacy-tray-icon {
|
|
padding: 6px;
|
|
&:hover,
|
|
&:focus { background-color: $osd_slight_fill_color; }
|
|
&:active { background-color: $osd_semi_fill_color; }
|
|
|
|
& StIcon { icon-size: $legacy_icon_size; }
|
|
}
|
|
|
|
.legacy-tray-icon-box {
|
|
spacing: 12px;
|
|
&:ltr { padding-left: 12px; }
|
|
&:rtl { padding-right: 12px; }
|
|
|
|
& StButton {
|
|
width: $legacy_icon_size;
|
|
height: $legacy_icon_size
|
|
}
|
|
}
|
|
|
|
|
|
/*************
|
|
* Magnifier *
|
|
*************/
|
|
|
|
.magnifier-zoom-region {
|
|
border: 2px solid $selected_bg_color;
|
|
&.full-screen { border-width: 0; }
|
|
}
|
|
|
|
|
|
/************
|
|
* Keyboard *
|
|
************/
|
|
|
|
// On-screen Keyboard
|
|
#keyboard { background-color: transparentize($osd_bg_color, 0.3); }
|
|
|
|
.keyboard-layout {
|
|
spacing: 10px;
|
|
padding: 10px;
|
|
}
|
|
|
|
.keyboard-row { spacing: 15px; }
|
|
|
|
.keyboard-key {
|
|
@include fontscaling($ref_size * 2.0);
|
|
@include button(normal);
|
|
border-radius: 2px;
|
|
border: 1px 0 0;
|
|
min-height: 2em;
|
|
min-width: 2em;
|
|
font-weight: 700;
|
|
color: $inverted_secondary_fg_color;
|
|
background-color: $inverted_bg_color;
|
|
&:focus {
|
|
@include button(focus);
|
|
color: $selected_fg_color;
|
|
}
|
|
&:hover,
|
|
&:checked {
|
|
@include button(hover);
|
|
color: $selected_fg_color;
|
|
background-color: $inverted_bg_color;
|
|
}
|
|
&:active {
|
|
@include button(active);
|
|
color: $selected_fg_color;
|
|
background-color: $inverted_base_color;
|
|
}
|
|
&:grayed { // FIXME
|
|
border-color: $osd_borders_color;
|
|
background-color: $osd_bg_color;
|
|
color: $osd_dim_fg_color;
|
|
}
|
|
}
|
|
|
|
.keyboard-subkeys { //long press on a key popup
|
|
padding: 5px;
|
|
border-radius: 2px;
|
|
-arrow-border-radius: 0;
|
|
-arrow-background-color: transparent;
|
|
-arrow-border-width: 0;
|
|
-arrow-border-color: transparent;
|
|
-arrow-base: 0;
|
|
-arrow-rise: 0;
|
|
-boxpointer-gap: 5px;
|
|
background-color: transparentize($osd_bg_color, 0.1);
|
|
color: $inverted_secondary_fg_color;
|
|
box-shadow: $z-depth-2;
|
|
}
|
|
|
|
|
|
/************************
|
|
* IBus Candidate Popup *
|
|
************************/
|
|
|
|
.candidate-popup-content {
|
|
padding: 0.5em;
|
|
spacing: 0.3em;
|
|
}
|
|
|
|
.candidate-index {
|
|
padding: 0 0.5em 0 0;
|
|
color: $osd_dim_fg_color;
|
|
}
|
|
|
|
.candidate-box {
|
|
transition-duration: 0s;
|
|
padding: 0.3em 0.5em 0.3em 0.5em;
|
|
border-radius: 2px;
|
|
&:hover {
|
|
background-color: $osd_semi_fill_color;
|
|
color: $osd_fg_color;
|
|
}
|
|
&:active,
|
|
&:selected {
|
|
background-color: $osd_fill_color;
|
|
color: $selected_fg_color;
|
|
}
|
|
}
|
|
|
|
.candidate-page-button-box {
|
|
height: 2em;
|
|
.vertical & { padding-top: 0.5em; }
|
|
.horizontal & { padding-left: 0.5em; }
|
|
}
|
|
|
|
.candidate-page-button {
|
|
padding: 4px;
|
|
color: $secondary_accent_color;
|
|
&:hover {
|
|
background-color: $accent_fill_color;
|
|
color: $accent_color;
|
|
}
|
|
&:active {
|
|
background-color: $accent_active_fill_color;
|
|
color: $accent_color;
|
|
}
|
|
}
|
|
|
|
.candidate-page-button-previous {
|
|
border-radius: 2px;
|
|
border-right-width: 0;
|
|
}
|
|
|
|
.candidate-page-button-next { border-radius: 2px; }
|
|
.candidate-page-button-icon { icon-size: 14px; }
|
|
|
|
|
|
/********************************
|
|
* Auth Dialogs & Screen Shield *
|
|
********************************/
|
|
|
|
.framed-user-icon {
|
|
background-size: contain;
|
|
border: none;
|
|
color: $osd_fg_color;
|
|
border-radius: 2px;
|
|
&:hover {
|
|
border-color: $osd_fg_color;
|
|
color: $osd_fg_color;
|
|
}
|
|
}
|
|
|
|
|
|
/****************
|
|
* Login Dialog *
|
|
****************/
|
|
|
|
.login-dialog-banner-view {
|
|
max-width: 23em;
|
|
padding-top: 24px;
|
|
}
|
|
|
|
.login-dialog {
|
|
// reset
|
|
border: none;
|
|
background-color: transparent;
|
|
|
|
StEntry {
|
|
color: $osd_fg_color;
|
|
selection-background-color: $selected_bg_color;
|
|
selected-color: $selected_fg_color;
|
|
@include entry(normal, $fc:$osd_semi_fill_color);
|
|
&:hover { @include entry(hover, $fc:$osd_fill_color); }
|
|
&:focus { @include entry(focus, $fc:$osd_indicator_color); }
|
|
&:insensitive {
|
|
@include entry(insensitive, $fc:$insensitive_osd_fill_color);
|
|
color: $insensitive_osd_fg_color;
|
|
}
|
|
}
|
|
|
|
.modal-dialog-button-box { spacing: 1em; }
|
|
.modal-dialog-button {
|
|
@include fontscaling($ref_size * 1.1);
|
|
padding: 7px 16px 8px;
|
|
font-weight: 700;
|
|
@include button(flat-normal, $tc:$osd_secondary_fg_color);
|
|
&:hover,
|
|
&:focus { @include button(flat-hover, $c:$osd_semi_fill_color,
|
|
$tc:$osd_fg_color);
|
|
}
|
|
&:active { @include button(flat-active, $c:$osd_fill_color,
|
|
$tc:$osd_fg_color);
|
|
}
|
|
&:insensitive { @include button(flat-insensitive,
|
|
$tc:$insensitive_secondary_fg_color);
|
|
}
|
|
&:default { // raised button
|
|
@include button(normal, $c:$suggested_color, $tc:$fg_color);
|
|
&:hover,
|
|
&:focus { @include button(hover, $c:$suggested_color,
|
|
$tc:$selected_fg_color);
|
|
}
|
|
&:active { @include button(active, $c:$selected_bg_color,
|
|
$tc:$selected_fg_color);
|
|
}
|
|
&:insensitive { @include button(flat-insensitive,
|
|
$tc:$insensitive_secondary_fg_color);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.login-dialog-logo-bin { padding: 24px 0; }
|
|
.login-dialog-banner { color: $osd_secondary_fg_color; }
|
|
.login-dialog-button-box { spacing: 1em; }
|
|
.login-dialog-message-warning { color: $warning_color; }
|
|
.login-dialog-message-hint {
|
|
padding-top: 0;
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
.login-dialog-user-selection-box {
|
|
padding: 100px 0;
|
|
|
|
.login-dialog-not-listed-label {
|
|
padding-left: 2px;
|
|
.login-dialog-not-listed-button:focus &,
|
|
.login-dialog-not-listed-button:hover & { color: $osd_fg_color; }
|
|
}
|
|
}
|
|
|
|
.login-dialog-not-listed-label {
|
|
@include fontscaling($ref_size * 0.9);
|
|
padding-top: 1em;
|
|
font-weight: 700;
|
|
color: $osd_secondary_fg_color;
|
|
&:hover { color: $osd_fg_color; }
|
|
&:focus { background-color: $osd_semi_fill_color; }
|
|
}
|
|
|
|
.login-dialog-user-list-view { -st-vfade-offset: 1em; }
|
|
|
|
.login-dialog-user-list {
|
|
spacing: 12px;
|
|
padding: 0.2em;
|
|
width: 23em;
|
|
&:expanded .login-dialog-user-list-item {
|
|
&:focus {
|
|
background-color: $osd_semi_fill_color;
|
|
color: $osd_fg_color;
|
|
}
|
|
&:hover {
|
|
background-color: $osd_semi_fill_color;
|
|
color: $osd_fg_color;
|
|
}
|
|
&:active {
|
|
background-color: $osd_fill_color;
|
|
color: $osd_fg_color;
|
|
}
|
|
&:logged-in { border-right: 2px solid $osd_indicator_color; }
|
|
}
|
|
}
|
|
|
|
.login-dialog-user-list-item {
|
|
border-radius: 2px;
|
|
padding: 0.2em;
|
|
color: $osd_secondary_fg_color;
|
|
&:ltr { padding-right: 1em; }
|
|
&:rtl { padding-left: 1em; }
|
|
&:hover {
|
|
background-color: $osd_semi_fill_color;
|
|
color: $osd_fg_color;
|
|
}
|
|
&:active {
|
|
background-color: $osd_fill_color;
|
|
color: $osd_fg_color;
|
|
}
|
|
|
|
.login-dialog-timed-login-indicator {
|
|
height: 2px;
|
|
margin: 2px 0 0 0;
|
|
background-color: $osd_fg_color;
|
|
}
|
|
|
|
&:focus .login-dialog-timed-login-indicator {
|
|
background-color: $osd_fg_color;
|
|
}
|
|
}
|
|
|
|
.login-dialog-username,
|
|
.user-widget-label {
|
|
@include fontscaling($ref_size * 1.2);
|
|
padding-left: 15px;
|
|
font-weight: 700;
|
|
text-align: left;
|
|
color: $osd_fg_color;
|
|
}
|
|
|
|
.user-widget-label {
|
|
&:ltr { padding-left: 1.5em; }
|
|
&:rtl { padding-right: 1.5em; }
|
|
}
|
|
|
|
.login-dialog-prompt-layout {
|
|
width: 23em;
|
|
spacing: 1em;
|
|
padding-top: 24px;
|
|
padding-bottom: 12px;
|
|
}
|
|
|
|
.login-dialog-prompt-label {
|
|
@include fontscaling($ref_size * 1.0);
|
|
padding-top: 1em;
|
|
color: $osd_dim_fg_color;
|
|
}
|
|
|
|
.login-dialog-session-list-button StIcon { icon-size: 16px; }
|
|
|
|
.login-dialog-session-list-button {
|
|
color: $osd_secondary_fg_color;
|
|
&:hover,
|
|
&:focus { color: $selected_fg_color; }
|
|
&:active { color: $selected_fg_color; }
|
|
}
|
|
|
|
|
|
/*****************
|
|
* Screen Shield *
|
|
*****************/
|
|
|
|
.screen-shield-arrows { padding-bottom: 3em; }
|
|
|
|
.screen-shield-arrows Gjs_Arrow {
|
|
width: 80px;
|
|
height: 48px;
|
|
-arrow-thickness: 12px;
|
|
-arrow-shadow: none;
|
|
color: $selected_fg_color;
|
|
}
|
|
|
|
.screen-shield-clock {
|
|
padding-bottom: 1.5em;
|
|
text-align: center;
|
|
color: $selected_fg_color;
|
|
}
|
|
|
|
.screen-shield-clock-time {
|
|
@include fontscaling($ref_size * 8.4);
|
|
font-weight: 300;
|
|
text-shadow: none;
|
|
}
|
|
|
|
.screen-shield-clock-date {
|
|
@include fontscaling($ref_size * 1.3);
|
|
font-weight: 700;
|
|
text-shadow: none;
|
|
}
|
|
|
|
.screen-shield-notifications-container {
|
|
spacing: 6px;
|
|
width: 30em;
|
|
background-color: transparent;
|
|
max-height: 500px;
|
|
.summary-notification-stack-scrollview {
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.notification,
|
|
.screen-shield-notification-source {
|
|
padding: 12px 6px;
|
|
border: none;
|
|
background-color: transparentize($osd_bg_color, 0.1);
|
|
color: $osd_fg_color;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
// compensate for space allocated to the scrollbar
|
|
.notification { margin-right: 15px; }
|
|
}
|
|
|
|
|
|
.screen-shield-notification-label {
|
|
padding: 0 0 0 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.screen-shield-notification-count-text { padding: 0 0 0 12px; }
|
|
|
|
.screen-shield-background { // just the shadow, really
|
|
background: black;
|
|
box-shadow: $z-depth-5;
|
|
}
|
|
|
|
#lockDialogGroup {
|
|
background: #2A373E url("noise-texture.png");
|
|
background-repeat: repeat;
|
|
}
|
|
|
|
#screenShieldNotifications {
|
|
StButton#vhandle, StButton#hhandle {
|
|
background-color: transparentize($osd_fg_color,0.4);
|
|
&:hover,
|
|
&:focus { background-color: transparentize($osd_fg_color,0.2); }
|
|
&:active { background-color: transparentize($osd_fg_color,0.0); }
|
|
}
|
|
}
|
|
|
|
|
|
/*****************
|
|
* Looking Glass *
|
|
*****************/
|
|
|
|
#LookingGlassDialog {
|
|
spacing: 4px;
|
|
padding: 0;
|
|
border: none;
|
|
border-radius: 2px;
|
|
background-color: scale-color($osd_base_color, $alpha: -10%);
|
|
color: $osd_fg_color;
|
|
box-shadow: $z-depth-4;
|
|
|
|
& > #Toolbar {
|
|
padding: 0 8px;
|
|
border: none;
|
|
border-radius: 0;
|
|
background-color: $osd_bg_color;
|
|
box-shadow: inset 0 -1px 0 $borders_color,
|
|
0 1px 1.5px rgba(0, 0, 0, 0.12), // z-depth-1
|
|
0 1px 1px rgba(0, 0, 0, 0.24);
|
|
}
|
|
|
|
.labels { spacing: 0; }
|
|
|
|
.notebook-tab {
|
|
-natural-hpadding: 12px;
|
|
-minimum-hpadding: 6px;
|
|
padding-left: 0.3em;
|
|
padding-right: 0.3em;
|
|
padding: 7px 32px 8px;
|
|
font-weight: 700;
|
|
color: $osd_secondary_fg_color;
|
|
transition-duration: 0.2s;
|
|
&:hover {
|
|
border-bottom-width: 0;
|
|
border-color: transparent;
|
|
background-color: rgba(0, 0, 0, 0.01);
|
|
box-shadow: inset 0 -2px 0 $osd_fill_color;
|
|
color: $osd_fg_color;
|
|
text-shadow: none;
|
|
}
|
|
&:selected {
|
|
border-bottom-width: 0;
|
|
border-color: transparent;
|
|
background-color: rgba(0, 0, 0, 0.01);
|
|
box-shadow: inset 0 -2px 0 $osd_indicator_color;
|
|
color: $selected_fg_color;
|
|
text-shadow: none;
|
|
}
|
|
}
|
|
|
|
StBoxLayout#EvalBox {
|
|
padding: 4px;
|
|
spacing: 4px;
|
|
}
|
|
|
|
StBoxLayout#ResultsArea { spacing: 4px; }
|
|
}
|
|
|
|
.lg-dialog {
|
|
StEntry {
|
|
selection-background-color: $selected_bg_color;
|
|
selected-color: $selected_fg_color;
|
|
box-shadow: inset 0 -1px $osd_semi_fill_color;
|
|
&:hover {
|
|
color: $selected_fg_color;
|
|
box-shadow: inset 0 -2px $osd_semi_fill_color;
|
|
}
|
|
&:focus {
|
|
color: $selected_fg_color;
|
|
box-shadow: inset 0 -2px $selected_bg_color;
|
|
}
|
|
}
|
|
|
|
.shell-link {
|
|
color: $link_color;
|
|
&:hover { color: $link_color; }
|
|
}
|
|
}
|
|
|
|
.lg-completions-text {
|
|
@include fontscaling($ref_size * 0.9);
|
|
color: $osd_secondary_fg_color;
|
|
font-style: italic;
|
|
}
|
|
|
|
.lg-obj-inspector-title { spacing: 4px; }
|
|
|
|
.lg-obj-inspector-button {
|
|
@include button(normal);
|
|
padding: 4px;
|
|
border-radius: 2px;
|
|
background-color: $suggested_color;
|
|
color: $osd_secondary_fg_color;
|
|
font-weight: 700;
|
|
&:hover,
|
|
&:focus {
|
|
@include button(hover);
|
|
background-color: $suggested_color;
|
|
color: $osd_fg_color;
|
|
}
|
|
&:active {
|
|
@include button(active);
|
|
background-color: $selected_bg_color;
|
|
color: $selected_fg_color;
|
|
}
|
|
&:insensitive {
|
|
@include button(flat-insensitive);
|
|
color: $insensitive_osd_fg_color;
|
|
}
|
|
}
|
|
|
|
#lookingGlassExtensions { padding: 4px; }
|
|
|
|
.lg-extensions-list {
|
|
padding: 4px;
|
|
spacing: 6px;
|
|
}
|
|
|
|
.lg-extension {
|
|
padding: 4px;
|
|
border: none;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.lg-extension-name {
|
|
@include fontscaling($ref_size * 1.5);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.lg-extension-meta { spacing: 6px; }
|
|
|
|
#LookingGlassPropertyInspector {
|
|
padding: 6px;
|
|
border: none;
|
|
border-radius: 2px;
|
|
background: $osd_bg_color;
|
|
color: $osd_fg_color;
|
|
box-shadow: $z-depth-4;
|
|
}
|
|
|