364 lines
7.1 KiB
CSS
364 lines
7.1 KiB
CSS
#launcher {
|
|
background: var(--shadow);
|
|
padding: 12px;
|
|
border-radius: 34px;
|
|
min-width: 550px;
|
|
transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
}
|
|
|
|
#close-button,
|
|
#config-button {
|
|
background-color: var(--surface);
|
|
border-radius: 40px;
|
|
padding: 8px;
|
|
transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
}
|
|
|
|
#close-button:hover,
|
|
#close-button:focus,
|
|
#config-button:hover,
|
|
#config-button:focus {
|
|
background-color: var(--surface-bright);
|
|
border-radius: 16px;
|
|
}
|
|
|
|
/* Keyboard focus styling for header buttons */
|
|
#close-button.focused,
|
|
#config-button.focused {
|
|
background-color: var(--primary);
|
|
border-radius: 16px;
|
|
box-shadow: 0 0 0 2px var(--primary-bright);
|
|
}
|
|
|
|
#close-button.focused #close-label {
|
|
color: var(--background);
|
|
}
|
|
|
|
#config-button.focused #config-label {
|
|
color: var(--background);
|
|
}
|
|
|
|
#close-button:active {
|
|
background-color: var(--red-dim);
|
|
border-radius: 40px;
|
|
}
|
|
|
|
#close-label {
|
|
color: var(--red-dim);
|
|
font-size: 24px;
|
|
}
|
|
|
|
#close-button:active #close-label {
|
|
color: var(--shadow);
|
|
}
|
|
|
|
#config-button:active {
|
|
background-color: var(--primary);
|
|
border-radius: 40px;
|
|
}
|
|
|
|
#config-label {
|
|
color: var(--primary);
|
|
font-size: 24px;
|
|
}
|
|
|
|
#config-button:active #config-label {
|
|
color: var(--shadow);
|
|
}
|
|
|
|
#launcher-icon-label {
|
|
font-size: 32px;
|
|
padding: 8px;
|
|
}
|
|
|
|
#launcher-search {
|
|
font-weight: bold;
|
|
background-color: var(--surface);
|
|
color: var(--foreground);
|
|
border-radius: 16px;
|
|
padding: 10px;
|
|
}
|
|
|
|
#launcher-search selection {
|
|
color: var(--background);
|
|
background-color: var(--primary);
|
|
}
|
|
|
|
#launcher-results-scroll {
|
|
margin-top: 10px;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
#launcher-results-scroll scrollbar {
|
|
border-radius: 10px;
|
|
background-color: var(--surface);
|
|
padding: 4px;
|
|
margin-left: 6px;
|
|
}
|
|
|
|
#launcher-results-scroll slider {
|
|
border-radius: 8px;
|
|
min-width: 10px;
|
|
min-height: 38px;
|
|
background-color: var(--primary);
|
|
}
|
|
|
|
#launcher-results {
|
|
background: transparent;
|
|
}
|
|
|
|
#launcher-result-item {
|
|
border-radius: 40px;
|
|
padding: 0 16px;
|
|
animation: loadSlot 0.5s ease;
|
|
min-height: 52px;
|
|
transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
}
|
|
|
|
@keyframes loadSlot {
|
|
0% {
|
|
opacity: 0;
|
|
}
|
|
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
#launcher-result-item:focus,
|
|
#launcher-result-item:selected,
|
|
#launcher-result-item:hover,
|
|
#launcher-result-item.selected {
|
|
border-radius: 16px;
|
|
background-color: var(--surface);
|
|
padding-left: 20px;
|
|
}
|
|
|
|
#result-item-main {
|
|
min-height: 48px;
|
|
}
|
|
|
|
#launcher-result-item {
|
|
min-height: 48px;
|
|
}
|
|
|
|
#result-item-icon {
|
|
min-width: 48px;
|
|
min-height: 48px;
|
|
margin-right: 12px;
|
|
}
|
|
|
|
#result-item-title {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--foreground);
|
|
margin-top: 8px;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
#result-item-subtitle {
|
|
font-size: 12px;
|
|
color: var(--outline);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
#result-item-plugin {
|
|
font-size: 10px;
|
|
color: var(--outline);
|
|
font-style: italic;
|
|
margin-bottom: 8px;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
#network-password-entry {
|
|
border: 1px solid var(--outline);
|
|
padding: 8px;
|
|
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);
|
|
}
|