💅 style(launcher, osd, switcher): update spacing and background for better consistency with GNOME design guidelines
This commit is contained in:
8 files changed
+385
-2397
No files matched your search
@@ -22,7 +22,6 @@
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
/* Keyboard focus styling for header buttons */
|
||||
#close-button.focused,
|
||||
#config-button.focused {
|
||||
background-color: var(--primary);
|
||||
@@ -175,189 +174,3 @@
|
||||
border-radius: 8px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
/* Launcher notification widget styling */
|
||||
#launcher-notification-wrapper {
|
||||
margin: 4px 0;
|
||||
}
|
||||
|
||||
#launcher-notification-wrapper #notification-box {
|
||||
margin: 0;
|
||||
min-width: 500px;
|
||||
}
|
||||
|
||||
#launcher-notification-actions {
|
||||
padding: 8px 16px;
|
||||
background-color: var(--surface);
|
||||
border-radius: 0 0 20px 20px;
|
||||
margin-top: -4px;
|
||||
}
|
||||
|
||||
#launcher-notification-actions #notification-action-btn {
|
||||
background-color: var(--surface-bright);
|
||||
border-radius: 12px;
|
||||
padding: 6px 12px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
#launcher-notification-actions #notification-action-btn:hover {
|
||||
background-color: var(--red-dim);
|
||||
}
|
||||
|
||||
#launcher-notification-actions #notification-action-btn:hover #notification-action-label {
|
||||
color: var(--background);
|
||||
}
|
||||
|
||||
#launcher-notification-actions #notification-action-label {
|
||||
color: var(--red-dim);
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Screen Time Widget Styling - GNOME Digital Wellbeing Style */
|
||||
#screentime-widget {
|
||||
background-color: var(--surface);
|
||||
border-radius: 20px;
|
||||
padding: 0;
|
||||
margin: 8px 0;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
/* Title styling */
|
||||
.screentime-title {
|
||||
color: var(--foreground);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
/* Large time display */
|
||||
.screentime-time-display {
|
||||
margin: 12px 0;
|
||||
font-family: "SF Pro Display", system-ui, sans-serif;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
/* Summary cards */
|
||||
.screentime-card {
|
||||
background-color: var(--surface-bright);
|
||||
border-radius: 12px;
|
||||
padding: 16px 12px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.05);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.screentime-card:hover {
|
||||
background-color: var(--surface-container);
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
/* App item styling */
|
||||
.screentime-app-item {
|
||||
background-color: var(--surface-bright);
|
||||
border-radius: 12px;
|
||||
padding: 12px 16px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.05);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.screentime-app-item:hover {
|
||||
background-color: var(--surface-container);
|
||||
}
|
||||
|
||||
/* Grid card styling - compact for launcher */
|
||||
.screentime-grid-card {
|
||||
background-color: var(--surface-bright);
|
||||
border-radius: 8px;
|
||||
padding: 6px 4px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.05);
|
||||
transition: all 0.2s ease;
|
||||
min-width: 80px;
|
||||
min-height: 70px;
|
||||
}
|
||||
|
||||
.screentime-grid-card:hover {
|
||||
background-color: var(--surface-container);
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
/* Grid icon styling */
|
||||
.screentime-grid-icon {
|
||||
background: linear-gradient(135deg, var(--primary), var(--primary-bright));
|
||||
border-radius: 8px;
|
||||
min-width: 32px;
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
/* App icon placeholder */
|
||||
.screentime-app-icon {
|
||||
background: linear-gradient(135deg, var(--primary), var(--primary-bright));
|
||||
border-radius: 8px;
|
||||
min-width: 32px;
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
/* Progress bar container */
|
||||
.screentime-progress-container {
|
||||
background-color: rgba(255, 255, 255, 0.1);
|
||||
border-radius: 3px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Modern progress bars */
|
||||
.screentime-progress {
|
||||
border-radius: 3px;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.screentime-progress trough {
|
||||
background-color: rgba(255, 255, 255, 0.1);
|
||||
border-radius: 3px;
|
||||
min-height: 6px;
|
||||
}
|
||||
|
||||
.screentime-progress progress {
|
||||
border-radius: 3px;
|
||||
min-height: 6px;
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
/* Modern usage intensity colors */
|
||||
.screentime-progress.high-usage progress {
|
||||
background: linear-gradient(90deg, #ff6b6b, #ee5a52);
|
||||
}
|
||||
|
||||
.screentime-progress.medium-usage progress {
|
||||
background: linear-gradient(90deg, #ffd93d, #ffb700);
|
||||
}
|
||||
|
||||
.screentime-progress.low-usage progress {
|
||||
background: linear-gradient(90deg, #51cf66, #37b24d);
|
||||
}
|
||||
|
||||
/* Scrolled window styling */
|
||||
#screentime-widget scrolledwindow {
|
||||
border-radius: 12px;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#screentime-widget scrolledwindow scrollbar {
|
||||
background-color: transparent;
|
||||
border-radius: 6px;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
#screentime-widget scrolledwindow scrollbar slider {
|
||||
background-color: rgba(255, 255, 255, 0.2);
|
||||
border-radius: 6px;
|
||||
min-width: 6px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
#screentime-widget scrolledwindow scrollbar slider:hover {
|
||||
background-color: rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
|
||||
/* Labels */
|
||||
#screentime-widget label {
|
||||
color: var(--foreground);
|
||||
}
|
||||
Reference in new issue
Block a user