199529a67d
- updated switch assets - new high contrast assets - use non-hardcoded bg color for dash - updated palette colors - add missing color definitions to hc - increase radii of many elements - update search entry style - align icon better in search entry - restyle panel popovers without arrow and add drop shadow - used theme colors in panel - fix some things with popover labels - new slider style - some light variant fixes - fixes to the calendar popover - day with event styles - better calendar-today.svg and dark variant - shorten calendary weekday header - saner padding - overhaul popover menu style - minor fixes to app grid and alt-tab switch - updated looking glass styles - nm-dialog adjustments - search results adjustments - expand out panel button hover styles - button drawing adjustments - adjust notifications area - update on-screen keyboard style - better keyboard symbolic icon assets - change keyboard symbolic icons to 24px - improved keyboard style - gave the keyboard word suggestions some styles - less obnoxious saner media control buttons - cleaned up the css for the dash - reworked the alt-tab switcher style - sync style on workspace switcher - adjusted dialog button style drawing - popover submenu redrawing adjustement Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2104>
172 lines
3.5 KiB
SCSS
172 lines
3.5 KiB
SCSS
/* App Grid */
|
|
|
|
$app_icon_size: 96px;
|
|
|
|
// app icons
|
|
.icon-grid {
|
|
row-spacing: $base_spacing * 2;
|
|
column-spacing: $base_spacing * 2;
|
|
max-row-spacing: $base_spacing * 12;
|
|
max-column-spacing: $base_spacing * 12;
|
|
page-padding-top: $base_padding * 4;
|
|
page-padding-bottom: $base_padding * 4;
|
|
page-padding-left: $base_padding * 2;
|
|
page-padding-right: $base_padding * 2;
|
|
}
|
|
|
|
/* App Icons */
|
|
|
|
$app_grid_fg_color: #fff;
|
|
|
|
// Icon tiles in the app grid
|
|
.app-well-app,
|
|
%app_well_app {
|
|
@include overview-icon($app_grid_fg_color);
|
|
|
|
.overview-icon.overview-icon-with-label {
|
|
padding: 10px 8px 5px 8px;
|
|
|
|
> StBoxLayout {
|
|
spacing: $base_spacing;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* App Folders */
|
|
.app-well-app.app-folder {
|
|
background-color: $dash_background_color;
|
|
border-radius: $base_border_radius * 2; // same as %icon_tile
|
|
}
|
|
|
|
// expanded folder
|
|
.app-folder-dialog { //style like the dash
|
|
border-radius: 48px;
|
|
background-color: $dash_background_color;
|
|
padding: 12px 0px 12px 0px;
|
|
|
|
& .folder-name-container {
|
|
padding: 24px 36px 0;
|
|
spacing: 12px;
|
|
|
|
& .folder-name-label,
|
|
& .folder-name-entry {
|
|
font-size: 18pt;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
& .folder-name-entry { width: 300px }
|
|
|
|
/* FIXME: this is to keep the label in sync with the entry */
|
|
& .folder-name-label { padding: 5px 7px; color: $osd_fg_color; }
|
|
|
|
& .edit-folder-button {
|
|
@include button(undecorated, $shadow: none);
|
|
padding: 0;
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 18px;
|
|
|
|
&:focus {@include button(focus);}
|
|
&:hover {@include button(hover);}
|
|
&:active {@include button(active);}
|
|
|
|
& > StIcon { icon-size: $base_icon_size }
|
|
}
|
|
}
|
|
|
|
& .icon-grid {
|
|
row-spacing: $base_spacing * 2;
|
|
column-spacing: $base_spacing * 5;
|
|
page-padding-top: 0;
|
|
page-padding-bottom: 0;
|
|
page-padding-left: 0;
|
|
page-padding-right: 0;
|
|
}
|
|
|
|
& .page-indicators {
|
|
margin-bottom: 18px;
|
|
}
|
|
}
|
|
|
|
.app-folder-dialog-container {
|
|
padding: $base_padding*2;
|
|
width: 620px;
|
|
height: 620px;
|
|
}
|
|
|
|
// Running app indicator (also shown in dash)
|
|
.app-well-app-running-dot {
|
|
height: 5px;
|
|
width: 5px;
|
|
border-radius:5px;
|
|
background-color: $osd_fg_color;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
// Rename popup for app folders
|
|
.rename-folder-popup {
|
|
.rename-folder-popup-item {
|
|
spacing: $base_spacing;
|
|
&:ltr, &:rtl { padding: 0 $base_padding * 2; }
|
|
}
|
|
}
|
|
|
|
// right-click app menu
|
|
.app-menu {
|
|
max-width: 27.25em;
|
|
}
|
|
|
|
// App Grid pagination indicators
|
|
.page-indicator {
|
|
padding: $base_padding $base_padding * 2 0;
|
|
|
|
.page-indicator-icon {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 10px; // the same as height&width
|
|
background-color: white;
|
|
}
|
|
}
|
|
|
|
.apps-scroll-view {
|
|
padding: 0;
|
|
}
|
|
|
|
// shutdown and other actions in the grid
|
|
.system-action-icon {
|
|
background-color: rgba(0,0,0,0.8);
|
|
color: #fff;
|
|
border-radius: 99px;
|
|
icon-size: $app_icon_size * 0.5;
|
|
}
|
|
|
|
.page-navigation-hint {
|
|
width: 300px;
|
|
|
|
&.dnd {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
&.next:ltr,
|
|
&.previous:rtl {
|
|
background-gradient-start: rgba(255, 255, 255, 0.05);
|
|
background-gradient-end: transparent;
|
|
background-gradient-direction: horizontal;
|
|
border-radius: $modal_radius*1.5 0px 0px $modal_radius*1.5;
|
|
}
|
|
|
|
&.previous:ltr,
|
|
&.next:rtl {
|
|
background-gradient-start: transparent;
|
|
background-gradient-end: rgba(255, 255, 255, 0.05);
|
|
background-gradient-direction: horizontal;
|
|
border-radius: 0px $modal_radius*1.5 $modal_radius*1.5 0px;
|
|
}
|
|
}
|
|
|
|
.page-navigation-arrow {
|
|
margin: 6px;
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|