Files
dash-to-panel/stylesheet.css

172 lines
4.5 KiB
CSS
Raw Normal View History

2016-09-21 00:18:00 +00:00
/*
2016-12-23 11:08:39 -05:00
* This file is part of the Dash-To-Panel extension for Gnome 3
2016-09-21 00:18:00 +00:00
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2016-12-23 11:08:39 -05:00
*
*
* Credits:
2017-01-02 08:27:54 -05:00
* This file is based on code from the Dash to Dock extension by micheleg
* and code from the Taskbar extension by Zorin OS
2016-12-23 11:08:39 -05:00
* Some code was also adapted from the upstream Gnome Shell source code.
2016-09-21 00:18:00 +00:00
*/
2022-04-06 22:41:38 -04:00
#dashtopanelTaskbar .dash-item-container > StWidget,
.dashtopanelMainPanel .dash-item-container .show-apps {
margin: 0;
2024-09-03 16:26:43 +02:00
padding: 0;
}
#dashtopanelScrollview .overview-tile,
.dashtopanelMainPanel .overview-tile {
background: none;
2016-09-21 00:18:00 +00:00
}
#dashtopanelScrollview .overview-tile .overview-label {
2020-05-03 11:22:51 -04:00
/* must match TITLE_RIGHT_PADDING in apppicons.js */
2019-01-13 23:18:19 -05:00
padding-right: 8px;
text-align: left;
}
#dashtopanelScrollview .overview-tile:hover .dtp-container,
#dashtopanelScrollview .overview-tile:focus .dtp-container {
background-color: rgba(238, 238, 236, 0.1);
border-radius: 0px;
background-color: var(--dtp-hover-background-color);
border-radius: var(--dtp-hover-border-radius);
}
#dashtopanelScrollview .overview-tile:hover .dtp-container > .dtp-dots-container,
#dashtopanelScrollview .overview-tile:focus .dtp-container > .dtp-dots-container {
border-radius: 0px;
border-radius: var(--dtp-hover-border-radius);
}
2024-09-20 09:00:41 -04:00
.dashtopanelMainPanel .dash-item-container .show-apps:hover {
background-color: rgba(238, 238, 238, 0.1);
}
.dashtopanelMainPanel .dash-item-container .show-apps .overview-icon {
color: #FFF;
}
.dashtopanelMainPanel .dash-item-container .show-apps:hover .overview-icon {
background: none;
}
2024-03-26 20:58:17 -04:00
#dashtopanelTaskbar .dash-item-container .overview-tile:hover,
2024-05-02 08:07:59 -04:00
#dashtopanelTaskbar .dash-item-container .overview-tile .dtp-container .overview-icon,
#dashtopanelScrollview .overview-tile:hover .dtp-container.no-highlight,
#dashtopanelScrollview .overview-tile:focus .dtp-container.no-highlight {
background: none;
}
#dashtopanelScrollview .overview-tile:active .dtp-container {
background-color: rgba(238, 238, 236, 0.18);
background-color: var(--dtp-pressed-background-color);
}
#dashtopanelScrollview .overview-tile .favorite {
background-color: rgba(80, 150, 255, 0.4);
}
#dashtopanelTaskbar .scrollview-fade {
2024-09-03 16:26:43 +02:00
background-gradient-end: rgba(0, 0, 0, 0);
}
2017-01-10 18:35:10 -05:00
.dashtopanelSecondaryMenu {
2016-09-21 00:18:00 +00:00
max-width: 400px;
}
2019-10-28 09:33:52 -04:00
.dashtopanelMainPanel.vertical .panel-button {
2024-09-03 16:26:43 +02:00
text-align: center;
2019-09-07 21:43:18 -04:00
}
2019-10-28 09:33:52 -04:00
.dashtopanelMainPanel.vertical .panel-button.vertical *,
.dashtopanelMainPanel.vertical .panel-button.clock-display * {
padding: 0;
2024-09-03 16:26:43 +02:00
margin: 0;
}
2019-10-28 09:33:52 -04:00
.dashtopanelMainPanel.vertical .panel-button > *,
.dashtopanelMainPanel.vertical .panel-button.vertical > *,
.dashtopanelMainPanel.vertical .panel-button.vertical .system-status-icon,
2022-04-03 15:35:15 -04:00
.dashtopanelMainPanel.vertical .panel-button.clock-display > *,
.dashtopanelMainPanel.vertical .panel-button.clock-display .clock {
2024-09-03 16:26:43 +02:00
padding: 8px 0;
2019-09-14 17:56:29 -04:00
}
2022-04-03 15:35:15 -04:00
.dashtopanelMainPanel.vertical .panel-button.clock-display {
-natural-hpadding: 0;
-minimum-hpadding: 0;
2022-04-03 15:35:15 -04:00
}
2017-01-10 18:35:10 -05:00
#dashtopanelThumbnailList {
2016-09-21 00:18:00 +00:00
spacing: 0em;
padding: 0 1em;
}
2017-01-10 18:35:10 -05:00
#dashtopanelThumbnailList .popup-menu-item {
padding: 0;
2016-09-21 00:18:00 +00:00
border-radius: 5px;
spacing: 0;
}
2017-01-10 18:35:10 -05:00
#dashtopanelThumbnailList .window-box {
2016-09-21 00:18:00 +00:00
padding: 0;
spacing: 0;
}
2017-01-10 18:35:10 -05:00
#dashtopanelThumbnailList .preview-window-title {
2016-09-21 00:18:00 +00:00
padding-top: 1em;
}
.popup-menu.panel-menu {
2024-09-03 16:26:43 +02:00
margin-bottom: 0;
}
#panel #panelLeft, #panel #panelCenter {
2024-09-03 16:26:43 +02:00
spacing: 0px;
2017-02-28 20:27:06 -05:00
}
.showdesktop-button-dark-hovered {
background-color: rgba(200, 200, 200, .4);
2017-02-28 20:27:06 -05:00
}
.showdesktop-button-light-hovered {
background-color: rgba(55, 55, 55, .4);
2017-06-07 12:44:11 -04:00
}
2020-03-15 22:29:35 -04:00
#dashtopanelScrollview .badge {
color: rgba(255, 255, 255, 1);
font-weight: bold;
text-align: center;
}
2020-03-15 22:29:35 -04:00
#dashtopanelScrollview .number-overlay {
background-color: rgba(0,0,0,0.8);
}
#dashtopanelScrollview .notification-badge {
2024-09-03 16:26:43 +02:00
background-color: rgba(255,0,0,0.8);
2020-03-15 22:29:35 -04:00
}
#dashtopanelScrollview .progress-bar {
2024-09-03 16:26:43 +02:00
/* Customization of the progress bar style, e.g.:
-progress-bar-background: rgba(0.8, 0.8, 0.8, 1);
-progress-bar-border: rgba(0.9, 0.9, 0.9, 1); */
}
.symbolic-icon-style {
2024-09-03 16:26:43 +02:00
-st-icon-style: symbolic;
}