From 8aaf55c319f06160b14f402f012144b74baa8d01 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Fri, 17 Jul 2015 14:34:04 +0200 Subject: use libsass and update build system --- common/gnome-shell/3.14/dash/dash-placeholder.svg | 84 + common/gnome-shell/3.14/gnome-shell.css | 2 +- common/gnome-shell/3.14/misc/dash-placeholder.svg | 84 - common/gnome-shell/3.16/.nvmrc | 1 + common/gnome-shell/3.16/Gemfile | 3 - common/gnome-shell/3.16/Gemfile.lock | 10 - common/gnome-shell/3.16/_colors.scss | 58 - common/gnome-shell/3.16/_common.scss | 2231 --------------------- common/gnome-shell/3.16/_drawing.scss | 140 -- common/gnome-shell/3.16/dash/dash-placeholder.svg | 84 + common/gnome-shell/3.16/gnome-shell.css | 125 +- common/gnome-shell/3.16/gnome-shell.scss | 3 - common/gnome-shell/3.16/gulpfile.js | 18 + common/gnome-shell/3.16/misc/dash-placeholder.svg | 84 - common/gnome-shell/3.16/package.json | 7 + common/gnome-shell/3.16/parse-sass.sh | 3 - common/gnome-shell/3.16/sass/_colors.scss | 58 + common/gnome-shell/3.16/sass/_common.scss | 2231 +++++++++++++++++++++ common/gnome-shell/3.16/sass/_drawing.scss | 140 ++ common/gnome-shell/3.16/sass/gnome-shell.scss | 3 + 20 files changed, 2714 insertions(+), 2655 deletions(-) create mode 100755 common/gnome-shell/3.14/dash/dash-placeholder.svg delete mode 100755 common/gnome-shell/3.14/misc/dash-placeholder.svg create mode 100644 common/gnome-shell/3.16/.nvmrc delete mode 100644 common/gnome-shell/3.16/Gemfile delete mode 100644 common/gnome-shell/3.16/Gemfile.lock delete mode 100644 common/gnome-shell/3.16/_colors.scss delete mode 100644 common/gnome-shell/3.16/_common.scss delete mode 100644 common/gnome-shell/3.16/_drawing.scss create mode 100755 common/gnome-shell/3.16/dash/dash-placeholder.svg delete mode 100644 common/gnome-shell/3.16/gnome-shell.scss create mode 100644 common/gnome-shell/3.16/gulpfile.js delete mode 100755 common/gnome-shell/3.16/misc/dash-placeholder.svg create mode 100644 common/gnome-shell/3.16/package.json delete mode 100755 common/gnome-shell/3.16/parse-sass.sh create mode 100644 common/gnome-shell/3.16/sass/_colors.scss create mode 100644 common/gnome-shell/3.16/sass/_common.scss create mode 100644 common/gnome-shell/3.16/sass/_drawing.scss create mode 100644 common/gnome-shell/3.16/sass/gnome-shell.scss (limited to 'common/gnome-shell') diff --git a/common/gnome-shell/3.14/dash/dash-placeholder.svg b/common/gnome-shell/3.14/dash/dash-placeholder.svg new file mode 100755 index 0000000..cbae148 --- /dev/null +++ b/common/gnome-shell/3.14/dash/dash-placeholder.svg @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/common/gnome-shell/3.14/gnome-shell.css b/common/gnome-shell/3.14/gnome-shell.css index 4bd4616..716241f 100644 --- a/common/gnome-shell/3.14/gnome-shell.css +++ b/common/gnome-shell/3.14/gnome-shell.css @@ -1034,7 +1034,7 @@ StScrollBar StButton#vhandle:active { } .placeholder { - background-image: url("misc/dash-placeholder.svg"); + background-image: url("dash/dash-placeholder.svg"); background-size: contain; height: 24px; } diff --git a/common/gnome-shell/3.14/misc/dash-placeholder.svg b/common/gnome-shell/3.14/misc/dash-placeholder.svg deleted file mode 100755 index cbae148..0000000 --- a/common/gnome-shell/3.14/misc/dash-placeholder.svg +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/common/gnome-shell/3.16/.nvmrc b/common/gnome-shell/3.16/.nvmrc new file mode 100644 index 0000000..43c2417 --- /dev/null +++ b/common/gnome-shell/3.16/.nvmrc @@ -0,0 +1 @@ +0.12.5 diff --git a/common/gnome-shell/3.16/Gemfile b/common/gnome-shell/3.16/Gemfile deleted file mode 100644 index c177689..0000000 --- a/common/gnome-shell/3.16/Gemfile +++ /dev/null @@ -1,3 +0,0 @@ -source 'https://rubygems.org' - -gem "sass", "~> 3.4.0" diff --git a/common/gnome-shell/3.16/Gemfile.lock b/common/gnome-shell/3.16/Gemfile.lock deleted file mode 100644 index f64766f..0000000 --- a/common/gnome-shell/3.16/Gemfile.lock +++ /dev/null @@ -1,10 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - sass (3.4.10) - -PLATFORMS - ruby - -DEPENDENCIES - sass (~> 3.4.0) diff --git a/common/gnome-shell/3.16/_colors.scss b/common/gnome-shell/3.16/_colors.scss deleted file mode 100644 index ee3049c..0000000 --- a/common/gnome-shell/3.16/_colors.scss +++ /dev/null @@ -1,58 +0,0 @@ -// When color definition differs for dark and light variant, -// it gets @if ed depending on $variant - - -$base_color: #ffffff; -$text_color: #5c616c; -$bg_color: #f9fafb; -$fg_color: #5c616c; - -$selected_fg_color: #ffffff; -$selected_bg_color: #5294E2; -$selected_borders_color: darken($selected_bg_color, 20%); -$borders_color: darken($bg_color,9%); - -$link_color: darken($selected_bg_color,10%); -$link_visited_color: darken($selected_bg_color,20%); - -$selection_mode_bg: rgba(36, 80, 130, 0.95); -$warning_color: #F27835; -$error_color: #FC4138; -$success_color: #73d216; -$destructive_color: #F04A50; -$suggested_color: #9EA4B5; - -$osd_fg_color: #A8ADB5; -$osd_bg_color: transparentize(#3c4049, 0.05); -$osd_button_bg: darken($osd_bg_color, 3%); - -$osd_insensitive_bg_color: darken($osd_bg_color, 3%); -$osd_insensitive_fg_color: mix($osd_fg_color, opacify($osd_bg_color, 1), 30%); -$osd_borders_color: transparentize(black, 0.3); - - -$tooltip_bg: $osd_bg_color; -$tooltip_fg: #edf5fb; -$tooltip_borders_color: transparentize(white, 0.9); - -//insensitive state derived colors -$insensitive_fg_color: transparentize($fg_color, 0.45); -$insensitive_bg_color: mix($bg_color, $base_color, 40%); - - -$entry_bg: $base_color; -$entry_border: #cfd6e6; -$entry_focus_border: $selected_bg_color; - -$button_bg: lighten($bg_color, 1%); -$button_border: $entry_border; - -$header_bg: transparentize(#e7e8eb, 0.05); -$header_fg: saturate(transparentize($fg_color, 0.2), 10%); - -$dark_sidebar_bg: $osd_bg_color; -$dark_sidebar_fg: $osd_fg_color; -$dark_sidebar_border: $dark_sidebar_bg; - -$panel_bg: darken($dark_sidebar_bg, 10%); -$panel_fg: $dark_sidebar_fg; diff --git a/common/gnome-shell/3.16/_common.scss b/common/gnome-shell/3.16/_common.scss deleted file mode 100644 index 9b17c8d..0000000 --- a/common/gnome-shell/3.16/_common.scss +++ /dev/null @@ -1,2231 +0,0 @@ -//This is the RIGHT PLACE to edit the stylesheet - -$panel-corner-radius: 0px; - -/* Copyright 2009, 2015 Red Hat, Inc. - * - * Portions adapted from Mx's data/style/default.css - * Copyright 2009 Intel Corporation - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU Lesser General Public License, - * version 2.1, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for - * more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - */ - -// -// Globals -// -$font-size: 9; -$font-family: Cantarell, Sans-Serif; -$_bubble_bg_color: opacify($osd_bg_color,0.25); -$_bubble_fg_color: $osd_fg_color; -$_bubble_borders_color: transparentize($osd_fg_color,0.8); - -stage { - font-family: $font-family; - @include fontsize($font-size); - color: $fg_color; -} - -%reset_style { - background-color: transparent !important; - background-gradient-direction: none !important; - border: none !important; - border-radius: 0 !important; -} - -// -// Buttons -// -.button { - min-height: 20px; - padding: 5px 32px; - transition-duration: 0; - border-radius: 2px; - - @include button(normal); - - &:focus { @include button(focus); } - - &:hover { @include button(hover); } - - &:hover:focus { @include button(focus-hover); } - - &:active, &:active:focus { @include button(active); } - - &:insensitive { @include button(insensitive); } -} - -// -// Entries -// -StEntry { - padding: 7px; - caret-size: 1px; - selection-background-color: $selected_bg_color; - selected-color: $selected_fg_color; - transition-duration: 300ms; - border-radius: 20px; - - @include entry(normal); - - &:focus, &:hover { @include entry(focus); } - - &:insensitive { @include entry(insensitive); } - - StIcon.capslock-warning { - icon-size: 16px; - warning-color: $warning_color; - padding: 0 4px; - } -} - -// -// Scrollbars -// -StScrollView { - &.vfade { -st-vfade-offset: 0px; } - &.hfade { -st-hfade-offset: 0px; } -} - -StScrollBar { - - padding: 8px; - - StScrollView & { - min-width: 5px; - min-height: 5px; - } - - StBin#trough { - background-color: transparentize($base_color, 0.9); - border-radius: 8px; - } - - StButton#vhandle, StButton#hhandle { - border-radius: 4px; - background-color: mix($fg_color, $bg_color, 40%); - border: 0px solid; - margin: 0px; - - &:hover { background-color: mix($fg_color, $bg_color, 30%); } - - &:active { background-color: $selected_bg_color; } - } -} - -// -// Slider -// -.slider { - -slider-height: 4px; - -slider-background-color: $button_border; //background of the trough - -slider-border-color: transparentize(black, 1); //trough border color - -slider-active-background-color: $selected_bg_color; //active trough fill - -slider-active-border-color: transparentize(black, 1); //active trough border - -slider-border-width: 0; - -slider-handle-radius: 4px; - height: 18px; - border: 0 solid transparent; - border-right-width: 1px; - border-left-width: 5px; - color: transparent; -} - -// -// Check Boxes -// -.check-box { - - StBoxLayout { spacing: .8em; } - - StBin { - width: 16px; - height: 16px; - background-image: url("checkbox/checkbox-unchecked.svg"); - } - - &:focus StBin { background-image: url("checkbox/checkbox-unchecked-focused.svg"); } - - &:checked StBin { background-image: url("checkbox/checkbox-checked.svg"); } - - &:focus:checked StBin { background-image: url("checkbox/checkbox-checked-focused.svg"); } -} - -// -// Switches -// -.toggle-switch { - width: 52px; - height: 24px; - background-size: contain; - - &-us, &-intl { - background-image: url("switch/switch-off.svg"); - - &:checked { background-image: url("switch/switch-on.svg"); } - } -} - -// -// Links -// -.shell-link { - color: $link_color; - - &:hover { color: lighten($link_color,10%); } -} - -// -// Modal Dialogs -// -.headline { font-size: 110%; } -.lightbox { background-color: black; } -.flashspot { background-color: white; } - -.modal-dialog { - border-radius: 3px; - color: $fg_color; - background-color: transparentize($bg_color, 1); - border: none; - border-image: url("misc/modal.svg") 10 10 10 10; - padding: 0 6px 6px 6px; - - > * { padding: 14px; } - - &-button-box { - spacing: 0px; - margin: 0px; - padding: 12px 24px; - background-color: opacify($osd_bg_color, 1); - border: solid 0px rgba(0,0,0,0.3); - border-top: 1px; - border-radius: 0px 0px 1px 1px; - - .button { - @include button(osd); - - &:hover { @include button(osd-hover); } - &:focus { color: $selected_bg_color; } - &:active { @include button(osd-active); } - &:insensitive { @include button(osd-insensitive); } - } - } - - .run-dialog-entry { width: 23em; } - .run-dialog-error-box { - padding-top: 5px; - spacing: 5px; - } - - //.run-dialog-button-box { padding-top: 1em; } - .run-dialog-label { - @include fontsize($font-size * 1.1); - font-weight: normal; - color: $fg_color; - padding-bottom: .8em; - } -} - -//.button-dialog-button-box { -//} - -.show-processes-dialog-subject, -.mount-question-dialog-subject, -.end-session-dialog-subject { //this should be a generic header class - @include fontsize($font-size * 1.2); - font-weight: bold; - color: $fg_color; -} - -// -// End Session Dialog -// -.end-session-dialog { - spacing: 42px; - //border: 3px solid $_bubble_borders_color; - - &-list { - padding-top: 20px; - } - - &-layout { - padding-left: 17px; - &:rtl { padding-right: 17px; } - } - - &-description { - width: 28em; - padding-bottom: 10px; - &:rtl { - text-align: right; - } - } - - &-warning { - width: 28em; - color: $warning_color; - padding-top: 6px; - &:rtl { - text-align: right; - } - } - - &-logout-icon { - border: 0px solid transparent; - border-radius: 2px; - width: 48px; - height: 48px; - background-size: contain; - } - - &-shutdown-icon { - color: $fg_color; - width: 48px; - height: 48px; - } - - &-inhibitor-layout { - spacing: 16px; - max-height: 200px; - padding-right: 10px; - padding-left: 10px; - } - - &-session-list, &-app-list { - spacing: 1em; - } - - &-list-header { - font-weight: bold; - &:rtl { text-align: right; } - } - - &-app-list-item, &-session-list-item { - spacing: 1em; - } - - &-app-list-item-name, &-session-list-item-name { - font-weight: bold; - } - - &-app-list-item-description { - color: lighten($fg_color,5%); - @include fontsize($font-size * 0.9); - } - - // Shutdown Button - .button:last-child { - color: $selected_fg_color; - background-color: $destructive_color; - border-color: $destructive_color; - - &:hover { - color: $selected_fg_color; - background-color: lighten($destructive_color, 9%); - border-color: lighten($destructive_color, 9%); - } - &:active { - color: $selected_fg_color; - background-color: darken($destructive_color, 5%); - border-color: darken($destructive_color, 5%); - } - } -} - -// -// 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; - - &:rtl { - padding-left: 0px; - padding-right: 17px; - } -} - -.mount-question-dialog-subject { - max-width: 500px; -} - -.show-processes-dialog-description, -.mount-question-dialog-description { - padding-left: 17px; - width: 28em; - - &:rtl { - padding-right: 17px; - } -} - -.show-processes-dialog-app-list { - @include fontsize($font-size * 1.1); - 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: darken($fg_color,10%); - &:hover { color: $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 fontsize($font-size * 1.1); -} - -// -// Password or Authentication Dialog -// -.prompt-dialog { - //this is the width of the entire modal popup - width: 500px; - //border: 3px solid $_bubble_borders_color; - - &-main-layout { - spacing: 24px; - padding: 10px; - } - - &-message-layout { - spacing: 16px; - } - - &-headline { - @include fontsize($font-size * 1.3); - font-weight: bold; - color: $fg_color; - } - - &-descritption:rtl { - text-align: right; - } - - &-password-box { - spacing: 1em; - padding-bottom: 1em; - } - - &-error-label { - @include fontsize($font-size); - color: $error_color; - padding-bottom: 8px; - } - - &-info-label { - @include fontsize($font-size); - padding-bottom: 8px; - } - - &-null-label { - @include fontsize($font-size); - padding-bottom: 8px; - } -} - -.hidden { - color: transparentize(black, 1); -} - -// -// Polkit Dialog -// -.polkit-dialog-user { - - &-layout { - padding-left: 10px; - spacing: 10px; - &:rtl { - padding-left: 0px; - padding-right: 10px; - } - } - - &-root-label { - color: $warning_color; - } - - &-user-icon { - border-radius: 2px; - background-size: contain; - width: 48px; - height: 48px; - } -} - -// -// Network Agent Dialog -// -.network-dialog-secret-table { - spacing-rows: 15px; - spacing-columns: 1em; -} - -.keyring-dialog-control-table { - spacing-rows: 15px; - spacing-columns: 1em; -} - -// -// Popvers/Menus -// -.popup-menu { - min-width: 200px; - color: $fg_color; - border-image: url("menu/menu.svg") 10 10 35 14; - - .popup-menu-arrow { } //defined globally in the TOP BAR - .popup-sub-menu { - background: none; - box-shadow: none; - border-image: url("menu/submenu.svg") 8 8 2 2; - } - - .popup-menu-content { padding: 1em 0em 1em 0em; } - .popup-menu-item { - spacing: 12px; - - &:ltr { padding: .4em 3em .4em 0em; } - &:rtl { padding: .4em 0em .4em 3em; } - - &:checked { - background: none; - box-shadow: none; - font-weight: normal; - border-image: url("menu/submenu-open.svg") 8 8 2 2; - } - - &:active, &.selected { - color: $fg_color; - background-color: transparent; - border-image: url("menu/menu-hover.svg") 7 7 1 1; - } - - &:insensitive { - color: transparentize($fg_color, 0.5); - background: none; - } - } - - .popup-inactive-menu-item { //all icons and other graphical elements - color: $fg_color; - - &:insensitive { color: $insensitive_fg_color; } - } - //.popup-status-menu-item { font-weight: normal; color: pink; } //dunno what that is - &.panel-menu { - -boxpointer-gap: 0px; - margin-bottom: 1.75em; - } -} - -.popup-menu-ornament { - text-align: right; - margin-left: 10px; - width: 16px; -} - -.popup-menu-boxpointer { - -arrow-border-radius: 2px; - -arrow-background-color: rgba(0,0,0,0.0); - -arrow-border-width: 1px; - -arrow-border-color: rgba(0,0,0,0.0); - -arrow-base: 0; - -arrow-rise: 0; -} - -.candidate-popup-boxpointer { - -arrow-border-radius: 2px; - -arrow-background-color: $panel_bg; - -arrow-border-width: 1px; - -arrow-border-color: darken($panel_bg, 7%); - -arrow-base: 5; - -arrow-rise: 5; -} - -.popup-separator-menu-item { - //-margin-horizontal: 24px; - height: 2px; //not really the whole box - margin: 10px 0px; - background-color: transparent; - border: none; - border-image: url("menu/menu-separator.svg") 1 1 1 1; -} - -// Background menu -.background-menu { -boxpointer-gap: 4px; -arrow-rise: 0px; } - -// 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 -// - -// -// OSD -// -.osd-window { - text-align: center; - font-weight: bold; - spacing: 1em; - padding: 20px; - margin: 32px; - min-width: 64px; - min-height: 64px; - - color: $selected_fg_color; - background: none; - border: none; - border-radius: 5px; - border-image: url("misc/osd.svg") 10 10 9 11; - -.osd-monitor-label { font-size: 3em; } - - .level { - padding: 0; - height: 4px; - background-color: transparentize(black, 0.5); - border-radius: 2px; - color: $selected_bg_color; - } -} - -.resize-popup { - color: $osd_fg_color; - background: none; - border: none; - border-radius: 5px; - border-image: url("misc/osd.svg") 10 10 9 11; - padding: 12px; -} - -// -// Alt Tab Switcher -// -.switcher-popup { - padding: 8px; - spacing: 16px; -} - -.switcher-list { - background: none; - border: none; - border-image: url("misc/bg.svg") 10 10 35 14; - border-radius: 3px; - padding: 20px; - - &-item-container { spacing: 8px; } - - .item-box { - padding: 8px; - border-radius: 2px; - - &:outlined { - padding: 6px; - border: 1px solid $selected_bg_color; - } - - &:selected { - color: $selected_fg_color; - background-color: $selected_bg_color; - border: 1px solid $selected_bg_color; - - } - } - - .thumbnail-box { - padding: 2px; - spacing: 4px; - } - - .thumbnail { - width: 256px; - } - - .separator { - width: 1px; - background: transparentize($fg_color, 0.67); - } -} - -.switcher-arrow { - border-color: rgba(0,0,0,0); - color: $osd_fg_color; - - &:highlighted { - color: $selected_fg_color; - } -} - -.input-source-switcher-symbol { - font-size: 34pt; - width: 96px; - height: 96px; -} - -// -// Workspace Switcher -// -.workspace-switcher { - - background: transparent; - border: 0px; - border-radius: 0px; - padding: 0px; - spacing: 8px; - - &-group { padding: 12px; } - - &-container { - border-image: url("misc/bg.svg") 10 10 35 14; - border-radius: 3px; - padding: 20px; - padding-bottom: 24px; - } -} - -.ws-switcher-active-up, .ws-switcher-active-down { - height: 30px; - background-color: $selected_bg_color; - background-size: 96px; - border-radius: 2px; - border: 1px solid $selected_bg_color; -} - -.ws-switcher-active-up { - background-image: url("misc/ws-switch-arrow-up.png"); -} - -.ws-switcher-active-down { - background-image: url("misc/ws-switch-arrow-down.png"); -} - -.ws-switcher-box { - height: 96px; - background-color: transparentize(black, 0.67); - border-color: transparentize(black, 0.67); - border-radius: 2px; -} - -// -// Tiled window previews -// -.tile-preview { - background-color: transparentize($selected_bg_color, 0.65); - border: 1px solid $selected_bg_color; - - &-left.on-primary { - border-radius: $panel-corner-radius 0 0 0; - } - - &-right.on-primary { - border-radius: 0 $panel-corner-radius 0 0; - } - - &-left.tile-preview-right.on-primary { - border-radius: $panel-corner-radius $panel-corner-radius 0 0; - } -} - -// -// Top Bar -// -#panel { - background-color: $panel_bg; - border-color: darken($panel_bg, 9%); - border-bottom-width: 1px; - font-weight: bold; - height: 2.1em; - min-height: 26px; - - &.unlock-screen, - &.login-screen, - &.lock-screen { - background-color: transparent; - border-image: none; - } - - &:overview { background-color: transparentize(darken($panel_bg,10%), 0.15); } - - #panelLeft, #panelCenter { // spacing between activities<>app menu and such - spacing: 8px; - } - - .panel-corner { - -panel-corner-radius: $panel-corner-radius; - -panel-corner-background-color: transparentize(black, 1); - -panel-corner-border-width: 0px; - -panel-corner-border-color: black; - - &:active, &:overview, &:focus { - -panel-corner-border-color: black; - } - - &.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: bold; - color: $selected_fg_color; - transition-duration: 100ms; - - .app-menu-icon { - width: 0; - height: 0; - margin-left: 4px; - margin-right: 4px; - } - - &:hover { - color: $selected_fg_color; - background-color: transparentize(black, 0.83); - } - - &:active, &:overview, &:focus, &:checked { - color: $selected_fg_color; - background-color: $selected_bg_color; - box-shadow: none; - - & > .system-status-icon { icon-shadow: none; } - } - - .system-status-icon { icon-size: 16px; padding: 0 8px; } - .unlock-screen &, - .login-screen &, - .lock-screen & { - color: lighten($fg_color, 10%); - &:focus, &:hover, &:active { color: lighten($fg_color, 10%); } - } - } - - .panel-status-indicators-box, - .panel-status-menu-box { - spacing: 2px; - } - - .screencast-indicator { color: red; } -} - -// Activities button -#panelActivities > *, -#panelActivities:hover > *, -#panelActivities:focus > *, -#panelActivities:active > *, -#panelActivities:overview > *, -#panel:overview #panelActivities.panel-button:active > *, -#panel:overview #panelActivities.panel-button:focus > * { - background-image: url("misc/activities.svg"); - background-position: center top; - width: 24px; - height: 24px; - background-color: transparent !important; - background-gradient-direction: none !important; - border: 0 solid transparent !important; - text-shadow: 0 0 transparent !important; - transition-duration: 0ms !important; - box-shadow: none !important; - color: transparent; -} - - // a little unstructured mess: - - .system-switch-user-submenu-icon { - icon-size: 24px; - border: 1px solid transparentize($fg_color,0.6); - } - - #appMenu { - spinner-image: url("misc/process-working.svg"); - spacing: 4px; - - .label-shadow { color: transparent; } - } - - .aggregate-menu { - width: 360px; - .popup-menu-icon { padding: 0 4px; } - } - - .system-menu-action { - padding: 13px; - color: $fg_color; - border-radius: 32px; /* wish we could do 50% */ - border: 1px solid transparent; - - &:hover, &:focus { - transition-duration: 100ms; - padding: 13px; - color: $fg_color; - background-color: transparent; - border: 1px solid $selected_bg_color; - } - &:active { - color: $selected_fg_color; - background-color: $selected_bg_color; - border: 1px solid $selected_bg_color; - } - - & > StIcon { icon-size: 16px; } - } - -// -// 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 { - border-radius: 3px; - padding: .4em; -} - -.message-list-section-list:ltr { - padding-left: .4em; -} - -.message-list-section-list:rtl { - padding-right: .4em; -} - -.datemenu-today-button, -.world-clocks-button, -.message-list-section-title { - padding: 7px 10px 7px 10px; - border: 1px solid transparentize($base_color, 1); - - &:hover, &:focus { - @include button(hover); - } - - &:active { - @include button(active); - } -} - -.datemenu-today-button .day-label { -} - -.datemenu-today-button .date-label { - font-size: 1.5em; -} - -.world-clocks-header, -.message-list-section-title { - color: transparentize($fg_color, 0.6); - font-weight: bold; -} - -.world-clocks-button:active .world-clocks-header { - color: $selected_fg_color; -} - -.world-clocks-grid { - spacing-rows: 0.4em; -} - -.calendar-month-label { - color: $fg_color; - font-weight: bold; - padding: 8px 0; - &:focus {} -} - -.pager-button { - color: transparent; - background-color: transparent; - width: 32px; - border-radius: 2px; - - &:focus, &:hover, &:active { background-color: transparent; } -} - -//arrow back -.calendar-change-month-back { - background-image: url("misc/calendar-arrow-left.svg"); - - &:focus, &:hover { background-image: url("misc/calendar-arrow-left-hover.svg"); } - - &:active { background-image: url("misc/calendar-arrow-left.svg"); } - - &:rtl { - background-image: url("misc/calendar-arrow-right.svg"); - - &:focus, &:hover { background-image: url("misc/calendar-arrow-right-hover.svg"); } - - &:active { background-image: url("misc/calendar-arrow-right.svg"); } - } -} - -//arrow forward -.calendar-change-month-forward { - background-image: url("misc/calendar-arrow-right.svg"); - - &:focus, &:hover { background-image: url("misc/calendar-arrow-right-hover.svg"); } - - &:active { background-image: url("misc/calendar-arrow-right.svg"); } - - &:rtl { - background-image: url("misc/calendar-arrow-left.svg"); - - &:focus, &:hover { background-image: url("misc/calendar-arrow-left-hover.svg"); } - - &:active { background-image: url("misc/calendar-arrow-left.svg"); } - } -} - -.calendar-day-base { - font-size: 80%; - text-align: center; - width: 25px; height: 25px; - padding: 0.1em; - margin: 2px; - border-radius: 12.5px; - - &:hover, &:focus { background-color: transparentize(black, 0.9); } - - &:active { - color: $fg_color; - background-color: transparentize(black, 0.85); - border-width: 0; //avoid jumparound due to today - } - - &.calendar-day-heading { //day of week heading - color: transparentize($fg_color, 0.15); - margin-top: 1em; - font-size: 70%; - } -} - -.calendar-day { //border collapse hack - see calendar.js - border-width: 0; - color: transparentize($fg_color, 0.2); -} - -.calendar-day-top { border-top-width: 0; } - -.calendar-day-left { border-left-width: 0; } - -.calendar-work-day { - -} - -.calendar-nonwork-day { - color: $fg_color; - font-weight: bold; -} - -.calendar-today, -.calendar-today:active, -.calendar-today:focus, -.calendar-today:hover { - font-weight: bold; - color: $selected_fg_color; - background-color: $selected_bg_color; - border-width: 0; -} - -.calendar-day-with-events { - color: $selected_bg_color; - font-weight: bold; -} - -.calendar-today.calendar-day-with-events { color: $selected_fg_color; } - -.calendar-other-month-day { - color: transparentize($fg_color, 0.7); - opacity: 1; -} - -// -// 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 { - icon-size: 16px; - border-radius: 8px; - color: $selected_fg_color; - background-color: transparentize($fg_color, 0.5); -} - -.message-list-section-close:hover > StIcon, -.message-list-section-close:focus > StIcon { - color: $selected_fg_color; - background-color: $fg_color; -} - -.message-list-section-close:active > StIcon { - color: $selected_fg_color; - background-color: $selected_bg_color; -} - -.message { - padding: 4px; - color: $fg_color; - background-color: $button_bg; - border: 1px solid $button_border; - - &:hover, &:focus { - color: $fg_color; - background-color: $button_bg; - border: 1px solid $selected_bg_color; - } - - &:active { - color: $selected_fg_color; - background-color: $selected_bg_color; - border: 1px solid $selected_bg_color; - } -} - -.message-icon-bin { - padding: 8px 0px 8px 8px; - - &:rtl { padding: 8px 8px 8px 0px; } -} - -.message-icon-bin > StIcon { - icon-size: 48px; -} - -.message-secondary-bin { - color: transparentize($fg_color, 0.6); -} - -.message-secondary-bin > StIcon { - icon-size: 16px; -} - -.message-title { - font-weight: bold; - padding: 2px 0 2px 0; -} -.message-content { - padding: 8px; -} - - -// -//Activities Ripples -// -.ripple-box { - width: 52px; - height: 52px; - background-image: url("misc/corner-ripple-ltr.svg"); - background-size: contain; - - &:rtl { background-image: url("misc/corner-ripple-rtl.svg"); } -} - -// not really top bar only -.popup-menu-arrow { width: 16px; height: 16px; } -.popup-menu-icon { icon-size: 16px; } - - -// -//Close buttons -// -.window-close { - background-image: url("misc/close.svg"); - background-size: 26px; - height: 26px; - width: 26px; - - &:hover { - background-image: url("misc/close-hover.svg"); - background-size: 26px; - height: 26px; - width: 26px; - } - - &:active { - background-image: url("misc/close-active.svg"); - background-size: 26px; - height: 26px; - width: 26px; - } -} - -.window-close { - -shell-close-overlap: 11px; -} - -// -// Network Dialogs -// -.nm-dialog { - max-height: 500px; - min-height: 450px; - min-width: 470px; - - &-content { spacing: 20px; } - - &-header-hbox { spacing: 10px; } - - &-airplane-box { spacing: 12px; } - - &-airplane-headline { - font-size: 1.1em; - font-weight: bold; - text-align: center; - } - - &-airplane-text { color: $fg_color; } - - &-header-icon { icon-size: 32px; } - - &-scroll-view { - border: 1px solid $borders_color; - border-radius: 2px; - background-color: $base_color; - } - - &-header { - font-weight: bold; - font-size: 1.2em; - } - - &-item { - font-size: 1em; - border-bottom: 0px solid; - padding: 12px; - spacing: 0px; - - &:selected { - background-color: $selected_bg_color; - color: $selected_fg_color; - } - } - - &-icons { spacing: .5em; } - - &-icon { icon-size: 16px; } -} - -.no-networks-label { color: $insensitive_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: 3px solid transparentize($selected_bg_color, 0.2); - border-radius: 4px; - box-shadow: inset 0px 0px 0px 1px transparentize($selected_bg_color, 1); -} - -.window-caption, .window-caption:hover { - spacing: 25px; - color: $osd_fg_color; - background-color: transparentize(black, 0.3); - border-radius: 2px; - padding: 4px 12px; - -shell-caption-spacing: 12px; -} - -// -// Search Entry -// -.search-entry { - width: 320px; - padding: 7px 9px; - border-radius: 20px; - border: 1px solid transparentize(black, 0.75); - background-color: transparentize($entry_bg, 0.1); - - &:focus { - padding: 7px 9px; - } - - .search-entry-icon { - icon-size: 16px; - padding: 0 4px; - color: $fg_color; - } - - &:hover, &:focus { - color: $selected_fg_color; - caret-color: $selected_fg_color; - background-color: $selected_bg_color; - - .search-entry-icon { color: $selected_fg_color; } - } -} - -// -// Search Results -// -#searchResultsBin { max-width: 1000px; } - -#searchResultsContent { - padding-left: 20px; - padding-right: 20px; - spacing: 16px; -} - -// This should be equal to #searchResultsContent spacing -.search-section { spacing: 16px; } - -// This is the space between the provider icon and the results container -.search-section-content { spacing: 32px; } - -// "no results" -.search-statustext { - @extend %status_text; -} - -.list-search-results { spacing: 3px; } - -.search-section-separator { - background-color: transparentize(white, 0.8); - -margin-horizontal: 1.5em; - height: 1px; -} - -.list-search-result-content { spacing: 12px; padding: 12px; } - -.list-search-result-title { font-size: 1.5em; color: $selected_fg_color; } - -.list-search-result-description { color: darken($selected_fg_color, 20%); } - -.search-provider-icon { padding: 15px; } -.search-provider-icon-more { - width: 16px; - height: 16px; - background-image: url("misc/more-results.svg"); -} - -// -// Dash -// -#dash { - font-size: 1em; - color: $osd_fg_color; - background-color: transparentize($panel_bg, 0.08); - padding: 6px 0px 6px 0px; - border-color: transparentize(darken($panel_bg, 9%), 0.08); - border-radius: 0px 3px 3px 0px; - - .right &, - &:rtl { - padding: 6px 0px 6px 0px; - border-radius: 3px 0 0 3px; - } - - .bottom & { - padding: 0px 6px 0px 6px; - border-radius: 3px 3px 0 0; - } - - .top & { - padding: 0px 6px 0px 6px; - border-radius: 0 0 3px 3px; - } - - .placeholder { - background-image: url("misc/dash-placeholder.svg"); - background-size: contain; - height: 24px; - } - - .empty-dash-drop-target { - width: 24px; - height: 24px; - } -} - -.dash-item-container > StWidget { - padding: 0px 4px 0px 5px; - - .right &, &:rtl { padding: 0px 5px 0px 4px; } - .bottom & { padding: 4px 0px 5px 0px; } - .top & { padding: 5px 0px 4px 0px; } -} - -//osd tooltip -.dash-label { - border-radius: 3px; - padding: 4px 12px; - color: $selected_fg_color; - background-color: transparentize(black, 0.3); - text-align: center; - -x-offset: 3px; - - .bottom &, .top & { - -y-offset: 3px; - -x-offset: 0; - } -} - -// Dash Buttons -#dash .app-well-app { - - .overview-icon, - .right & .overview-icon, - .bottom & .overview-icon, - .top & .overview-icon { - padding: 10px; - } - - &:hover .overview-icon, - .right &:hover .overview-icon, - .bottom &:hover .overview-icon, - .top &:hover .overview-icon { - background-color: $selected_bg_color; - } - - &:active .overview-icon, - .right &:active .overview-icon, - .bottom &:active .overview-icon, - .top &:active .overview-icon { - box-shadow: none; - background-color: darken($selected_bg_color, 10%); - } - - &-running-dot { - width: 11px; - height: 2px; - margin-bottom: 6px; - background-color: $selected_bg_color; - } -} - -.show-apps { - - .overview-icon { - padding: 11px; - background-color: transparentize(black, 0.5); - border-radius: 2px; - border: 0px solid; - } - - &:hover .overview-icon { - background-color: transparentize(black, 0.3); - color: $selected_bg_color; - } - - &:active .overview-icon, - &:active .show-apps-icon, - &:checked .overview-icon, - &:checked .show-apps-icon { - color: $selected_fg_color; - background-color: $selected_bg_color; - box-shadow: none; - transition-duration: 0ms; - } -} - -// -// 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; } - -//favorties | all toggle container -.app-view-controls { padding-bottom: 32px; } - -//favorties | all toggle button -.app-view-control { - padding: 4px 32px; - - color: transparentize($selected_fg_color, 0.2); - background-color: transparentize(darken($panel_bg,10%), 0.15); - border-color: transparentize($osd_fg_color, 0.7); - - &:hover { - color: $selected_fg_color; - background-color: transparentize(darken($panel_bg,10%), 0.15); - border-color: $selected_bg_color; - } - &:checked { @include button(osd-active); } - - &:first-child:ltr, &:last-child:rtl { - border-radius: 2px 0 0 2px; - - - &:hover { } - } - &:last-child:ltr, &:first-child:rtl { - border-radius: 0 2px 2px 0; - - &:hover { } - } -} - -// -// Icon Tile -// -.search-provider-icon, -.list-search-result { - @extend %icon_tile; - - &:active, &:checked { background-color: transparentize(darken($osd_bg_color,10%),.1); } - - &:focus, &:selected, &:hover { - background-color: transparentize($osd_fg_color,.6); - transition-duration: 200ms; - } -} -.app-well-app, -.app-well-app.app-folder, -//.show-apps, -.grid-search-result { - - .overview-icon { - @extend %icon_tile; - } - - &:active .overview-icon, - &:checked .overview-icon { - background-color: transparentize(darken($osd_bg_color,10%),.1); - box-shadow: inset 0 0 $selected_bg_color; - } - - &:hover .overview-icon, - &:focus .overview-icon, - &:selected .overview-icon { - background-color: transparentize($osd_fg_color,.6); - transition-duration: 0ms; - border-image: none; - background-image: none; - } -} - -.app-well-app-running-dot { //running apps indicator - width: 20px; - height: 2px; - margin-bottom: 4px; - background-color: $selected_bg_color; -} - -%icon_tile { - color: $selected_fg_color; - border-radius: 2px; - padding: 6px; - border: 1px solid transparent; - transition-duration: 0ms; - text-align: center; -} - -// -// Collections -// -.app-well-app.app-folder { - - > .overview-icon { - background-color: transparentize(darken($panel_bg,10%), 0.15); - border: 1px solid transparentize($osd_fg_color, 0.7); - } - - &:hover > .overview-icon { - background-color: lighten($panel_bg, 10%); - } - - &:active > .overview-icon, &:checked > .overview-icon { - background-color: $selected_bg_color; - box-shadow: none; - } - - &:focus > .overview-icon { - background-color: $selected_bg_color; - } -} - -.app-folder-popup { //expanded collection - -arrow-border-radius: 2px; - -arrow-background-color: transparentize(darken($panel_bg,10%), 0.15); - -arrow-border-color: transparentize($osd_fg_color, 0.7); - -arrow-border-width: 1px; - -arrow-base: 5; - -arrow-rise: 5; -} -.app-folder-popup-bin { padding: 5px; } -.app-folder-icon { - padding: 5px; - spacing-rows: 5px; - spacing-columns: 5px; -} - -.page-indicator { - padding: 15px 20px; - - .page-indicator-icon { - width: 18px; - height: 18px; - background-image: url(misc/page-indicator-inactive.svg); - } - - &:hover .page-indicator-icon { background-image: url(misc/page-indicator-hover.svg); } - &:active .page-indicator-icon { background-image: url(misc/page-indicator-active.svg); } - &:checked .page-indicator-icon, - &:checked:active { background-image: url(misc/page-indicator-checked.svg); } -} - -.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 { //container ala dash - visible-width: 40px; //amount visible before hover - spacing: 11px; - padding: 12px; - padding-right: 7px; - border-radius: 3px 0 0 3px; - background-color: transparentize($panel_bg, 0.08); - border-color: transparentize(darken($panel_bg, 9%), 0.08); - - &:rtl { - padding: 12px; - padding-left: 7px; - border-radius: 0 3px 3px 0; - } -} - -.workspace-thumbnail-indicator { - border: 4px solid transparentize($selected_bg_color, 0.2); - border-radius: 1px; - padding: 1px; -} - -//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: 0px 88px 10px 88px; -} - -%status_text { - font-size: 2em; - font-weight: bold; - color: $fg_color; -} - -// -// Notifications & Message Tray -// -.url-highlighter { link-color: $link_color; } - -// Banners -.notification-banner, -.notification-banner:hover, -.notification-banner:focus { - font-size: 1em; - width: 34em; - margin: 5px; - padding: 10px; - border-radius: 2px; - color: $fg_color; - background-color: $bg_color; - border: 0px solid transparent; - box-shadow: 0 1px 5px transparentize(black, 0.8); - - .notification-icon { padding: 5px; } - - .notification-content { padding: 5px; spacing: 5px; } - - .secondary-icon { icon-size: 1.09em; } - - .notification-actions { - background-color: transparent; - padding: 2px 2px 0 2px; - spacing: 1px; - } - .notification-button { - padding: 4px 4px 5px; - @extend .button; - - &:first-child, &:last-child { - border-radius: 2px; - } - } -} - -.secondary-icon { icon-size: 1.09em; } - -// Chat Bubbles -.chat-body { spacing: 5px; } -.chat-response { margin: 5px; } -.chat-log-message { color: $fg_color; } -.chat-new-group { padding-top: 1em; } -.chat-received { - padding-left: 4px; - - &:rtl { padding-left: 0px; padding-right: 4px; } -} - -.chat-sent { - padding-left: 18pt; - color: $selected_bg_color; - - &:rtl { padding-left: 0; padding-right: 18pt; } -} - -.chat-meta-message { - padding-left: 4px; - font-size: 9pt; - font-weight: bold; - color: transparentize($fg_color, 0.4); - - &:rtl { padding-left: 0; padding-right: 4px; } -} - -.subscription-message { font-style: italic; } - -// 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 { - icon-size: 24px; - padding: 2px 5px; - } - - .hotplug-resident-box { spacing: 8px; } - - .hotplug-resident-mount { - spacing: 8px; - border-radius: 4px; - &:hover { background-color: transparentize($bg_color,0.7); } - } - - .hotplug-resident-mount-label { - color: inherit; - padding-left: 6px; - } - - .hotplug-resident-mount-icon { - icon-size: 24px; - padding-left: 6px; - } - - .hotplug-resident-eject-icon { - icon-size: 16px; - } - - .hotplug-resident-eject-button { - padding: 7px; - border-radius: 5px; - color: pink; - } - -// Eeeky things - -$legacy_icon_size: 24px; - -.legacy-tray { - background-color: $panel_bg; - border-width: 0; - - &: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; - & StIcon { icon-size: $legacy_icon_size; } - &:hover, &:focus { background-color: transparentize($fg_color,0.9); } -} - -.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; } -} - -// -// On-Screen Keyboard -// -#keyboard { - background-color: transparentize($panel_bg, 0.05); -} - - .keyboard-layout { - spacing: 10px; - padding: 10px; - } - - .keyboard-row { - spacing: 15px; - } - - .keyboard-key { - @include button(osd); - min-height: 2em; - min-width: 2em; - font-size: 14pt; - font-weight: bold; - border-radius: 3px; - box-shadow: none; - &:focus { @include button(focus); } - &:hover,&:checked { @include button(osd-hover); } - &:active { @include button(osd-active);} - &:grayed { //FIXME - background-color: $osd_bg_color; - color: $osd_fg_color; - border-color: $osd_borders_color; - } - } - - .keyboard-subkeys { //long press on a key popup - color: white; - padding: 5px; - -arrow-border-radius: 2px; - -arrow-background-color: transparentize($panel_bg, 0.05); - -arrow-border-width: 0px; - -arrow-border-color: transparent; - -arrow-base: 20px; - -arrow-rise: 10px; - -boxpointer-gap: 5px; - } - -// -// IBus Candidate Popup -// -.candidate-popup-content { - padding: 0.5em; - spacing: 0.3em; - color: $osd_fg_color; -} - - .candidate-index { - padding: 0 0.5em 0 0; - color: lighten($osd_fg_color, 10%); - } - - .candidate-box { - padding: 0.3em 0.5em 0.3em 0.5em; - border-radius: 4px; - color: $osd_fg_color; - &:selected,&:hover { background-color: $selected_bg_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; - } - - .candidate-page-button-previous { border-radius: 2px 0px 0px 2px; border-right-width: 0; } - .candidate-page-button-next { border-radius: 0px 2px 2px 0px; } - .candidate-page-button-icon { icon-size: 1em; } - -// -// Auth Dialogs & Screen Shield -// -.framed-user-icon { - background-size: contain; - border: 0px solid transparent; - color: $fg_color; - border-radius: 2px; - &:hover { - border-color: transparent; - color: lighten($osd_fg_color,30%); - } -} - -// -// Login Dialog -// -.login-dialog-banner-view { - padding-top: 24px; - max-width: 23em; -} - -.login-dialog { - //reset - border: none; - background-color: transparent; - - .modal-dialog-button-box { spacing: 3px; } - .modal-dialog-button { - padding: 3px 18px; - &:default { - @include button(normal); - &:hover,&:focus { @include button(hover); } - &:active { @include button(active); } - &:insensitive { @include button(insensitive); } - } - } -} - - .login-dialog-logo-bin { padding: 24px 0px; } - .login-dialog-banner { color: darken($osd_fg_color,10%); } - .login-dialog-button-box { spacing: 5px; } - .login-dialog-message-warning { color: $warning_color; } - .login-dialog-message-hint { padding-top: 0; padding-bottom: 20px; } - .login-dialog-user-selection-box { - padding: 100px 0px; - .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 { - font-size: 90%; - font-weight: bold; - color: darken($osd_fg_color,30%); - padding-top: 1em; - } - - .login-dialog-user-list-view { -st-vfade-offset: 1em; } - .login-dialog-user-list { - spacing: 12px; - padding: .2em; - width: 23em; - &:expanded .login-dialog-user-list-item:focus { background-color: $selected_bg_color; color: $selected_fg_color; } - &:expanded .login-dialog-user-list-item:logged-in { border-right: 2px solid $selected_bg_color; } - } - .login-dialog-user-list-item { - border-radius: 5px; - padding: .2em; - color: darken($osd_fg_color,30%); - &:ltr { padding-right: 1em; } - &:rtl { padding-left: 1em; } - &:hover { background-color: $selected_bg_color; color: $selected_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: $selected_fg_color; } - } - - .login-dialog-username, - .user-widget-label { - color: $osd_fg_color; - font-size: 120%; - font-weight: bold; - text-align: left; - padding-left: 15px; - } - .user-widget-label { - &:ltr { padding-left: 18px; } - &:rtl { padding-right: 18px; } - } - - .login-dialog-prompt-layout { - padding-top: 24px; - padding-bottom: 12px; - spacing: 8px; - width: 23em; - } - - .login-dialog-prompt-label { - color: darken($osd_fg_color, 20%); - font-size: 110%; - padding-top: 1em; - } - - .login-dialog-session-list-button StIcon { - icon-size: 1.25em; - } - - .login-dialog-session-list-button { - color: darken($osd_fg_color,30%); - &:hover,&:focus { color: $osd_fg_color; } - &:active { color: darken($osd_fg_color, 50%); } - } - -// -// Screen Shield -// -.screen-shield-arrows { - padding-bottom: 3em; -} - -.screen-shield-arrows Gjs_Arrow { - color: white; - width: 80px; - height: 48px; - -arrow-thickness: 12px; - -arrow-shadow: 0 1px 1px rgba(0,0,0,0.4); -} - -.screen-shield-clock { - color: white; - text-shadow: 0px 1px 2px rgba(0,0,0,0.6); - font-weight: bold; - text-align: center; - padding-bottom: 1.5em; -} - -.screen-shield-clock-time { - font-size: 72pt; - text-shadow: 0px 2px 2px rgba(0,0,0,0.4); -} - -.screen-shield-clock-date { font-size: 28pt; } - -.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: 1px solid $_bubble_borders_color; - background-color: transparentize($osd_bg_color,0.5); - color: $_bubble_fg_color; - border-radius: 4px; - } - .notification { margin-right: 15px; } //compensate for space allocated to the scrollbar -} - - -.screen-shield-notification-label { - font-weight: bold; - padding: 0px 0px 0px 12px; -} - -.screen-shield-notification-count-text { padding: 0px 0px 0px 12px; } - -#panel.lock-screen { background-color: transparentize($_bubble_bg_color, 0.5); } - -.screen-shield-background { //just the shadow, really - background: black; - box-shadow: 0px 2px 4px transparentize(black,0.6); -} - -#lockDialogGroup { - background: #2e3436 url(misc/noise-texture.png); - background-repeat: repeat; -} - -#screenShieldNotifications { - StButton#vhandle, StButton#hhandle { - background-color: transparentize($bg_color,0.7); - &:hover, &:focus { background-color: transparentize($bg_color,0.5); } - &:active { background-color: transparentize($selected_bg_color,0.5); } - } -} - -// -// Looking Glass -// -#LookingGlassDialog { - spacing: 4px; - padding: 8px 8px 10px 8px; - background-color: transparentize(black, 0.3); - border: 1px solid black; - border-image: url("misc/osd.svg") 10 10 9 11; - border-radius: 2px; - color: $osd_fg_color; - - & > #Toolbar { - padding: 3px; - border: 1px solid darken($osd_bg_color, 7%); - background-color: transparent; - border-radius: 0px; - } - .labels { spacing: 4px; } - .notebook-tab { - -natural-hpadding: 12px; - -minimum-hpadding: 6px; - font-weight: bold; - color: $osd_fg_color; - transition-duration: 100ms; - padding-left: .3em; - padding-right: .3em; - &:hover { - color: $selected_fg_color; - text-shadow: black 0px 2px 2px; - } - &:selected { - border-bottom-width: 0px; - color: $selected_bg_color; - text-shadow: black 0px 2px 2px; - } - } - StBoxLayout#EvalBox { padding: 4px; spacing: 4px; } - StBoxLayout#ResultsArea { spacing: 4px; } -} - - .lg-dialog { - StEntry { - background-color: transparentize(black, 0.7); - color: $osd_fg_color; - selection-background-color: $selected_bg_color; - selected-color: $selected_fg_color; - border-color: transparentize($osd_fg_color, 0.7); - - &:focus { border-color: $selected_bg_color; } - } - .shell-link { - color: $link_color; - &:hover { color: lighten($link_color,10%); } - } - } - - .lg-completions-text { - font-size: .9em; - font-style: italic; - } - - .lg-obj-inspector-title { - spacing: 4px; - } - - .lg-obj-inspector-button { - border: 1px solid gray; - padding: 4px; - border-radius: 4px; - &:hover { border: 1px solid #ffffff; } - } - - #lookingGlassExtensions { padding: 4px; } - - .lg-extensions-list { - padding: 4px; - spacing: 6px; - } - - .lg-extension { - border: 1px solid $borders_color; - border-radius: 2px; - background-color: $bg_color; - padding: 4px; - } - - .lg-extension-name { - font-weight: bold; - } - - .lg-extension-meta { - spacing: 6px; - } - - #LookingGlassPropertyInspector { - background: transparentize(black, 0.3); - border: 1px solid grey; - border-radius: 2px; - padding: 6px; - } diff --git a/common/gnome-shell/3.16/_drawing.scss b/common/gnome-shell/3.16/_drawing.scss deleted file mode 100644 index 0e60551..0000000 --- a/common/gnome-shell/3.16/_drawing.scss +++ /dev/null @@ -1,140 +0,0 @@ -// Drawing mixins - -// generic drawing of more complex things - -// provide font size in rem, with px fallback -@mixin fontsize($size: 24, $base: 16) { - font-size: round($size) + pt; - //font-size: ($size / $base) * 1rem; -} - -// Entries - -@mixin entry($t, $dark:false) { -// -// Entries drawing function -// - //@extend %reset_style; - box-shadow: inset 0 0 transparentize($base_color, 1); - - @if $t==normal { - color: $text_color; - background-color: $entry_bg; - border: 1px solid $entry_border; - } - - @if $t==focus { - color: $fg_color; - background-color: $entry_bg; - border: 1px solid $selected_bg_color; - } - - @if $t==insensitive { - color: $insensitive_fg_color; - background-color: mix($entry_bg, $bg_color, 55%); - border-color: 1px solid mix($entry_border, $bg_color, 55%); - } -} - -// Buttons - -@mixin button($t) { -// -// Button drawing function -// - //@extend %reset_style; - - text-shadow: 0 1px transparentize($base_color, 1); - box-shadow: inset 0 0 transparentize($base_color, 1); - - @if $t==normal { - // - // normal button - // - color: $fg_color; - background-color: $button_bg; - border: 1px solid $button_border; - } - - @else if $t==focus { - // - // focused button - // - color: $fg_color; - background-color: $button_bg; - border: 1px solid $selected_bg_color; - } - - @else if $t==focus-hover { - // - // focused button - // - color: $selected_bg_color; - background-color: $button_bg; - border: 1px solid $selected_bg_color; - } - - @else if $t==hover { - // - // hovered button - // - color: $fg_color; - background-color: $button_bg; - border: 1px solid $selected_bg_color; - } - - @else if $t==active { - // - // pushed button - // - color: $selected_fg_color; - background-color: $selected_bg_color; - border: 1px solid $selected_bg_color; - } - - @else if $t==insensitive { - // - // insensitive button - // - color: $insensitive_fg_color; - border: 1px solid transparentize($button_border, 0.45); - background-color: transparentize($button_bg, 0.45); - } - - @else if $t==osd { - // - // normal osd button - // - color: lighten($osd_fg_color, 10%); - outline-color: transparentize($osd_fg_color, 0.7); - border-color: transparentize($osd_fg_color, 0.7); - background-color: darken($osd_bg_color, 5%); - } - - @else if $t==osd-hover { - // - // active osd button - // - color: $selected_fg_color; - border-color: $selected_bg_color; - background-color: darken($osd_bg_color, 5%); - } - - @else if $t==osd-active { - // - // active osd button - // - color: $selected_fg_color; - border-color: $selected_bg_color; - background-color: $selected_bg_color; - } - - @else if $t==osd-insensitive { - // - // insensitive osd button - // - color: $osd_insensitive_fg_color; - border-color: transparentize($osd_fg_color, 0.8); - background-image: $osd_insensitive_bg_color; - } -} diff --git a/common/gnome-shell/3.16/dash/dash-placeholder.svg b/common/gnome-shell/3.16/dash/dash-placeholder.svg new file mode 100755 index 0000000..cbae148 --- /dev/null +++ b/common/gnome-shell/3.16/dash/dash-placeholder.svg @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/common/gnome-shell/3.16/gnome-shell.css b/common/gnome-shell/3.16/gnome-shell.css index 327cff7..a997e5d 100644 --- a/common/gnome-shell/3.16/gnome-shell.css +++ b/common/gnome-shell/3.16/gnome-shell.css @@ -51,7 +51,8 @@ stage { color: #5294E2; background-color: #fcfdfd; border: 1px solid #5294E2; } - .button:active, .notification-banner .notification-button:active, .button:active:focus, .notification-banner .notification-button:active:focus { + .button:active, .notification-banner .notification-button:active, + .button:active:focus, .notification-banner .notification-button:active:focus { text-shadow: 0 1px rgba(255, 255, 255, 0); box-shadow: inset 0 0 rgba(255, 255, 255, 0); color: #ffffff; @@ -83,8 +84,8 @@ StEntry { StEntry:insensitive { box-shadow: inset 0 0 rgba(255, 255, 255, 0); color: rgba(92, 97, 108, 0.55); - background-color: #fcfcfd; - border-color: 1px solid #e1e6ef; } + background-color: #fcfdfd; + border-color: 1px solid #e2e6ef; } StEntry StIcon.capslock-warning { icon-size: 16px; warning-color: #F27835; @@ -92,6 +93,7 @@ StEntry { StScrollView.vfade { -st-vfade-offset: 0px; } + StScrollView.hfade { -st-hfade-offset: 0px; } @@ -105,11 +107,11 @@ StScrollBar { border-radius: 8px; } StScrollBar StButton#vhandle, StScrollBar StButton#hhandle { border-radius: 4px; - background-color: #babcc1; + background-color: #babdc2; border: 0px solid; margin: 0px; } StScrollBar StButton#vhandle:hover, StScrollBar StButton#hhandle:hover { - background-color: #c9ccd0; } + background-color: #caccd0; } StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { background-color: #5294E2; } @@ -129,14 +131,18 @@ StScrollBar { .check-box StBoxLayout { spacing: .8em; } + .check-box StBin { width: 16px; height: 16px; background-image: url("checkbox/checkbox-unchecked.svg"); } + .check-box:focus StBin { background-image: url("checkbox/checkbox-unchecked-focused.svg"); } + .check-box:checked StBin { background-image: url("checkbox/checkbox-checked.svg"); } + .check-box:focus:checked StBin { background-image: url("checkbox/checkbox-checked-focused.svg"); } @@ -204,7 +210,7 @@ StScrollBar { .modal-dialog-button-box .button:insensitive, .modal-dialog-button-box .notification-banner .notification-button:insensitive, .notification-banner .modal-dialog-button-box .notification-button:insensitive { text-shadow: 0 1px rgba(255, 255, 255, 0); box-shadow: inset 0 0 rgba(255, 255, 255, 0); - color: #5c6069; + color: #5c6169; border-color: rgba(168, 173, 181, 0.2); background-image: rgba(53, 57, 65, 0.95); } .modal-dialog .run-dialog-entry { @@ -334,6 +340,7 @@ StScrollBar { .show-processes-dialog-app-list-item-icon:ltr { padding-right: 17px; } + .show-processes-dialog-app-list-item-icon:rtl { padding-left: 17px; } @@ -376,8 +383,10 @@ StScrollBar { .polkit-dialog-user-layout:rtl { padding-left: 0px; padding-right: 10px; } + .polkit-dialog-user-root-label { color: #F27835; } + .polkit-dialog-user-user-icon { border-radius: 2px; background-size: contain; @@ -405,9 +414,9 @@ StScrollBar { .popup-menu .popup-menu-item { spacing: 12px; } .popup-menu .popup-menu-item:ltr { - padding: .4em 3em .4em 0em; } + padding: 0.4em 3em 0.4em 0em; } .popup-menu .popup-menu-item:rtl { - padding: .4em 0em .4em 3em; } + padding: 0.4em 0em 0.4em 3em; } .popup-menu .popup-menu-item:checked { background: none; box-shadow: none; @@ -582,7 +591,9 @@ StScrollBar { font-weight: bold; height: 2.1em; min-height: 26px; } - #panel.unlock-screen, #panel.login-screen, #panel.lock-screen { + #panel.unlock-screen, + #panel.login-screen, + #panel.lock-screen { background-color: transparent; border-image: none; } #panel:overview { @@ -623,9 +634,17 @@ StScrollBar { #panel .panel-button .system-status-icon { icon-size: 16px; padding: 0 8px; } - .unlock-screen #panel .panel-button, .login-screen #panel .panel-button, .lock-screen #panel .panel-button { + .unlock-screen #panel .panel-button, + .login-screen #panel .panel-button, + .lock-screen #panel .panel-button { color: #737a88; } - .unlock-screen #panel .panel-button:focus, .unlock-screen #panel .panel-button:hover, .unlock-screen #panel .panel-button:active, .login-screen #panel .panel-button:focus, .login-screen #panel .panel-button:hover, .login-screen #panel .panel-button:active, .lock-screen #panel .panel-button:focus, .lock-screen #panel .panel-button:hover, .lock-screen #panel .panel-button:active { + .unlock-screen #panel .panel-button:focus, + .unlock-screen #panel .panel-button:hover, + .unlock-screen #panel .panel-button:active, + .login-screen #panel .panel-button:focus, + .login-screen #panel .panel-button:hover, + .login-screen #panel .panel-button:active, + .lock-screen #panel .panel-button:focus, .lock-screen #panel .panel-button:hover, .lock-screen #panel .panel-button:active { color: #737a88; } #panel .panel-status-indicators-box, #panel .panel-status-menu-box { @@ -687,7 +706,7 @@ StScrollBar { icon-size: 16px; } #calendarArea { - padding: 0.75em 1.0em; } + padding: 0.75em 1em; } .calendar { margin-bottom: 1em; } @@ -721,11 +740,11 @@ StScrollBar { .message-list-section-title { padding: 7px 10px 7px 10px; border: 1px solid rgba(255, 255, 255, 0); } - .datemenu-today-button:hover, .datemenu-today-button:focus, + .datemenu-today-button:hover, + .datemenu-today-button:focus, .world-clocks-button:hover, .world-clocks-button:focus, - .message-list-section-title:hover, - .message-list-section-title:focus { + .message-list-section-title:hover, .message-list-section-title:focus { text-shadow: 0 1px rgba(255, 255, 255, 0); box-shadow: inset 0 0 rgba(255, 255, 255, 0); color: #5c616c; @@ -1082,7 +1101,8 @@ StScrollBar { padding: 6px 0px 6px 0px; border-color: rgba(16, 17, 20, 0.87); border-radius: 0px 3px 3px 0px; } - .right #dash, #dash:rtl { + .right #dash, + #dash:rtl { padding: 6px 0px 6px 0px; border-radius: 3px 0 0 3px; } .bottom #dash { @@ -1092,7 +1112,7 @@ StScrollBar { padding: 0px 6px 0px 6px; border-radius: 0 0 3px 3px; } #dash .placeholder { - background-image: url("misc/dash-placeholder.svg"); + background-image: url("dash/dash-placeholder.svg"); background-size: contain; height: 24px; } #dash .empty-dash-drop-target { @@ -1119,13 +1139,25 @@ StScrollBar { -y-offset: 3px; -x-offset: 0; } -#dash .app-well-app .overview-icon, .right #dash .app-well-app .overview-icon, .bottom #dash .app-well-app .overview-icon, .top #dash .app-well-app .overview-icon { +#dash .app-well-app .overview-icon, +.right #dash .app-well-app .overview-icon, +.bottom #dash .app-well-app .overview-icon, +.top #dash .app-well-app .overview-icon { padding: 10px; } -#dash .app-well-app:hover .overview-icon, .right #dash .app-well-app:hover .overview-icon, .bottom #dash .app-well-app:hover .overview-icon, .top #dash .app-well-app:hover .overview-icon { + +#dash .app-well-app:hover .overview-icon, +.right #dash .app-well-app:hover .overview-icon, +.bottom #dash .app-well-app:hover .overview-icon, +.top #dash .app-well-app:hover .overview-icon { background-color: #5294E2; } -#dash .app-well-app:active .overview-icon, .right #dash .app-well-app:active .overview-icon, .bottom #dash .app-well-app:active .overview-icon, .top #dash .app-well-app:active .overview-icon { + +#dash .app-well-app:active .overview-icon, +.right #dash .app-well-app:active .overview-icon, +.bottom #dash .app-well-app:active .overview-icon, +.top #dash .app-well-app:active .overview-icon { box-shadow: none; background-color: #2679db; } + #dash .app-well-app-running-dot { width: 11px; height: 2px; @@ -1137,10 +1169,15 @@ StScrollBar { background-color: rgba(0, 0, 0, 0.5); border-radius: 2px; border: 0px solid; } + .show-apps:hover .overview-icon { background-color: rgba(0, 0, 0, 0.7); color: #5294E2; } -.show-apps:active .overview-icon, .show-apps:active .show-apps-icon, .show-apps:checked .overview-icon, .show-apps:checked .show-apps-icon { + +.show-apps:active .overview-icon, +.show-apps:active .show-apps-icon, +.show-apps:checked .overview-icon, +.show-apps:checked .show-apps-icon { color: #ffffff; background-color: #5294E2; box-shadow: none; @@ -1176,25 +1213,30 @@ StScrollBar { .app-view-control:last-child:ltr, .app-view-control:first-child:rtl { border-radius: 0 2px 2px 0; } -.search-provider-icon:active, .search-provider-icon:checked, -.list-search-result:active, -.list-search-result:checked { +.search-provider-icon:active, +.search-provider-icon:checked, +.list-search-result:active, .list-search-result:checked { background-color: rgba(37, 39, 45, 0.85); } -.search-provider-icon:focus, .search-provider-icon:selected, .search-provider-icon:hover, -.list-search-result:focus, -.list-search-result:selected, -.list-search-result:hover { + +.search-provider-icon:focus, +.search-provider-icon:selected, +.search-provider-icon:hover, +.list-search-result:focus, .list-search-result:selected, .list-search-result:hover { background-color: rgba(168, 173, 181, 0.4); transition-duration: 200ms; } -.app-well-app:active .overview-icon, .app-well-app:checked .overview-icon, +.app-well-app:active .overview-icon, +.app-well-app:checked .overview-icon, .app-well-app.app-folder:active .overview-icon, .app-well-app.app-folder:checked .overview-icon, .grid-search-result:active .overview-icon, .grid-search-result:checked .overview-icon { background-color: rgba(37, 39, 45, 0.85); box-shadow: inset 0 0 #5294E2; } -.app-well-app:hover .overview-icon, .app-well-app:focus .overview-icon, .app-well-app:selected .overview-icon, + +.app-well-app:hover .overview-icon, +.app-well-app:focus .overview-icon, +.app-well-app:selected .overview-icon, .app-well-app.app-folder:hover .overview-icon, .app-well-app.app-folder:focus .overview-icon, .app-well-app.app-folder:selected .overview-icon, @@ -1226,11 +1268,14 @@ StScrollBar { .app-well-app.app-folder > .overview-icon { background-color: rgba(14, 15, 17, 0.8); border: 1px solid rgba(168, 173, 181, 0.3); } + .app-well-app.app-folder:hover > .overview-icon { background-color: rgba(60, 64, 73, 0.95); } + .app-well-app.app-folder:active > .overview-icon, .app-well-app.app-folder:checked > .overview-icon { background-color: #5294E2; box-shadow: none; } + .app-well-app.app-folder:focus > .overview-icon { background-color: #5294E2; } @@ -1260,7 +1305,8 @@ StScrollBar { background-image: url(misc/page-indicator-hover.svg); } .page-indicator:active .page-indicator-icon { background-image: url(misc/page-indicator-active.svg); } - .page-indicator:checked .page-indicator-icon, .page-indicator:checked:active { + .page-indicator:checked .page-indicator-icon, + .page-indicator:checked:active { background-image: url(misc/page-indicator-checked.svg); } .app-well-app > .overview-icon.overview-icon-with-label, @@ -1334,11 +1380,11 @@ StScrollBar { .notification-banner:hover .notification-button, .notification-banner:focus .notification-button { padding: 4px 4px 5px; } - .notification-banner .notification-button:first-child, .notification-banner .notification-button:last-child, + .notification-banner .notification-button:first-child, + .notification-banner .notification-button:last-child, .notification-banner:hover .notification-button:first-child, .notification-banner:hover .notification-button:last-child, - .notification-banner:focus .notification-button:first-child, - .notification-banner:focus .notification-button:last-child { + .notification-banner:focus .notification-button:first-child, .notification-banner:focus .notification-button:last-child { border-radius: 2px; } .secondary-icon { @@ -1435,9 +1481,9 @@ StScrollBar { .legacy-tray-handle StIcon, .legacy-tray-icon StIcon { icon-size: 24px; } - .legacy-tray-handle:hover, .legacy-tray-handle:focus, - .legacy-tray-icon:hover, - .legacy-tray-icon:focus { + .legacy-tray-handle:hover, + .legacy-tray-handle:focus, + .legacy-tray-icon:hover, .legacy-tray-icon:focus { background-color: rgba(92, 97, 108, 0.1); } .legacy-tray-icon-box { @@ -1614,7 +1660,8 @@ StScrollBar { padding: 100px 0px; } .login-dialog-user-selection-box .login-dialog-not-listed-label { padding-left: 2px; } - .login-dialog-not-listed-button:focus .login-dialog-user-selection-box .login-dialog-not-listed-label, .login-dialog-not-listed-button:hover .login-dialog-user-selection-box .login-dialog-not-listed-label { + .login-dialog-not-listed-button:focus .login-dialog-user-selection-box .login-dialog-not-listed-label, + .login-dialog-not-listed-button:hover .login-dialog-user-selection-box .login-dialog-not-listed-label { color: #A8ADB5; } .login-dialog-not-listed-label { @@ -1664,6 +1711,7 @@ StScrollBar { .user-widget-label:ltr { padding-left: 18px; } + .user-widget-label:rtl { padding-right: 18px; } @@ -1799,6 +1847,7 @@ StScrollBar { border-color: rgba(168, 173, 181, 0.3); } .lg-dialog StEntry:focus { border-color: #5294E2; } + .lg-dialog .shell-link { color: #2679db; } .lg-dialog .shell-link:hover { diff --git a/common/gnome-shell/3.16/gnome-shell.scss b/common/gnome-shell/3.16/gnome-shell.scss deleted file mode 100644 index 3418548..0000000 --- a/common/gnome-shell/3.16/gnome-shell.scss +++ /dev/null @@ -1,3 +0,0 @@ -@import "_colors"; //use gtk colors -@import "_drawing"; -@import "_common"; diff --git a/common/gnome-shell/3.16/gulpfile.js b/common/gnome-shell/3.16/gulpfile.js new file mode 100644 index 0000000..230ac9d --- /dev/null +++ b/common/gnome-shell/3.16/gulpfile.js @@ -0,0 +1,18 @@ +var gulp = require("gulp"); +var sass = require("gulp-sass"); +var filter = require('gulp-filter'); + +gulp.task('sass', function () { + return gulp.src('sass/*.scss') + .pipe(sass({ + outputStyle: 'nested', + precision: 5, + onError: function (err) { + notify().write(err); + } + })) + .pipe(gulp.dest('.')) +}); + + +gulp.task('default', ['sass']); diff --git a/common/gnome-shell/3.16/misc/dash-placeholder.svg b/common/gnome-shell/3.16/misc/dash-placeholder.svg deleted file mode 100755 index cbae148..0000000 --- a/common/gnome-shell/3.16/misc/dash-placeholder.svg +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/common/gnome-shell/3.16/package.json b/common/gnome-shell/3.16/package.json new file mode 100644 index 0000000..b08961b --- /dev/null +++ b/common/gnome-shell/3.16/package.json @@ -0,0 +1,7 @@ +{ + "devDependencies": { + "gulp": "~3.9.0", + "gulp-filter": "~2.0.2", + "gulp-sass": "~2.0.4" + } +} diff --git a/common/gnome-shell/3.16/parse-sass.sh b/common/gnome-shell/3.16/parse-sass.sh deleted file mode 100755 index 34eb227..0000000 --- a/common/gnome-shell/3.16/parse-sass.sh +++ /dev/null @@ -1,3 +0,0 @@ -#! /bin/bash - -bundle exec sass --update --style=nested --sourcemap=none . diff --git a/common/gnome-shell/3.16/sass/_colors.scss b/common/gnome-shell/3.16/sass/_colors.scss new file mode 100644 index 0000000..ee3049c --- /dev/null +++ b/common/gnome-shell/3.16/sass/_colors.scss @@ -0,0 +1,58 @@ +// When color definition differs for dark and light variant, +// it gets @if ed depending on $variant + + +$base_color: #ffffff; +$text_color: #5c616c; +$bg_color: #f9fafb; +$fg_color: #5c616c; + +$selected_fg_color: #ffffff; +$selected_bg_color: #5294E2; +$selected_borders_color: darken($selected_bg_color, 20%); +$borders_color: darken($bg_color,9%); + +$link_color: darken($selected_bg_color,10%); +$link_visited_color: darken($selected_bg_color,20%); + +$selection_mode_bg: rgba(36, 80, 130, 0.95); +$warning_color: #F27835; +$error_color: #FC4138; +$success_color: #73d216; +$destructive_color: #F04A50; +$suggested_color: #9EA4B5; + +$osd_fg_color: #A8ADB5; +$osd_bg_color: transparentize(#3c4049, 0.05); +$osd_button_bg: darken($osd_bg_color, 3%); + +$osd_insensitive_bg_color: darken($osd_bg_color, 3%); +$osd_insensitive_fg_color: mix($osd_fg_color, opacify($osd_bg_color, 1), 30%); +$osd_borders_color: transparentize(black, 0.3); + + +$tooltip_bg: $osd_bg_color; +$tooltip_fg: #edf5fb; +$tooltip_borders_color: transparentize(white, 0.9); + +//insensitive state derived colors +$insensitive_fg_color: transparentize($fg_color, 0.45); +$insensitive_bg_color: mix($bg_color, $base_color, 40%); + + +$entry_bg: $base_color; +$entry_border: #cfd6e6; +$entry_focus_border: $selected_bg_color; + +$button_bg: lighten($bg_color, 1%); +$button_border: $entry_border; + +$header_bg: transparentize(#e7e8eb, 0.05); +$header_fg: saturate(transparentize($fg_color, 0.2), 10%); + +$dark_sidebar_bg: $osd_bg_color; +$dark_sidebar_fg: $osd_fg_color; +$dark_sidebar_border: $dark_sidebar_bg; + +$panel_bg: darken($dark_sidebar_bg, 10%); +$panel_fg: $dark_sidebar_fg; diff --git a/common/gnome-shell/3.16/sass/_common.scss b/common/gnome-shell/3.16/sass/_common.scss new file mode 100644 index 0000000..a41b8d8 --- /dev/null +++ b/common/gnome-shell/3.16/sass/_common.scss @@ -0,0 +1,2231 @@ +//This is the RIGHT PLACE to edit the stylesheet + +$panel-corner-radius: 0px; + +/* Copyright 2009, 2015 Red Hat, Inc. + * + * Portions adapted from Mx's data/style/default.css + * Copyright 2009 Intel Corporation + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU Lesser General Public License, + * version 2.1, as published by the Free Software Foundation. + * + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. + */ + +// +// Globals +// +$font-size: 9; +$font-family: Cantarell, Sans-Serif; +$_bubble_bg_color: opacify($osd_bg_color,0.25); +$_bubble_fg_color: $osd_fg_color; +$_bubble_borders_color: transparentize($osd_fg_color,0.8); + +stage { + font-family: $font-family; + @include fontsize($font-size); + color: $fg_color; +} + +%reset_style { + background-color: transparent !important; + background-gradient-direction: none !important; + border: none !important; + border-radius: 0 !important; +} + +// +// Buttons +// +.button { + min-height: 20px; + padding: 5px 32px; + transition-duration: 0; + border-radius: 2px; + + @include button(normal); + + &:focus { @include button(focus); } + + &:hover { @include button(hover); } + + &:hover:focus { @include button(focus-hover); } + + &:active, &:active:focus { @include button(active); } + + &:insensitive { @include button(insensitive); } +} + +// +// Entries +// +StEntry { + padding: 7px; + caret-size: 1px; + selection-background-color: $selected_bg_color; + selected-color: $selected_fg_color; + transition-duration: 300ms; + border-radius: 20px; + + @include entry(normal); + + &:focus, &:hover { @include entry(focus); } + + &:insensitive { @include entry(insensitive); } + + StIcon.capslock-warning { + icon-size: 16px; + warning-color: $warning_color; + padding: 0 4px; + } +} + +// +// Scrollbars +// +StScrollView { + &.vfade { -st-vfade-offset: 0px; } + &.hfade { -st-hfade-offset: 0px; } +} + +StScrollBar { + + padding: 8px; + + StScrollView & { + min-width: 5px; + min-height: 5px; + } + + StBin#trough { + background-color: transparentize($base_color, 0.9); + border-radius: 8px; + } + + StButton#vhandle, StButton#hhandle { + border-radius: 4px; + background-color: mix($fg_color, $bg_color, 40%); + border: 0px solid; + margin: 0px; + + &:hover { background-color: mix($fg_color, $bg_color, 30%); } + + &:active { background-color: $selected_bg_color; } + } +} + +// +// Slider +// +.slider { + -slider-height: 4px; + -slider-background-color: $button_border; //background of the trough + -slider-border-color: transparentize(black, 1); //trough border color + -slider-active-background-color: $selected_bg_color; //active trough fill + -slider-active-border-color: transparentize(black, 1); //active trough border + -slider-border-width: 0; + -slider-handle-radius: 4px; + height: 18px; + border: 0 solid transparent; + border-right-width: 1px; + border-left-width: 5px; + color: transparent; +} + +// +// Check Boxes +// +.check-box { + + StBoxLayout { spacing: .8em; } + + StBin { + width: 16px; + height: 16px; + background-image: url("checkbox/checkbox-unchecked.svg"); + } + + &:focus StBin { background-image: url("checkbox/checkbox-unchecked-focused.svg"); } + + &:checked StBin { background-image: url("checkbox/checkbox-checked.svg"); } + + &:focus:checked StBin { background-image: url("checkbox/checkbox-checked-focused.svg"); } +} + +// +// Switches +// +.toggle-switch { + width: 52px; + height: 24px; + background-size: contain; + + &-us, &-intl { + background-image: url("switch/switch-off.svg"); + + &:checked { background-image: url("switch/switch-on.svg"); } + } +} + +// +// Links +// +.shell-link { + color: $link_color; + + &:hover { color: lighten($link_color,10%); } +} + +// +// Modal Dialogs +// +.headline { font-size: 110%; } +.lightbox { background-color: black; } +.flashspot { background-color: white; } + +.modal-dialog { + border-radius: 3px; + color: $fg_color; + background-color: transparentize($bg_color, 1); + border: none; + border-image: url("misc/modal.svg") 10 10 10 10; + padding: 0 6px 6px 6px; + + > * { padding: 14px; } + + &-button-box { + spacing: 0px; + margin: 0px; + padding: 12px 24px; + background-color: opacify($osd_bg_color, 1); + border: solid 0px rgba(0,0,0,0.3); + border-top: 1px; + border-radius: 0px 0px 1px 1px; + + .button { + @include button(osd); + + &:hover { @include button(osd-hover); } + &:focus { color: $selected_bg_color; } + &:active { @include button(osd-active); } + &:insensitive { @include button(osd-insensitive); } + } + } + + .run-dialog-entry { width: 23em; } + .run-dialog-error-box { + padding-top: 5px; + spacing: 5px; + } + + //.run-dialog-button-box { padding-top: 1em; } + .run-dialog-label { + @include fontsize($font-size * 1.1); + font-weight: normal; + color: $fg_color; + padding-bottom: .8em; + } +} + +//.button-dialog-button-box { +//} + +.show-processes-dialog-subject, +.mount-question-dialog-subject, +.end-session-dialog-subject { //this should be a generic header class + @include fontsize($font-size * 1.2); + font-weight: bold; + color: $fg_color; +} + +// +// End Session Dialog +// +.end-session-dialog { + spacing: 42px; + //border: 3px solid $_bubble_borders_color; + + &-list { + padding-top: 20px; + } + + &-layout { + padding-left: 17px; + &:rtl { padding-right: 17px; } + } + + &-description { + width: 28em; + padding-bottom: 10px; + &:rtl { + text-align: right; + } + } + + &-warning { + width: 28em; + color: $warning_color; + padding-top: 6px; + &:rtl { + text-align: right; + } + } + + &-logout-icon { + border: 0px solid transparent; + border-radius: 2px; + width: 48px; + height: 48px; + background-size: contain; + } + + &-shutdown-icon { + color: $fg_color; + width: 48px; + height: 48px; + } + + &-inhibitor-layout { + spacing: 16px; + max-height: 200px; + padding-right: 10px; + padding-left: 10px; + } + + &-session-list, &-app-list { + spacing: 1em; + } + + &-list-header { + font-weight: bold; + &:rtl { text-align: right; } + } + + &-app-list-item, &-session-list-item { + spacing: 1em; + } + + &-app-list-item-name, &-session-list-item-name { + font-weight: bold; + } + + &-app-list-item-description { + color: lighten($fg_color,5%); + @include fontsize($font-size * 0.9); + } + + // Shutdown Button + .button:last-child { + color: $selected_fg_color; + background-color: $destructive_color; + border-color: $destructive_color; + + &:hover { + color: $selected_fg_color; + background-color: lighten($destructive_color, 9%); + border-color: lighten($destructive_color, 9%); + } + &:active { + color: $selected_fg_color; + background-color: darken($destructive_color, 5%); + border-color: darken($destructive_color, 5%); + } + } +} + +// +// 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; + + &:rtl { + padding-left: 0px; + padding-right: 17px; + } +} + +.mount-question-dialog-subject { + max-width: 500px; +} + +.show-processes-dialog-description, +.mount-question-dialog-description { + padding-left: 17px; + width: 28em; + + &:rtl { + padding-right: 17px; + } +} + +.show-processes-dialog-app-list { + @include fontsize($font-size * 1.1); + 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: darken($fg_color,10%); + &:hover { color: $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 fontsize($font-size * 1.1); +} + +// +// Password or Authentication Dialog +// +.prompt-dialog { + //this is the width of the entire modal popup + width: 500px; + //border: 3px solid $_bubble_borders_color; + + &-main-layout { + spacing: 24px; + padding: 10px; + } + + &-message-layout { + spacing: 16px; + } + + &-headline { + @include fontsize($font-size * 1.3); + font-weight: bold; + color: $fg_color; + } + + &-descritption:rtl { + text-align: right; + } + + &-password-box { + spacing: 1em; + padding-bottom: 1em; + } + + &-error-label { + @include fontsize($font-size); + color: $error_color; + padding-bottom: 8px; + } + + &-info-label { + @include fontsize($font-size); + padding-bottom: 8px; + } + + &-null-label { + @include fontsize($font-size); + padding-bottom: 8px; + } +} + +.hidden { + color: transparentize(black, 1); +} + +// +// Polkit Dialog +// +.polkit-dialog-user { + + &-layout { + padding-left: 10px; + spacing: 10px; + &:rtl { + padding-left: 0px; + padding-right: 10px; + } + } + + &-root-label { + color: $warning_color; + } + + &-user-icon { + border-radius: 2px; + background-size: contain; + width: 48px; + height: 48px; + } +} + +// +// Network Agent Dialog +// +.network-dialog-secret-table { + spacing-rows: 15px; + spacing-columns: 1em; +} + +.keyring-dialog-control-table { + spacing-rows: 15px; + spacing-columns: 1em; +} + +// +// Popvers/Menus +// +.popup-menu { + min-width: 200px; + color: $fg_color; + border-image: url("menu/menu.svg") 10 10 35 14; + + .popup-menu-arrow { } //defined globally in the TOP BAR + .popup-sub-menu { + background: none; + box-shadow: none; + border-image: url("menu/submenu.svg") 8 8 2 2; + } + + .popup-menu-content { padding: 1em 0em 1em 0em; } + .popup-menu-item { + spacing: 12px; + + &:ltr { padding: .4em 3em .4em 0em; } + &:rtl { padding: .4em 0em .4em 3em; } + + &:checked { + background: none; + box-shadow: none; + font-weight: normal; + border-image: url("menu/submenu-open.svg") 8 8 2 2; + } + + &:active, &.selected { + color: $fg_color; + background-color: transparent; + border-image: url("menu/menu-hover.svg") 7 7 1 1; + } + + &:insensitive { + color: transparentize($fg_color, 0.5); + background: none; + } + } + + .popup-inactive-menu-item { //all icons and other graphical elements + color: $fg_color; + + &:insensitive { color: $insensitive_fg_color; } + } + //.popup-status-menu-item { font-weight: normal; color: pink; } //dunno what that is + &.panel-menu { + -boxpointer-gap: 0px; + margin-bottom: 1.75em; + } +} + +.popup-menu-ornament { + text-align: right; + margin-left: 10px; + width: 16px; +} + +.popup-menu-boxpointer { + -arrow-border-radius: 2px; + -arrow-background-color: rgba(0,0,0,0.0); + -arrow-border-width: 1px; + -arrow-border-color: rgba(0,0,0,0.0); + -arrow-base: 0; + -arrow-rise: 0; +} + +.candidate-popup-boxpointer { + -arrow-border-radius: 2px; + -arrow-background-color: $panel_bg; + -arrow-border-width: 1px; + -arrow-border-color: darken($panel_bg, 7%); + -arrow-base: 5; + -arrow-rise: 5; +} + +.popup-separator-menu-item { + //-margin-horizontal: 24px; + height: 2px; //not really the whole box + margin: 10px 0px; + background-color: transparent; + border: none; + border-image: url("menu/menu-separator.svg") 1 1 1 1; +} + +// Background menu +.background-menu { -boxpointer-gap: 4px; -arrow-rise: 0px; } + +// 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 +// + +// +// OSD +// +.osd-window { + text-align: center; + font-weight: bold; + spacing: 1em; + padding: 20px; + margin: 32px; + min-width: 64px; + min-height: 64px; + + color: $selected_fg_color; + background: none; + border: none; + border-radius: 5px; + border-image: url("misc/osd.svg") 10 10 9 11; + +.osd-monitor-label { font-size: 3em; } + + .level { + padding: 0; + height: 4px; + background-color: transparentize(black, 0.5); + border-radius: 2px; + color: $selected_bg_color; + } +} + +.resize-popup { + color: $osd_fg_color; + background: none; + border: none; + border-radius: 5px; + border-image: url("misc/osd.svg") 10 10 9 11; + padding: 12px; +} + +// +// Alt Tab Switcher +// +.switcher-popup { + padding: 8px; + spacing: 16px; +} + +.switcher-list { + background: none; + border: none; + border-image: url("misc/bg.svg") 10 10 35 14; + border-radius: 3px; + padding: 20px; + + &-item-container { spacing: 8px; } + + .item-box { + padding: 8px; + border-radius: 2px; + + &:outlined { + padding: 6px; + border: 1px solid $selected_bg_color; + } + + &:selected { + color: $selected_fg_color; + background-color: $selected_bg_color; + border: 1px solid $selected_bg_color; + + } + } + + .thumbnail-box { + padding: 2px; + spacing: 4px; + } + + .thumbnail { + width: 256px; + } + + .separator { + width: 1px; + background: transparentize($fg_color, 0.67); + } +} + +.switcher-arrow { + border-color: rgba(0,0,0,0); + color: $osd_fg_color; + + &:highlighted { + color: $selected_fg_color; + } +} + +.input-source-switcher-symbol { + font-size: 34pt; + width: 96px; + height: 96px; +} + +// +// Workspace Switcher +// +.workspace-switcher { + + background: transparent; + border: 0px; + border-radius: 0px; + padding: 0px; + spacing: 8px; + + &-group { padding: 12px; } + + &-container { + border-image: url("misc/bg.svg") 10 10 35 14; + border-radius: 3px; + padding: 20px; + padding-bottom: 24px; + } +} + +.ws-switcher-active-up, .ws-switcher-active-down { + height: 30px; + background-color: $selected_bg_color; + background-size: 96px; + border-radius: 2px; + border: 1px solid $selected_bg_color; +} + +.ws-switcher-active-up { + background-image: url("misc/ws-switch-arrow-up.png"); +} + +.ws-switcher-active-down { + background-image: url("misc/ws-switch-arrow-down.png"); +} + +.ws-switcher-box { + height: 96px; + background-color: transparentize(black, 0.67); + border-color: transparentize(black, 0.67); + border-radius: 2px; +} + +// +// Tiled window previews +// +.tile-preview { + background-color: transparentize($selected_bg_color, 0.65); + border: 1px solid $selected_bg_color; + + &-left.on-primary { + border-radius: $panel-corner-radius 0 0 0; + } + + &-right.on-primary { + border-radius: 0 $panel-corner-radius 0 0; + } + + &-left.tile-preview-right.on-primary { + border-radius: $panel-corner-radius $panel-corner-radius 0 0; + } +} + +// +// Top Bar +// +#panel { + background-color: $panel_bg; + border-color: darken($panel_bg, 9%); + border-bottom-width: 1px; + font-weight: bold; + height: 2.1em; + min-height: 26px; + + &.unlock-screen, + &.login-screen, + &.lock-screen { + background-color: transparent; + border-image: none; + } + + &:overview { background-color: transparentize(darken($panel_bg,10%), 0.15); } + + #panelLeft, #panelCenter { // spacing between activities<>app menu and such + spacing: 8px; + } + + .panel-corner { + -panel-corner-radius: $panel-corner-radius; + -panel-corner-background-color: transparentize(black, 1); + -panel-corner-border-width: 0px; + -panel-corner-border-color: black; + + &:active, &:overview, &:focus { + -panel-corner-border-color: black; + } + + &.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: bold; + color: $selected_fg_color; + transition-duration: 100ms; + + .app-menu-icon { + width: 0; + height: 0; + margin-left: 4px; + margin-right: 4px; + } + + &:hover { + color: $selected_fg_color; + background-color: transparentize(black, 0.83); + } + + &:active, &:overview, &:focus, &:checked { + color: $selected_fg_color; + background-color: $selected_bg_color; + box-shadow: none; + + & > .system-status-icon { icon-shadow: none; } + } + + .system-status-icon { icon-size: 16px; padding: 0 8px; } + .unlock-screen &, + .login-screen &, + .lock-screen & { + color: lighten($fg_color, 10%); + &:focus, &:hover, &:active { color: lighten($fg_color, 10%); } + } + } + + .panel-status-indicators-box, + .panel-status-menu-box { + spacing: 2px; + } + + .screencast-indicator { color: red; } +} + +// Activities button +#panelActivities > *, +#panelActivities:hover > *, +#panelActivities:focus > *, +#panelActivities:active > *, +#panelActivities:overview > *, +#panel:overview #panelActivities.panel-button:active > *, +#panel:overview #panelActivities.panel-button:focus > * { + background-image: url("misc/activities.svg"); + background-position: center top; + width: 24px; + height: 24px; + background-color: transparent !important; + background-gradient-direction: none !important; + border: 0 solid transparent !important; + text-shadow: 0 0 transparent !important; + transition-duration: 0ms !important; + box-shadow: none !important; + color: transparent; +} + + // a little unstructured mess: + + .system-switch-user-submenu-icon { + icon-size: 24px; + border: 1px solid transparentize($fg_color,0.6); + } + + #appMenu { + spinner-image: url("misc/process-working.svg"); + spacing: 4px; + + .label-shadow { color: transparent; } + } + + .aggregate-menu { + width: 360px; + .popup-menu-icon { padding: 0 4px; } + } + + .system-menu-action { + padding: 13px; + color: $fg_color; + border-radius: 32px; /* wish we could do 50% */ + border: 1px solid transparent; + + &:hover, &:focus { + transition-duration: 100ms; + padding: 13px; + color: $fg_color; + background-color: transparent; + border: 1px solid $selected_bg_color; + } + &:active { + color: $selected_fg_color; + background-color: $selected_bg_color; + border: 1px solid $selected_bg_color; + } + + & > StIcon { icon-size: 16px; } + } + +// +// 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 { + border-radius: 3px; + padding: .4em; +} + +.message-list-section-list:ltr { + padding-left: .4em; +} + +.message-list-section-list:rtl { + padding-right: .4em; +} + +.datemenu-today-button, +.world-clocks-button, +.message-list-section-title { + padding: 7px 10px 7px 10px; + border: 1px solid transparentize($base_color, 1); + + &:hover, &:focus { + @include button(hover); + } + + &:active { + @include button(active); + } +} + +.datemenu-today-button .day-label { +} + +.datemenu-today-button .date-label { + font-size: 1.5em; +} + +.world-clocks-header, +.message-list-section-title { + color: transparentize($fg_color, 0.6); + font-weight: bold; +} + +.world-clocks-button:active .world-clocks-header { + color: $selected_fg_color; +} + +.world-clocks-grid { + spacing-rows: 0.4em; +} + +.calendar-month-label { + color: $fg_color; + font-weight: bold; + padding: 8px 0; + &:focus {} +} + +.pager-button { + color: transparent; + background-color: transparent; + width: 32px; + border-radius: 2px; + + &:focus, &:hover, &:active { background-color: transparent; } +} + +//arrow back +.calendar-change-month-back { + background-image: url("misc/calendar-arrow-left.svg"); + + &:focus, &:hover { background-image: url("misc/calendar-arrow-left-hover.svg"); } + + &:active { background-image: url("misc/calendar-arrow-left.svg"); } + + &:rtl { + background-image: url("misc/calendar-arrow-right.svg"); + + &:focus, &:hover { background-image: url("misc/calendar-arrow-right-hover.svg"); } + + &:active { background-image: url("misc/calendar-arrow-right.svg"); } + } +} + +//arrow forward +.calendar-change-month-forward { + background-image: url("misc/calendar-arrow-right.svg"); + + &:focus, &:hover { background-image: url("misc/calendar-arrow-right-hover.svg"); } + + &:active { background-image: url("misc/calendar-arrow-right.svg"); } + + &:rtl { + background-image: url("misc/calendar-arrow-left.svg"); + + &:focus, &:hover { background-image: url("misc/calendar-arrow-left-hover.svg"); } + + &:active { background-image: url("misc/calendar-arrow-left.svg"); } + } +} + +.calendar-day-base { + font-size: 80%; + text-align: center; + width: 25px; height: 25px; + padding: 0.1em; + margin: 2px; + border-radius: 12.5px; + + &:hover, &:focus { background-color: transparentize(black, 0.9); } + + &:active { + color: $fg_color; + background-color: transparentize(black, 0.85); + border-width: 0; //avoid jumparound due to today + } + + &.calendar-day-heading { //day of week heading + color: transparentize($fg_color, 0.15); + margin-top: 1em; + font-size: 70%; + } +} + +.calendar-day { //border collapse hack - see calendar.js + border-width: 0; + color: transparentize($fg_color, 0.2); +} + +.calendar-day-top { border-top-width: 0; } + +.calendar-day-left { border-left-width: 0; } + +.calendar-work-day { + +} + +.calendar-nonwork-day { + color: $fg_color; + font-weight: bold; +} + +.calendar-today, +.calendar-today:active, +.calendar-today:focus, +.calendar-today:hover { + font-weight: bold; + color: $selected_fg_color; + background-color: $selected_bg_color; + border-width: 0; +} + +.calendar-day-with-events { + color: $selected_bg_color; + font-weight: bold; +} + +.calendar-today.calendar-day-with-events { color: $selected_fg_color; } + +.calendar-other-month-day { + color: transparentize($fg_color, 0.7); + opacity: 1; +} + +// +// 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 { + icon-size: 16px; + border-radius: 8px; + color: $selected_fg_color; + background-color: transparentize($fg_color, 0.5); +} + +.message-list-section-close:hover > StIcon, +.message-list-section-close:focus > StIcon { + color: $selected_fg_color; + background-color: $fg_color; +} + +.message-list-section-close:active > StIcon { + color: $selected_fg_color; + background-color: $selected_bg_color; +} + +.message { + padding: 4px; + color: $fg_color; + background-color: $button_bg; + border: 1px solid $button_border; + + &:hover, &:focus { + color: $fg_color; + background-color: $button_bg; + border: 1px solid $selected_bg_color; + } + + &:active { + color: $selected_fg_color; + background-color: $selected_bg_color; + border: 1px solid $selected_bg_color; + } +} + +.message-icon-bin { + padding: 8px 0px 8px 8px; + + &:rtl { padding: 8px 8px 8px 0px; } +} + +.message-icon-bin > StIcon { + icon-size: 48px; +} + +.message-secondary-bin { + color: transparentize($fg_color, 0.6); +} + +.message-secondary-bin > StIcon { + icon-size: 16px; +} + +.message-title { + font-weight: bold; + padding: 2px 0 2px 0; +} +.message-content { + padding: 8px; +} + + +// +//Activities Ripples +// +.ripple-box { + width: 52px; + height: 52px; + background-image: url("misc/corner-ripple-ltr.svg"); + background-size: contain; + + &:rtl { background-image: url("misc/corner-ripple-rtl.svg"); } +} + +// not really top bar only +.popup-menu-arrow { width: 16px; height: 16px; } +.popup-menu-icon { icon-size: 16px; } + + +// +//Close buttons +// +.window-close { + background-image: url("misc/close.svg"); + background-size: 26px; + height: 26px; + width: 26px; + + &:hover { + background-image: url("misc/close-hover.svg"); + background-size: 26px; + height: 26px; + width: 26px; + } + + &:active { + background-image: url("misc/close-active.svg"); + background-size: 26px; + height: 26px; + width: 26px; + } +} + +.window-close { + -shell-close-overlap: 11px; +} + +// +// Network Dialogs +// +.nm-dialog { + max-height: 500px; + min-height: 450px; + min-width: 470px; + + &-content { spacing: 20px; } + + &-header-hbox { spacing: 10px; } + + &-airplane-box { spacing: 12px; } + + &-airplane-headline { + font-size: 1.1em; + font-weight: bold; + text-align: center; + } + + &-airplane-text { color: $fg_color; } + + &-header-icon { icon-size: 32px; } + + &-scroll-view { + border: 1px solid $borders_color; + border-radius: 2px; + background-color: $base_color; + } + + &-header { + font-weight: bold; + font-size: 1.2em; + } + + &-item { + font-size: 1em; + border-bottom: 0px solid; + padding: 12px; + spacing: 0px; + + &:selected { + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + + &-icons { spacing: .5em; } + + &-icon { icon-size: 16px; } +} + +.no-networks-label { color: $insensitive_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: 3px solid transparentize($selected_bg_color, 0.2); + border-radius: 4px; + box-shadow: inset 0px 0px 0px 1px transparentize($selected_bg_color, 1); +} + +.window-caption, .window-caption:hover { + spacing: 25px; + color: $osd_fg_color; + background-color: transparentize(black, 0.3); + border-radius: 2px; + padding: 4px 12px; + -shell-caption-spacing: 12px; +} + +// +// Search Entry +// +.search-entry { + width: 320px; + padding: 7px 9px; + border-radius: 20px; + border: 1px solid transparentize(black, 0.75); + background-color: transparentize($entry_bg, 0.1); + + &:focus { + padding: 7px 9px; + } + + .search-entry-icon { + icon-size: 16px; + padding: 0 4px; + color: $fg_color; + } + + &:hover, &:focus { + color: $selected_fg_color; + caret-color: $selected_fg_color; + background-color: $selected_bg_color; + + .search-entry-icon { color: $selected_fg_color; } + } +} + +// +// Search Results +// +#searchResultsBin { max-width: 1000px; } + +#searchResultsContent { + padding-left: 20px; + padding-right: 20px; + spacing: 16px; +} + +// This should be equal to #searchResultsContent spacing +.search-section { spacing: 16px; } + +// This is the space between the provider icon and the results container +.search-section-content { spacing: 32px; } + +// "no results" +.search-statustext { + @extend %status_text; +} + +.list-search-results { spacing: 3px; } + +.search-section-separator { + background-color: transparentize(white, 0.8); + -margin-horizontal: 1.5em; + height: 1px; +} + +.list-search-result-content { spacing: 12px; padding: 12px; } + +.list-search-result-title { font-size: 1.5em; color: $selected_fg_color; } + +.list-search-result-description { color: darken($selected_fg_color, 20%); } + +.search-provider-icon { padding: 15px; } +.search-provider-icon-more { + width: 16px; + height: 16px; + background-image: url("misc/more-results.svg"); +} + +// +// Dash +// +#dash { + font-size: 1em; + color: $osd_fg_color; + background-color: transparentize($panel_bg, 0.08); + padding: 6px 0px 6px 0px; + border-color: transparentize(darken($panel_bg, 9%), 0.08); + border-radius: 0px 3px 3px 0px; + + .right &, + &:rtl { + padding: 6px 0px 6px 0px; + border-radius: 3px 0 0 3px; + } + + .bottom & { + padding: 0px 6px 0px 6px; + border-radius: 3px 3px 0 0; + } + + .top & { + padding: 0px 6px 0px 6px; + border-radius: 0 0 3px 3px; + } + + .placeholder { + background-image: url("dash/dash-placeholder.svg"); + background-size: contain; + height: 24px; + } + + .empty-dash-drop-target { + width: 24px; + height: 24px; + } +} + +.dash-item-container > StWidget { + padding: 0px 4px 0px 5px; + + .right &, &:rtl { padding: 0px 5px 0px 4px; } + .bottom & { padding: 4px 0px 5px 0px; } + .top & { padding: 5px 0px 4px 0px; } +} + +//osd tooltip +.dash-label { + border-radius: 3px; + padding: 4px 12px; + color: $selected_fg_color; + background-color: transparentize(black, 0.3); + text-align: center; + -x-offset: 3px; + + .bottom &, .top & { + -y-offset: 3px; + -x-offset: 0; + } +} + +// Dash Buttons +#dash .app-well-app { + + .overview-icon, + .right & .overview-icon, + .bottom & .overview-icon, + .top & .overview-icon { + padding: 10px; + } + + &:hover .overview-icon, + .right &:hover .overview-icon, + .bottom &:hover .overview-icon, + .top &:hover .overview-icon { + background-color: $selected_bg_color; + } + + &:active .overview-icon, + .right &:active .overview-icon, + .bottom &:active .overview-icon, + .top &:active .overview-icon { + box-shadow: none; + background-color: darken($selected_bg_color, 10%); + } + + &-running-dot { + width: 11px; + height: 2px; + margin-bottom: 6px; + background-color: $selected_bg_color; + } +} + +.show-apps { + + .overview-icon { + padding: 11px; + background-color: transparentize(black, 0.5); + border-radius: 2px; + border: 0px solid; + } + + &:hover .overview-icon { + background-color: transparentize(black, 0.3); + color: $selected_bg_color; + } + + &:active .overview-icon, + &:active .show-apps-icon, + &:checked .overview-icon, + &:checked .show-apps-icon { + color: $selected_fg_color; + background-color: $selected_bg_color; + box-shadow: none; + transition-duration: 0ms; + } +} + +// +// 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; } + +//favorties | all toggle container +.app-view-controls { padding-bottom: 32px; } + +//favorties | all toggle button +.app-view-control { + padding: 4px 32px; + + color: transparentize($selected_fg_color, 0.2); + background-color: transparentize(darken($panel_bg,10%), 0.15); + border-color: transparentize($osd_fg_color, 0.7); + + &:hover { + color: $selected_fg_color; + background-color: transparentize(darken($panel_bg,10%), 0.15); + border-color: $selected_bg_color; + } + &:checked { @include button(osd-active); } + + &:first-child:ltr, &:last-child:rtl { + border-radius: 2px 0 0 2px; + + + &:hover { } + } + &:last-child:ltr, &:first-child:rtl { + border-radius: 0 2px 2px 0; + + &:hover { } + } +} + +// +// Icon Tile +// +.search-provider-icon, +.list-search-result { + @extend %icon_tile; + + &:active, &:checked { background-color: transparentize(darken($osd_bg_color,10%),.1); } + + &:focus, &:selected, &:hover { + background-color: transparentize($osd_fg_color,.6); + transition-duration: 200ms; + } +} +.app-well-app, +.app-well-app.app-folder, +//.show-apps, +.grid-search-result { + + .overview-icon { + @extend %icon_tile; + } + + &:active .overview-icon, + &:checked .overview-icon { + background-color: transparentize(darken($osd_bg_color,10%),.1); + box-shadow: inset 0 0 $selected_bg_color; + } + + &:hover .overview-icon, + &:focus .overview-icon, + &:selected .overview-icon { + background-color: transparentize($osd_fg_color,.6); + transition-duration: 0ms; + border-image: none; + background-image: none; + } +} + +.app-well-app-running-dot { //running apps indicator + width: 20px; + height: 2px; + margin-bottom: 4px; + background-color: $selected_bg_color; +} + +%icon_tile { + color: $selected_fg_color; + border-radius: 2px; + padding: 6px; + border: 1px solid transparent; + transition-duration: 0ms; + text-align: center; +} + +// +// Collections +// +.app-well-app.app-folder { + + > .overview-icon { + background-color: transparentize(darken($panel_bg,10%), 0.15); + border: 1px solid transparentize($osd_fg_color, 0.7); + } + + &:hover > .overview-icon { + background-color: lighten($panel_bg, 10%); + } + + &:active > .overview-icon, &:checked > .overview-icon { + background-color: $selected_bg_color; + box-shadow: none; + } + + &:focus > .overview-icon { + background-color: $selected_bg_color; + } +} + +.app-folder-popup { //expanded collection + -arrow-border-radius: 2px; + -arrow-background-color: transparentize(darken($panel_bg,10%), 0.15); + -arrow-border-color: transparentize($osd_fg_color, 0.7); + -arrow-border-width: 1px; + -arrow-base: 5; + -arrow-rise: 5; +} +.app-folder-popup-bin { padding: 5px; } +.app-folder-icon { + padding: 5px; + spacing-rows: 5px; + spacing-columns: 5px; +} + +.page-indicator { + padding: 15px 20px; + + .page-indicator-icon { + width: 18px; + height: 18px; + background-image: url(misc/page-indicator-inactive.svg); + } + + &:hover .page-indicator-icon { background-image: url(misc/page-indicator-hover.svg); } + &:active .page-indicator-icon { background-image: url(misc/page-indicator-active.svg); } + &:checked .page-indicator-icon, + &:checked:active { background-image: url(misc/page-indicator-checked.svg); } +} + +.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 { //container ala dash + visible-width: 40px; //amount visible before hover + spacing: 11px; + padding: 12px; + padding-right: 7px; + border-radius: 3px 0 0 3px; + background-color: transparentize($panel_bg, 0.08); + border-color: transparentize(darken($panel_bg, 9%), 0.08); + + &:rtl { + padding: 12px; + padding-left: 7px; + border-radius: 0 3px 3px 0; + } +} + +.workspace-thumbnail-indicator { + border: 4px solid transparentize($selected_bg_color, 0.2); + border-radius: 1px; + padding: 1px; +} + +//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: 0px 88px 10px 88px; +} + +%status_text { + font-size: 2em; + font-weight: bold; + color: $fg_color; +} + +// +// Notifications & Message Tray +// +.url-highlighter { link-color: $link_color; } + +// Banners +.notification-banner, +.notification-banner:hover, +.notification-banner:focus { + font-size: 1em; + width: 34em; + margin: 5px; + padding: 10px; + border-radius: 2px; + color: $fg_color; + background-color: $bg_color; + border: 0px solid transparent; + box-shadow: 0 1px 5px transparentize(black, 0.8); + + .notification-icon { padding: 5px; } + + .notification-content { padding: 5px; spacing: 5px; } + + .secondary-icon { icon-size: 1.09em; } + + .notification-actions { + background-color: transparent; + padding: 2px 2px 0 2px; + spacing: 1px; + } + .notification-button { + padding: 4px 4px 5px; + @extend .button; + + &:first-child, &:last-child { + border-radius: 2px; + } + } +} + +.secondary-icon { icon-size: 1.09em; } + +// Chat Bubbles +.chat-body { spacing: 5px; } +.chat-response { margin: 5px; } +.chat-log-message { color: $fg_color; } +.chat-new-group { padding-top: 1em; } +.chat-received { + padding-left: 4px; + + &:rtl { padding-left: 0px; padding-right: 4px; } +} + +.chat-sent { + padding-left: 18pt; + color: $selected_bg_color; + + &:rtl { padding-left: 0; padding-right: 18pt; } +} + +.chat-meta-message { + padding-left: 4px; + font-size: 9pt; + font-weight: bold; + color: transparentize($fg_color, 0.4); + + &:rtl { padding-left: 0; padding-right: 4px; } +} + +.subscription-message { font-style: italic; } + +// 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 { + icon-size: 24px; + padding: 2px 5px; + } + + .hotplug-resident-box { spacing: 8px; } + + .hotplug-resident-mount { + spacing: 8px; + border-radius: 4px; + &:hover { background-color: transparentize($bg_color,0.7); } + } + + .hotplug-resident-mount-label { + color: inherit; + padding-left: 6px; + } + + .hotplug-resident-mount-icon { + icon-size: 24px; + padding-left: 6px; + } + + .hotplug-resident-eject-icon { + icon-size: 16px; + } + + .hotplug-resident-eject-button { + padding: 7px; + border-radius: 5px; + color: pink; + } + +// Eeeky things + +$legacy_icon_size: 24px; + +.legacy-tray { + background-color: $panel_bg; + border-width: 0; + + &: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; + & StIcon { icon-size: $legacy_icon_size; } + &:hover, &:focus { background-color: transparentize($fg_color,0.9); } +} + +.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; } +} + +// +// On-Screen Keyboard +// +#keyboard { + background-color: transparentize($panel_bg, 0.05); +} + + .keyboard-layout { + spacing: 10px; + padding: 10px; + } + + .keyboard-row { + spacing: 15px; + } + + .keyboard-key { + @include button(osd); + min-height: 2em; + min-width: 2em; + font-size: 14pt; + font-weight: bold; + border-radius: 3px; + box-shadow: none; + &:focus { @include button(focus); } + &:hover,&:checked { @include button(osd-hover); } + &:active { @include button(osd-active);} + &:grayed { //FIXME + background-color: $osd_bg_color; + color: $osd_fg_color; + border-color: $osd_borders_color; + } + } + + .keyboard-subkeys { //long press on a key popup + color: white; + padding: 5px; + -arrow-border-radius: 2px; + -arrow-background-color: transparentize($panel_bg, 0.05); + -arrow-border-width: 0px; + -arrow-border-color: transparent; + -arrow-base: 20px; + -arrow-rise: 10px; + -boxpointer-gap: 5px; + } + +// +// IBus Candidate Popup +// +.candidate-popup-content { + padding: 0.5em; + spacing: 0.3em; + color: $osd_fg_color; +} + + .candidate-index { + padding: 0 0.5em 0 0; + color: lighten($osd_fg_color, 10%); + } + + .candidate-box { + padding: 0.3em 0.5em 0.3em 0.5em; + border-radius: 4px; + color: $osd_fg_color; + &:selected,&:hover { background-color: $selected_bg_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; + } + + .candidate-page-button-previous { border-radius: 2px 0px 0px 2px; border-right-width: 0; } + .candidate-page-button-next { border-radius: 0px 2px 2px 0px; } + .candidate-page-button-icon { icon-size: 1em; } + +// +// Auth Dialogs & Screen Shield +// +.framed-user-icon { + background-size: contain; + border: 0px solid transparent; + color: $fg_color; + border-radius: 2px; + &:hover { + border-color: transparent; + color: lighten($osd_fg_color,30%); + } +} + +// +// Login Dialog +// +.login-dialog-banner-view { + padding-top: 24px; + max-width: 23em; +} + +.login-dialog { + //reset + border: none; + background-color: transparent; + + .modal-dialog-button-box { spacing: 3px; } + .modal-dialog-button { + padding: 3px 18px; + &:default { + @include button(normal); + &:hover,&:focus { @include button(hover); } + &:active { @include button(active); } + &:insensitive { @include button(insensitive); } + } + } +} + + .login-dialog-logo-bin { padding: 24px 0px; } + .login-dialog-banner { color: darken($osd_fg_color,10%); } + .login-dialog-button-box { spacing: 5px; } + .login-dialog-message-warning { color: $warning_color; } + .login-dialog-message-hint { padding-top: 0; padding-bottom: 20px; } + .login-dialog-user-selection-box { + padding: 100px 0px; + .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 { + font-size: 90%; + font-weight: bold; + color: darken($osd_fg_color,30%); + padding-top: 1em; + } + + .login-dialog-user-list-view { -st-vfade-offset: 1em; } + .login-dialog-user-list { + spacing: 12px; + padding: .2em; + width: 23em; + &:expanded .login-dialog-user-list-item:focus { background-color: $selected_bg_color; color: $selected_fg_color; } + &:expanded .login-dialog-user-list-item:logged-in { border-right: 2px solid $selected_bg_color; } + } + .login-dialog-user-list-item { + border-radius: 5px; + padding: .2em; + color: darken($osd_fg_color,30%); + &:ltr { padding-right: 1em; } + &:rtl { padding-left: 1em; } + &:hover { background-color: $selected_bg_color; color: $selected_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: $selected_fg_color; } + } + + .login-dialog-username, + .user-widget-label { + color: $osd_fg_color; + font-size: 120%; + font-weight: bold; + text-align: left; + padding-left: 15px; + } + .user-widget-label { + &:ltr { padding-left: 18px; } + &:rtl { padding-right: 18px; } + } + + .login-dialog-prompt-layout { + padding-top: 24px; + padding-bottom: 12px; + spacing: 8px; + width: 23em; + } + + .login-dialog-prompt-label { + color: darken($osd_fg_color, 20%); + font-size: 110%; + padding-top: 1em; + } + + .login-dialog-session-list-button StIcon { + icon-size: 1.25em; + } + + .login-dialog-session-list-button { + color: darken($osd_fg_color,30%); + &:hover,&:focus { color: $osd_fg_color; } + &:active { color: darken($osd_fg_color, 50%); } + } + +// +// Screen Shield +// +.screen-shield-arrows { + padding-bottom: 3em; +} + +.screen-shield-arrows Gjs_Arrow { + color: white; + width: 80px; + height: 48px; + -arrow-thickness: 12px; + -arrow-shadow: 0 1px 1px rgba(0,0,0,0.4); +} + +.screen-shield-clock { + color: white; + text-shadow: 0px 1px 2px rgba(0,0,0,0.6); + font-weight: bold; + text-align: center; + padding-bottom: 1.5em; +} + +.screen-shield-clock-time { + font-size: 72pt; + text-shadow: 0px 2px 2px rgba(0,0,0,0.4); +} + +.screen-shield-clock-date { font-size: 28pt; } + +.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: 1px solid $_bubble_borders_color; + background-color: transparentize($osd_bg_color,0.5); + color: $_bubble_fg_color; + border-radius: 4px; + } + .notification { margin-right: 15px; } //compensate for space allocated to the scrollbar +} + + +.screen-shield-notification-label { + font-weight: bold; + padding: 0px 0px 0px 12px; +} + +.screen-shield-notification-count-text { padding: 0px 0px 0px 12px; } + +#panel.lock-screen { background-color: transparentize($_bubble_bg_color, 0.5); } + +.screen-shield-background { //just the shadow, really + background: black; + box-shadow: 0px 2px 4px transparentize(black,0.6); +} + +#lockDialogGroup { + background: #2e3436 url(misc/noise-texture.png); + background-repeat: repeat; +} + +#screenShieldNotifications { + StButton#vhandle, StButton#hhandle { + background-color: transparentize($bg_color,0.7); + &:hover, &:focus { background-color: transparentize($bg_color,0.5); } + &:active { background-color: transparentize($selected_bg_color,0.5); } + } +} + +// +// Looking Glass +// +#LookingGlassDialog { + spacing: 4px; + padding: 8px 8px 10px 8px; + background-color: transparentize(black, 0.3); + border: 1px solid black; + border-image: url("misc/osd.svg") 10 10 9 11; + border-radius: 2px; + color: $osd_fg_color; + + & > #Toolbar { + padding: 3px; + border: 1px solid darken($osd_bg_color, 7%); + background-color: transparent; + border-radius: 0px; + } + .labels { spacing: 4px; } + .notebook-tab { + -natural-hpadding: 12px; + -minimum-hpadding: 6px; + font-weight: bold; + color: $osd_fg_color; + transition-duration: 100ms; + padding-left: .3em; + padding-right: .3em; + &:hover { + color: $selected_fg_color; + text-shadow: black 0px 2px 2px; + } + &:selected { + border-bottom-width: 0px; + color: $selected_bg_color; + text-shadow: black 0px 2px 2px; + } + } + StBoxLayout#EvalBox { padding: 4px; spacing: 4px; } + StBoxLayout#ResultsArea { spacing: 4px; } +} + + .lg-dialog { + StEntry { + background-color: transparentize(black, 0.7); + color: $osd_fg_color; + selection-background-color: $selected_bg_color; + selected-color: $selected_fg_color; + border-color: transparentize($osd_fg_color, 0.7); + + &:focus { border-color: $selected_bg_color; } + } + .shell-link { + color: $link_color; + &:hover { color: lighten($link_color,10%); } + } + } + + .lg-completions-text { + font-size: .9em; + font-style: italic; + } + + .lg-obj-inspector-title { + spacing: 4px; + } + + .lg-obj-inspector-button { + border: 1px solid gray; + padding: 4px; + border-radius: 4px; + &:hover { border: 1px solid #ffffff; } + } + + #lookingGlassExtensions { padding: 4px; } + + .lg-extensions-list { + padding: 4px; + spacing: 6px; + } + + .lg-extension { + border: 1px solid $borders_color; + border-radius: 2px; + background-color: $bg_color; + padding: 4px; + } + + .lg-extension-name { + font-weight: bold; + } + + .lg-extension-meta { + spacing: 6px; + } + + #LookingGlassPropertyInspector { + background: transparentize(black, 0.3); + border: 1px solid grey; + border-radius: 2px; + padding: 6px; + } diff --git a/common/gnome-shell/3.16/sass/_drawing.scss b/common/gnome-shell/3.16/sass/_drawing.scss new file mode 100644 index 0000000..0e60551 --- /dev/null +++ b/common/gnome-shell/3.16/sass/_drawing.scss @@ -0,0 +1,140 @@ +// Drawing mixins + +// generic drawing of more complex things + +// provide font size in rem, with px fallback +@mixin fontsize($size: 24, $base: 16) { + font-size: round($size) + pt; + //font-size: ($size / $base) * 1rem; +} + +// Entries + +@mixin entry($t, $dark:false) { +// +// Entries drawing function +// + //@extend %reset_style; + box-shadow: inset 0 0 transparentize($base_color, 1); + + @if $t==normal { + color: $text_color; + background-color: $entry_bg; + border: 1px solid $entry_border; + } + + @if $t==focus { + color: $fg_color; + background-color: $entry_bg; + border: 1px solid $selected_bg_color; + } + + @if $t==insensitive { + color: $insensitive_fg_color; + background-color: mix($entry_bg, $bg_color, 55%); + border-color: 1px solid mix($entry_border, $bg_color, 55%); + } +} + +// Buttons + +@mixin button($t) { +// +// Button drawing function +// + //@extend %reset_style; + + text-shadow: 0 1px transparentize($base_color, 1); + box-shadow: inset 0 0 transparentize($base_color, 1); + + @if $t==normal { + // + // normal button + // + color: $fg_color; + background-color: $button_bg; + border: 1px solid $button_border; + } + + @else if $t==focus { + // + // focused button + // + color: $fg_color; + background-color: $button_bg; + border: 1px solid $selected_bg_color; + } + + @else if $t==focus-hover { + // + // focused button + // + color: $selected_bg_color; + background-color: $button_bg; + border: 1px solid $selected_bg_color; + } + + @else if $t==hover { + // + // hovered button + // + color: $fg_color; + background-color: $button_bg; + border: 1px solid $selected_bg_color; + } + + @else if $t==active { + // + // pushed button + // + color: $selected_fg_color; + background-color: $selected_bg_color; + border: 1px solid $selected_bg_color; + } + + @else if $t==insensitive { + // + // insensitive button + // + color: $insensitive_fg_color; + border: 1px solid transparentize($button_border, 0.45); + background-color: transparentize($button_bg, 0.45); + } + + @else if $t==osd { + // + // normal osd button + // + color: lighten($osd_fg_color, 10%); + outline-color: transparentize($osd_fg_color, 0.7); + border-color: transparentize($osd_fg_color, 0.7); + background-color: darken($osd_bg_color, 5%); + } + + @else if $t==osd-hover { + // + // active osd button + // + color: $selected_fg_color; + border-color: $selected_bg_color; + background-color: darken($osd_bg_color, 5%); + } + + @else if $t==osd-active { + // + // active osd button + // + color: $selected_fg_color; + border-color: $selected_bg_color; + background-color: $selected_bg_color; + } + + @else if $t==osd-insensitive { + // + // insensitive osd button + // + color: $osd_insensitive_fg_color; + border-color: transparentize($osd_fg_color, 0.8); + background-image: $osd_insensitive_bg_color; + } +} diff --git a/common/gnome-shell/3.16/sass/gnome-shell.scss b/common/gnome-shell/3.16/sass/gnome-shell.scss new file mode 100644 index 0000000..3418548 --- /dev/null +++ b/common/gnome-shell/3.16/sass/gnome-shell.scss @@ -0,0 +1,3 @@ +@import "_colors"; //use gtk colors +@import "_drawing"; +@import "_common"; -- cgit v1.2.3