| 1 |
//This is the RIGHT PLACE to edit the stylesheet |
| 2 |
|
| 3 |
$panel-corner-radius: 0px; |
| 4 |
$asset_path: if($variant == 'dark', dark-assets, light-assets); |
| 5 |
|
| 6 |
/* Copyright 2009, 2015 Red Hat, Inc. |
| 7 |
* |
| 8 |
* Portions adapted from Mx's data/style/default.css |
| 9 |
* Copyright 2009 Intel Corporation |
| 10 |
* |
| 11 |
* This program is free software; you can redistribute it and/or modify it |
| 12 |
* under the terms and conditions of the GNU Lesser General Public License, |
| 13 |
* version 2.1, as published by the Free Software Foundation. |
| 14 |
* |
| 15 |
* This program is distributed in the hope it will be useful, but WITHOUT ANY |
| 16 |
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
| 17 |
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for |
| 18 |
* more details. |
| 19 |
* |
| 20 |
* You should have received a copy of the GNU Lesser General Public License |
| 21 |
* along with this program; if not, write to the Free Software Foundation, |
| 22 |
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. |
| 23 |
*/ |
| 24 |
|
| 25 |
// |
| 26 |
// Globals |
| 27 |
// |
| 28 |
$font-size: 11; |
| 29 |
$_bubble_bg_color: opacify($osd_bg_color,0.25); |
| 30 |
$_bubble_fg_color: $osd_fg_color; |
| 31 |
$_bubble_borders_color: transparentize($osd_fg_color,0.8); |
| 32 |
$_shell_fg_color: white; |
| 33 |
$_panel_fg_color: $_shell_fg_color; |
| 34 |
$_system_bg_color: opacify(desaturate(darken($dark_sidebar_bg, 9%), 5%), 1); |
| 35 |
|
| 36 |
$_popup_shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.19); |
| 37 |
$_popup_menu_shadow: if($variant!='dark', 0 1px 3px 2.1px rgba(0, 0, 0, 0.06), $_popup_shadow); |
| 38 |
|
| 39 |
$panel_transition_duration: 250ms; |
| 40 |
|
| 41 |
stage { |
| 42 |
@include fontsize($font-size); |
| 43 |
color: $fg_color; |
| 44 |
} |
| 45 |
|
| 46 |
%reset_style { |
| 47 |
background-color: transparent !important; |
| 48 |
background-gradient-direction: none !important; |
| 49 |
border: none !important; |
| 50 |
border-radius: 0 !important; |
| 51 |
} |
| 52 |
|
| 53 |
// |
| 54 |
// Buttons |
| 55 |
// |
| 56 |
.button { |
| 57 |
min-height: 20px; |
| 58 |
padding: 5px 32px; |
| 59 |
transition-duration: 0; |
| 60 |
border-radius: 2px; |
| 61 |
|
| 62 |
@extend %button; |
| 63 |
} |
| 64 |
|
| 65 |
%button { |
| 66 |
@include button(normal); |
| 67 |
|
| 68 |
&:focus { @include button(focus); } |
| 69 |
&:hover { @include button(hover); } |
| 70 |
&:hover:focus { @include button(focus-hover); } |
| 71 |
&:active, &:active:focus { @include button(active); } |
| 72 |
&:insensitive { @include button(insensitive); } |
| 73 |
} |
| 74 |
|
| 75 |
%osd_button { |
| 76 |
@include button(osd); |
| 77 |
|
| 78 |
&:hover { @include button(osd-hover); } |
| 79 |
&:focus { color: $selected_bg_color; } |
| 80 |
&:active { @include button(osd-active); } |
| 81 |
&:insensitive { @include button(osd-insensitive); } |
| 82 |
} |
| 83 |
|
| 84 |
// |
| 85 |
// Entries |
| 86 |
// |
| 87 |
StEntry { |
| 88 |
padding: 7px; |
| 89 |
caret-size: 1px; |
| 90 |
caret-color: $fg_color; |
| 91 |
selection-background-color: $selected_bg_color; |
| 92 |
selected-color: $selected_fg_color; |
| 93 |
transition-duration: 300ms; |
| 94 |
border-radius: 3px; |
| 95 |
|
| 96 |
@include entry(normal); |
| 97 |
|
| 98 |
&:focus, &:hover { @include entry(focus); } |
| 99 |
&:insensitive { @include entry(insensitive); } |
| 100 |
|
| 101 |
StIcon.capslock-warning { |
| 102 |
icon-size: 16px; |
| 103 |
warning-color: $warning_color; |
| 104 |
padding: 0 4px; |
| 105 |
} |
| 106 |
|
| 107 |
StIcon.peek-password { |
| 108 |
icon-size: 16px; |
| 109 |
padding: 0 4px; |
| 110 |
} |
| 111 |
|
| 112 |
StLabel.hint-text { |
| 113 |
margin-left: 2px; |
| 114 |
color: transparentize($text_color, 0.3); |
| 115 |
} |
| 116 |
} |
| 117 |
|
| 118 |
// |
| 119 |
// Scrollbars |
| 120 |
// |
| 121 |
StScrollView { |
| 122 |
&.vfade { -st-vfade-offset: 0px; } |
| 123 |
&.hfade { -st-hfade-offset: 0px; } |
| 124 |
} |
| 125 |
|
| 126 |
StScrollBar { |
| 127 |
|
| 128 |
padding: 8px; |
| 129 |
|
| 130 |
StScrollView & { |
| 131 |
min-width: 5px; |
| 132 |
min-height: 5px; |
| 133 |
} |
| 134 |
|
| 135 |
StBin#trough { |
| 136 |
background-color: transparentize($base_color, 0.9); |
| 137 |
border-radius: 8px; |
| 138 |
} |
| 139 |
|
| 140 |
StButton#vhandle, StButton#hhandle { |
| 141 |
border-radius: 4px; |
| 142 |
background-color: mix($fg_color, $bg_color, 40%); |
| 143 |
margin: 0px; |
| 144 |
|
| 145 |
&:hover { background-color: mix($fg_color, $bg_color, 30%); } |
| 146 |
|
| 147 |
&:active { background-color: $selected_bg_color; } |
| 148 |
} |
| 149 |
} |
| 150 |
|
| 151 |
// |
| 152 |
// Slider |
| 153 |
// |
| 154 |
.slider { |
| 155 |
-barlevel-height: 4px; |
| 156 |
-barlevel-background-color: $button_border; //background of the trough |
| 157 |
-barlevel-border-color: transparentize(black, 1); //trough border color |
| 158 |
-barlevel-active-background-color: $selected_bg_color; //active trough fill |
| 159 |
-barlevel-active-border-color: transparentize(black, 1); //active trough border |
| 160 |
-barlevel-overdrive-color: $warning_color; |
| 161 |
-barlevel-overdrive-border-color: transparentize(black, 1); |
| 162 |
-barlevel-overdrive-separator-width: 1px; |
| 163 |
-barlevel-border-width: 0; |
| 164 |
-slider-handle-radius: 0px; |
| 165 |
height: 18px; |
| 166 |
border: 0 solid transparent; |
| 167 |
border-right-width: 1px; |
| 168 |
border-left-width: 5px; |
| 169 |
color: $selected_bg_color; |
| 170 |
|
| 171 |
.popup-menu-item.selected & { |
| 172 |
-barlevel-background-color: transparentize(black, 0.8); |
| 173 |
-barlevel-active-background-color: $selected_fg_color; |
| 174 |
color: $selected_fg_color; |
| 175 |
} |
| 176 |
} |
| 177 |
|
| 178 |
// |
| 179 |
// Check Boxes |
| 180 |
// |
| 181 |
.check-box { |
| 182 |
|
| 183 |
StBoxLayout { spacing: .8em; } |
| 184 |
|
| 185 |
StBin { |
| 186 |
width: 16px; |
| 187 |
height: 16px; |
| 188 |
background-image: url("#{$asset_path}/checkbox/checkbox-unchecked.svg"); |
| 189 |
} |
| 190 |
|
| 191 |
&:focus StBin { background-image: url("#{$asset_path}/checkbox/checkbox-unchecked-focused.svg"); } |
| 192 |
|
| 193 |
&:checked StBin { background-image: url("#{$asset_path}/checkbox/checkbox-checked.svg"); } |
| 194 |
|
| 195 |
&:focus:checked StBin { background-image: url("#{$asset_path}/checkbox/checkbox-checked-focused.svg"); } |
| 196 |
} |
| 197 |
|
| 198 |
// |
| 199 |
// Switches |
| 200 |
// |
| 201 |
.toggle-switch { |
| 202 |
width: 50px; |
| 203 |
height: 20px; |
| 204 |
background-size: contain; |
| 205 |
background-image: url("#{$asset_path}/switch/switch-off.svg"); |
| 206 |
|
| 207 |
&:checked { background-image: url("#{$asset_path}/switch/switch-on.svg"); } |
| 208 |
|
| 209 |
.popup-menu-item.selected & { |
| 210 |
background-image: url("common-assets/switch/switch-off-selected.svg"); |
| 211 |
|
| 212 |
&:checked { background-image: url("common-assets/switch/switch-on-selected.svg"); } |
| 213 |
} |
| 214 |
} |
| 215 |
|
| 216 |
// |
| 217 |
// Links |
| 218 |
// |
| 219 |
.shell-link { |
| 220 |
color: $link_color; |
| 221 |
|
| 222 |
&:hover { color: lighten($link_color,10%); } |
| 223 |
} |
| 224 |
|
| 225 |
// |
| 226 |
// App Icons |
| 227 |
// |
| 228 |
/* Outline for low res icons */ |
| 229 |
.lowres-icon { |
| 230 |
icon-shadow: none; |
| 231 |
} |
| 232 |
|
| 233 |
/* Drapshadow for large icons */ |
| 234 |
.icon-dropshadow { |
| 235 |
icon-shadow: none; |
| 236 |
} |
| 237 |
|
| 238 |
// |
| 239 |
// Modal Dialogs |
| 240 |
// |
| 241 |
.headline { @include fontsize($font-size * 1.1); } |
| 242 |
.lightbox { background-color: black; } |
| 243 |
.flashspot { background-color: white; } |
| 244 |
|
| 245 |
.modal-dialog { |
| 246 |
color: $fg_color; |
| 247 |
background-color: transparentize($bg_color, 1); |
| 248 |
border: 1px solid $shell_modal_border_color; |
| 249 |
border-radius: 2px; |
| 250 |
padding: 0; |
| 251 |
box-shadow: $_popup_menu_shadow; |
| 252 |
|
| 253 |
.modal-dialog-content-box { |
| 254 |
margin: 0; |
| 255 |
padding: 25px 20px; |
| 256 |
|
| 257 |
@extend %modal_dialog_content_box; |
| 258 |
} |
| 259 |
|
| 260 |
&-linked-button { |
| 261 |
height: if($variant=='light', 39px, 38px); |
| 262 |
padding: 0; |
| 263 |
box-shadow: inset 0 0 black; |
| 264 |
border-top-width: if($variant=='light', 0px, 1px); |
| 265 |
border-bottom-width: 0; |
| 266 |
border-right-width: 1px; |
| 267 |
|
| 268 |
color: $osd_fg_color; |
| 269 |
background-color: $osd_bg_color; |
| 270 |
border-color: if($variant!='dark', darken($osd_bg_color, 5%), darken($osd_bg_color, 8%)); |
| 271 |
|
| 272 |
&:hover { background-color: lighten($osd_bg_color, 5%); } |
| 273 |
&:focus { color: $selected_bg_color; } |
| 274 |
&:active { |
| 275 |
color: $selected_fg_color; |
| 276 |
background-color: $selected_bg_color; |
| 277 |
} |
| 278 |
&:insensitive { |
| 279 |
color: transparentize($osd_fg_color, 0.5); |
| 280 |
background-color: darken($osd_bg_color, 2%); |
| 281 |
} |
| 282 |
|
| 283 |
&:first-child { |
| 284 |
border-radius: 0px 0px 0px 2px; |
| 285 |
} |
| 286 |
&:last-child { |
| 287 |
border-right-width: 0px; |
| 288 |
border-radius: 0px 0px 2px 0px; |
| 289 |
} |
| 290 |
&:first-child:last-child { |
| 291 |
border-right-width: 0px; |
| 292 |
border-radius: 0px 0px 2px 2px; |
| 293 |
} |
| 294 |
} |
| 295 |
} |
| 296 |
|
| 297 |
%modal_dialog_content_box { |
| 298 |
background-color: $shell_modal_background_color; |
| 299 |
} |
| 300 |
|
| 301 |
// |
| 302 |
// Message Dialog |
| 303 |
// |
| 304 |
.message-dialog-content { |
| 305 |
spacing: 18px; |
| 306 |
|
| 307 |
.message-dialog-title { |
| 308 |
text-align: center; |
| 309 |
@include fontsize($font-size * 1.6); |
| 310 |
font-weight: 800; |
| 311 |
|
| 312 |
&.lightweight { |
| 313 |
@include fontsize($font-size * 1.2); |
| 314 |
font-weight: 800; |
| 315 |
} |
| 316 |
} |
| 317 |
.message-dialog-description { text-align: center; } |
| 318 |
} |
| 319 |
|
| 320 |
// |
| 321 |
// Run Dialog |
| 322 |
// |
| 323 |
.run-dialog { |
| 324 |
.modal-dialog-content-box { |
| 325 |
margin-top: 0; |
| 326 |
margin-bottom: 0; |
| 327 |
padding-top: 12px; |
| 328 |
padding-bottom: 14px; |
| 329 |
} |
| 330 |
|
| 331 |
.message-dialog-title { |
| 332 |
font-size: 0; |
| 333 |
} |
| 334 |
|
| 335 |
&-entry { |
| 336 |
width: 21em; |
| 337 |
} |
| 338 |
&-description { |
| 339 |
@include fontsize($font-size - 1); |
| 340 |
text-align: center; |
| 341 |
color: $fg_color; |
| 342 |
} |
| 343 |
} |
| 344 |
|
| 345 |
// |
| 346 |
// Dialog List |
| 347 |
// |
| 348 |
.dialog-list { |
| 349 |
spacing: 18px; |
| 350 |
|
| 351 |
.dialog-list-title { |
| 352 |
text-align: center; |
| 353 |
font-weight: bold; |
| 354 |
} |
| 355 |
|
| 356 |
.dialog-list-scrollview { max-height: 200px; } |
| 357 |
.dialog-list-box { |
| 358 |
spacing: 1em; |
| 359 |
|
| 360 |
.dialog-list-item { |
| 361 |
spacing: 1em; |
| 362 |
|
| 363 |
.dialog-list-item-title { font-weight: bold; } |
| 364 |
.dialog-list-item-description { |
| 365 |
color: darken($fg_color,5%); |
| 366 |
@include fontsize($font-size - 1); |
| 367 |
} |
| 368 |
} |
| 369 |
} |
| 370 |
} |
| 371 |
|
| 372 |
|
| 373 |
// |
| 374 |
// End Session Dialog |
| 375 |
// |
| 376 |
.end-session-dialog { |
| 377 |
width: 30em; |
| 378 |
|
| 379 |
&-battery-warning, |
| 380 |
.dialog-list-title { |
| 381 |
color: $warning_color; |
| 382 |
} |
| 383 |
|
| 384 |
.modal-dialog-linked-button:last-child { |
| 385 |
color: $destructive_fg_color; |
| 386 |
background-color: $destructive_color; |
| 387 |
|
| 388 |
&:hover { |
| 389 |
color: $destructive_fg_color; |
| 390 |
background-color: lighten($destructive_color, 9%); |
| 391 |
} |
| 392 |
&:active { |
| 393 |
color: $destructive_fg_color; |
| 394 |
background-color: darken($destructive_color, 5%); |
| 395 |
} |
| 396 |
} |
| 397 |
} |
| 398 |
|
| 399 |
// |
| 400 |
// Password or Authentication Dialog |
| 401 |
// |
| 402 |
.prompt-dialog { |
| 403 |
width: 28em; |
| 404 |
|
| 405 |
.modal-dialog-content-box { |
| 406 |
padding-bottom: 24px; |
| 407 |
} |
| 408 |
|
| 409 |
&-password-grid { |
| 410 |
spacing-rows: 8px; |
| 411 |
spacing-columns: 4px; |
| 412 |
} |
| 413 |
|
| 414 |
&-password-grid &-password-entry { |
| 415 |
width: auto; |
| 416 |
|
| 417 |
// 4px (spacing) + 16px (spinner-width) |
| 418 |
&:ltr { margin-left: 20px; } |
| 419 |
&:rtl { margin-right: 20px; } |
| 420 |
} |
| 421 |
|
| 422 |
&-password-layout { |
| 423 |
spacing: 8px; |
| 424 |
} |
| 425 |
|
| 426 |
&-password-entry { |
| 427 |
width: 20em; |
| 428 |
} |
| 429 |
|
| 430 |
&-error-label, |
| 431 |
&-info-label, |
| 432 |
&-null-label { |
| 433 |
text-align: center; |
| 434 |
@include fontsize($font-size); |
| 435 |
} |
| 436 |
|
| 437 |
&-error-label { |
| 438 |
color: $warning_color; |
| 439 |
} |
| 440 |
} |
| 441 |
|
| 442 |
.hidden { |
| 443 |
color: transparentize(black, 1); |
| 444 |
} |
| 445 |
|
| 446 |
.caps-lock-warning-label { |
| 447 |
text-align: center; |
| 448 |
padding-bottom: 8px; |
| 449 |
@include fontsize($font-size); |
| 450 |
color: $warning_color; |
| 451 |
} |
| 452 |
|
| 453 |
// |
| 454 |
// Workspace animation |
| 455 |
// |
| 456 |
.workspace-animation { |
| 457 |
background-color: $_system_bg_color; |
| 458 |
} |
| 459 |
|
| 460 |
// |
| 461 |
// Polkit Dialog |
| 462 |
// |
| 463 |
.polkit-dialog-user { |
| 464 |
&-layout { |
| 465 |
text-align: center; |
| 466 |
spacing: 8px; |
| 467 |
margin-bottom: 6px; |
| 468 |
} |
| 469 |
|
| 470 |
&-layout &-root-label { |
| 471 |
color: $warning_color; |
| 472 |
} |
| 473 |
} |
| 474 |
|
| 475 |
// |
| 476 |
// Audio selection dialog |
| 477 |
// |
| 478 |
.audio-device-selection-dialog { |
| 479 |
.modal-dialog-content-box { padding-bottom: 28px; } |
| 480 |
.audio-selection-box { spacing: 20px; } |
| 481 |
} |
| 482 |
|
| 483 |
.audio-selection { |
| 484 |
&-device { |
| 485 |
border: 1px solid $borders_color; |
| 486 |
border-radius: 3px; |
| 487 |
|
| 488 |
&:active,&:hover,&:focus { |
| 489 |
background-color: $selected_bg_color; |
| 490 |
border-color: $selected_bg_color; |
| 491 |
} |
| 492 |
} |
| 493 |
|
| 494 |
&-device-box { |
| 495 |
padding: 20px; |
| 496 |
spacing: 20px; |
| 497 |
} |
| 498 |
|
| 499 |
&-device-icon { icon-size: 64px; } |
| 500 |
} |
| 501 |
|
| 502 |
// |
| 503 |
// Welcome dialog |
| 504 |
// |
| 505 |
.welcome-dialog-image { |
| 506 |
background-image: url("resource:///org/gnome/shell/theme/gnome-shell-start.svg"); |
| 507 |
background-size: contain; |
| 508 |
/* Reasonable maximum dimensions */ |
| 509 |
height: 300px; |
| 510 |
width: 300px; |
| 511 |
} |
| 512 |
|
| 513 |
// |
| 514 |
// Popvers/Menus |
| 515 |
// |
| 516 |
.popup-menu { |
| 517 |
$_popup_submenu_background_color: if($variant!='dark', rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.15)); |
| 518 |
$_popup_submenu_border_color: if($variant!='dark', rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.15)); |
| 519 |
|
| 520 |
min-width: 15em; |
| 521 |
|
| 522 |
.popup-menu-content { |
| 523 |
margin: if($variant!='dark', 4px, 3px); |
| 524 |
|
| 525 |
@extend %popup_menu; |
| 526 |
} |
| 527 |
|
| 528 |
.popup-menu-arrow { } //defined globally in the TOP BAR |
| 529 |
.popup-sub-menu { |
| 530 |
padding-bottom: 1px; |
| 531 |
background-color: $_popup_submenu_background_color; |
| 532 |
box-shadow: inset 0 -1px $_popup_submenu_border_color; |
| 533 |
border: none; |
| 534 |
} |
| 535 |
|
| 536 |
.popup-menu-content { padding: .7em 0em .7em 0em; } |
| 537 |
.popup-menu-item { |
| 538 |
spacing: 12px; |
| 539 |
|
| 540 |
&:ltr { padding: .4em 32px .4em 0em; } |
| 541 |
&:rtl { padding: .4em 0em .4em 32px; } |
| 542 |
|
| 543 |
&:checked { |
| 544 |
font-weight: normal; |
| 545 |
background-color: $_popup_submenu_background_color; |
| 546 |
box-shadow: inset 0 1px $_popup_submenu_border_color; |
| 547 |
} |
| 548 |
|
| 549 |
&:active, &.selected { |
| 550 |
color: $selected_fg_color; |
| 551 |
background-color: $selected_bg_color; |
| 552 |
box-shadow: none; |
| 553 |
} |
| 554 |
|
| 555 |
&:insensitive { |
| 556 |
color: transparentize($fg_color, 0.5); |
| 557 |
background: none; |
| 558 |
} |
| 559 |
} |
| 560 |
|
| 561 |
.popup-inactive-menu-item { //all icons and other graphical elements |
| 562 |
color: $fg_color; |
| 563 |
|
| 564 |
&:insensitive { color: $insensitive_fg_color; } |
| 565 |
} |
| 566 |
//.popup-status-menu-item { font-weight: normal; color: pink; } //dunno what that is |
| 567 |
&.panel-menu { |
| 568 |
-boxpointer-gap: 0px; |
| 569 |
margin-bottom: 1.75em; |
| 570 |
} |
| 571 |
} |
| 572 |
|
| 573 |
.popup-menu-ornament { |
| 574 |
margin-left: 4px; |
| 575 |
width: 16px; |
| 576 |
|
| 577 |
&:ltr { text-align: right }; |
| 578 |
&:rtl { text-align: left }; |
| 579 |
} |
| 580 |
|
| 581 |
.popup-menu-boxpointer { |
| 582 |
-arrow-border-radius: 2px; |
| 583 |
-arrow-background-color: rgba(0,0,0,0.0); |
| 584 |
-arrow-border-width: 1px; |
| 585 |
-arrow-border-color: rgba(0,0,0,0.0); |
| 586 |
-arrow-base: 0; |
| 587 |
-arrow-rise: 0; |
| 588 |
} |
| 589 |
|
| 590 |
.candidate-popup-boxpointer { |
| 591 |
-arrow-border-radius: 2px; |
| 592 |
-arrow-background-color: $osd_bg_color; |
| 593 |
-arrow-border-width: 1px; |
| 594 |
-arrow-border-color: transparentize(black, 0.6); |
| 595 |
-arrow-base: 20px; |
| 596 |
-arrow-rise: 10px; |
| 597 |
} |
| 598 |
|
| 599 |
.popup-separator-menu-item-separator { |
| 600 |
//-margin-horizontal: 24px; |
| 601 |
height: 2px; //not really the whole box |
| 602 |
margin: 0; |
| 603 |
background-color: transparent; |
| 604 |
border: none; |
| 605 |
} |
| 606 |
|
| 607 |
// Rename popup |
| 608 |
.rename-folder-popup { |
| 609 |
.rename-folder-popup-item { |
| 610 |
spacing: 6px; |
| 611 |
&:ltr, &:rtl { padding: 0, 12px; } |
| 612 |
} |
| 613 |
} |
| 614 |
|
| 615 |
// Background menu |
| 616 |
.background-menu { -boxpointer-gap: 4px; -arrow-rise: 0px; } |
| 617 |
|
| 618 |
// fallback menu |
| 619 |
//- odd thing for styling App menu when apparently not running under shell. Light Adwaita styled |
| 620 |
// app menu inside the main app window itself rather than the top bar |
| 621 |
// |
| 622 |
|
| 623 |
// |
| 624 |
// OSD |
| 625 |
// |
| 626 |
.osd-window { |
| 627 |
text-align: center; |
| 628 |
font-weight: bold; |
| 629 |
spacing: 1em; |
| 630 |
padding: 20px; |
| 631 |
margin: 32px; |
| 632 |
min-width: 64px; |
| 633 |
min-height: 64px; |
| 634 |
|
| 635 |
color: $_panel_fg_color; |
| 636 |
@extend %shell_osd; |
| 637 |
|
| 638 |
.osd-monitor-label { @include fontsize($font-size * 3); } |
| 639 |
|
| 640 |
.level { |
| 641 |
padding: 0; |
| 642 |
height: 4px; |
| 643 |
-barlevel-height: 4px; |
| 644 |
-barlevel-background-color: transparentize(black, 0.5); |
| 645 |
-barlevel-active-background-color: $selected_bg_color; |
| 646 |
-barlevel-overdrive-color: $warning_color; |
| 647 |
-barlevel-overdrive-separator-width: 1px; |
| 648 |
color: $selected_bg_color; |
| 649 |
} |
| 650 |
} |
| 651 |
|
| 652 |
.resize-popup { |
| 653 |
color: $osd_fg_color; |
| 654 |
padding: 12px; |
| 655 |
@extend %shell_osd; |
| 656 |
} |
| 657 |
|
| 658 |
%shell_osd { |
| 659 |
border: 1px solid $shell_osd_border_color; |
| 660 |
border-radius: 2px; |
| 661 |
background: $shell_osd_background_color; |
| 662 |
//background-clip: padding-box; |
| 663 |
box-shadow: $_popup_shadow; |
| 664 |
} |
| 665 |
|
| 666 |
// |
| 667 |
// Pad OSD |
| 668 |
// |
| 669 |
.pad-osd-window { |
| 670 |
padding: 32px; |
| 671 |
background-color: $osd_bg_color; |
| 672 |
|
| 673 |
.pad-osd-title-box { spacing: 12px; } |
| 674 |
.pad-osd-title-menu-box { spacing: 6px; } |
| 675 |
} |
| 676 |
|
| 677 |
.combo-box-label { |
| 678 |
width: 15em; |
| 679 |
} |
| 680 |
|
| 681 |
// |
| 682 |
// Alt Tab Switcher |
| 683 |
// |
| 684 |
.switcher-popup { |
| 685 |
padding: 8px; |
| 686 |
spacing: 16px; |
| 687 |
} |
| 688 |
|
| 689 |
.switcher-list { |
| 690 |
padding: 15px; |
| 691 |
@extend %shell_bg; |
| 692 |
|
| 693 |
&-item-container { spacing: 8px; } |
| 694 |
|
| 695 |
.item-box { |
| 696 |
padding: 8px; |
| 697 |
color: $_panel_fg_color; |
| 698 |
border-radius: 2px; |
| 699 |
border: 1px solid transparent; |
| 700 |
|
| 701 |
&:outlined, &:selected { |
| 702 |
color: $selected_fg_color; |
| 703 |
background-color: $selected_bg_color; |
| 704 |
border: 1px solid $selected_bg_color; |
| 705 |
} |
| 706 |
} |
| 707 |
|
| 708 |
.thumbnail-box { |
| 709 |
padding: 2px; |
| 710 |
spacing: 4px; |
| 711 |
} |
| 712 |
|
| 713 |
.thumbnail { |
| 714 |
width: 256px; |
| 715 |
} |
| 716 |
|
| 717 |
.separator { |
| 718 |
width: 1px; |
| 719 |
background: transparentize($fg_color, 0.67); |
| 720 |
} |
| 721 |
} |
| 722 |
|
| 723 |
.switcher-arrow { |
| 724 |
border-color: rgba(0,0,0,0); |
| 725 |
color: $osd_fg_color; |
| 726 |
|
| 727 |
&:highlighted { |
| 728 |
color: $_panel_fg_color; |
| 729 |
} |
| 730 |
} |
| 731 |
|
| 732 |
.input-source-switcher-symbol { |
| 733 |
font-size: 34pt; |
| 734 |
width: 96px; |
| 735 |
height: 96px; |
| 736 |
} |
| 737 |
|
| 738 |
%shell_bg { |
| 739 |
background: $dark_sidebar_bg; |
| 740 |
//background-clip: padding-box; |
| 741 |
border: 1px solid $shell_bg_border_color; |
| 742 |
border-radius: 2px; |
| 743 |
box-shadow: $_popup_shadow; |
| 744 |
} |
| 745 |
|
| 746 |
// |
| 747 |
//Window Cycler |
| 748 |
// |
| 749 |
.cycler-highlight { border: 5px solid $selected_bg_color; } |
| 750 |
|
| 751 |
// |
| 752 |
// Workspace Switcher |
| 753 |
// |
| 754 |
.workspace-switcher { |
| 755 |
|
| 756 |
background: transparent; |
| 757 |
border: 0px; |
| 758 |
border-radius: 0px; |
| 759 |
padding: 0px; |
| 760 |
spacing: 8px; |
| 761 |
|
| 762 |
&-group { padding: 12px; } |
| 763 |
|
| 764 |
&-container { |
| 765 |
padding: 14px; |
| 766 |
padding-bottom: 17px; |
| 767 |
@extend %shell_bg; |
| 768 |
} |
| 769 |
} |
| 770 |
|
| 771 |
.ws-switcher-active-up, .ws-switcher-active-down, |
| 772 |
.ws-switcher-active-left, .ws-switcher-active-right { |
| 773 |
height: 64px; |
| 774 |
background-color: $selected_bg_color; |
| 775 |
background-size: 64px; |
| 776 |
border-radius: 2px; |
| 777 |
border: 1px solid $selected_bg_color; |
| 778 |
} |
| 779 |
|
| 780 |
.ws-switcher-active-up { |
| 781 |
background-image: url("common-assets/misc/ws-switch-arrow-up.svg"); |
| 782 |
} |
| 783 |
|
| 784 |
.ws-switcher-active-down { |
| 785 |
background-image: url("common-assets/misc/ws-switch-arrow-down.svg"); |
| 786 |
} |
| 787 |
|
| 788 |
.ws-switcher-active-left { |
| 789 |
background-image: url("common-assets/misc/ws-switch-arrow-left.svg"); |
| 790 |
} |
| 791 |
|
| 792 |
.ws-switcher-active-right { |
| 793 |
background-image: url("common-assets/misc/ws-switch-arrow-right.svg"); |
| 794 |
} |
| 795 |
|
| 796 |
.ws-switcher-box { |
| 797 |
height: 64px; |
| 798 |
background-color: transparentize(black, 0.67); |
| 799 |
border: 1px solid transparentize(black, 0.67); |
| 800 |
border-radius: 2px; |
| 801 |
} |
| 802 |
|
| 803 |
// |
| 804 |
// Tiled window previews |
| 805 |
// |
| 806 |
.tile-preview { |
| 807 |
background-color: transparentize($selected_bg_color, 0.65); |
| 808 |
border: 1px solid $selected_bg_color; |
| 809 |
|
| 810 |
&-left.on-primary { |
| 811 |
border-radius: $panel-corner-radius 0 0 0; |
| 812 |
} |
| 813 |
|
| 814 |
&-right.on-primary { |
| 815 |
border-radius: 0 $panel-corner-radius 0 0; |
| 816 |
} |
| 817 |
|
| 818 |
&-left.tile-preview-right.on-primary { |
| 819 |
border-radius: $panel-corner-radius $panel-corner-radius 0 0; |
| 820 |
} |
| 821 |
} |
| 822 |
|
| 823 |
// |
| 824 |
// Top Bar |
| 825 |
// |
| 826 |
#panel { |
| 827 |
font-weight: bold; |
| 828 |
font-feature-settings: "tnum"; |
| 829 |
height: 2.1em; |
| 830 |
min-height: 26px; |
| 831 |
background-gradient-direction: none; |
| 832 |
background-color: $shell_osd_background_color; |
| 833 |
//background-clip: padding-box; |
| 834 |
border: 0 solid $shell_osd_border_color; |
| 835 |
border-bottom-width: 1px; |
| 836 |
transition-duration: $panel_transition_duration; |
| 837 |
|
| 838 |
// Fix dynamic top bar extension |
| 839 |
&.dynamic-top-bar-white-btn { border-image: none; } |
| 840 |
|
| 841 |
&.unlock-screen, |
| 842 |
&.login-screen, |
| 843 |
&:overview { |
| 844 |
background-color: transparent; |
| 845 |
border-color: transparent; |
| 846 |
|
| 847 |
.panel-button { |
| 848 |
&:focus, &:active, &:checked { |
| 849 |
&, &.clock-display .clock { |
| 850 |
color: $selected_fg_color; |
| 851 |
border-color: transparent; |
| 852 |
} |
| 853 |
} |
| 854 |
} |
| 855 |
} |
| 856 |
&.unlock-screen { |
| 857 |
.panel-button { |
| 858 |
color: $_shell_fg_color; |
| 859 |
|
| 860 |
&:hover { |
| 861 |
color: $_shell_fg_color; |
| 862 |
} |
| 863 |
} |
| 864 |
} |
| 865 |
|
| 866 |
.panel-corner { |
| 867 |
-panel-corner-radius: $panel-corner-radius; |
| 868 |
-panel-corner-background-color: transparentize(black, 1); |
| 869 |
-panel-corner-border-width: 0px; |
| 870 |
-panel-corner-border-color: black; |
| 871 |
-panel-corner-opacity: 0; |
| 872 |
|
| 873 |
&:active, &:overview, &:focus { |
| 874 |
-panel-corner-border-color: black; |
| 875 |
} |
| 876 |
|
| 877 |
&.login-screen, &.unlock-screen { |
| 878 |
-panel-corner-radius: 0; |
| 879 |
-panel-corner-background-color: transparent; |
| 880 |
-panel-corner-border-color: transparent; |
| 881 |
} |
| 882 |
} |
| 883 |
|
| 884 |
.panel-button { |
| 885 |
-natural-hpadding: 10px; |
| 886 |
-minimum-hpadding: 6px; |
| 887 |
font-weight: bold; |
| 888 |
color: $_panel_fg_color; |
| 889 |
transition-duration: 100ms; |
| 890 |
border-width: 0; |
| 891 |
border-bottom-width: 1px; |
| 892 |
border-color: transparent; |
| 893 |
border-radius: 0; |
| 894 |
|
| 895 |
// Hide icon for the application menu |
| 896 |
.app-menu-icon { |
| 897 |
width: 0; |
| 898 |
height: 0; |
| 899 |
} |
| 900 |
|
| 901 |
@at-root %panel_button_hover, |
| 902 |
&:hover { |
| 903 |
box-shadow: inset 0 0 0 100px transparentize(black, 0.83); |
| 904 |
border-color: transparent; |
| 905 |
} |
| 906 |
|
| 907 |
@at-root %panel_button_active, |
| 908 |
&:active, &:overview, &:focus, &:checked { |
| 909 |
color: $selected_fg_color; |
| 910 |
box-shadow: inset 0 0 0 100px $selected_bg_color; |
| 911 |
border-color: black; |
| 912 |
} |
| 913 |
|
| 914 |
.system-status-icon { icon-size: 16px; padding: 0 4px; } |
| 915 |
|
| 916 |
&.clock-display { |
| 917 |
// Move highlight from .panel-button to .clock |
| 918 |
background: transparent; |
| 919 |
border-bottom-width: 0; |
| 920 |
|
| 921 |
.clock { |
| 922 |
@extend .panel-button; |
| 923 |
|
| 924 |
padding: 0 10px; |
| 925 |
box-shadow: none; |
| 926 |
|
| 927 |
//HACK: compensate for bottom border to ensure the clock stays vertically centered |
| 928 |
padding-top: 1px; |
| 929 |
} |
| 930 |
|
| 931 |
&:hover .clock { @extend %panel_button_hover; } |
| 932 |
|
| 933 |
&:active, &:overview, &:focus, &:checked { |
| 934 |
.clock { @extend %panel_button_active; } |
| 935 |
} |
| 936 |
|
| 937 |
& StIcon { |
| 938 |
color: $_panel_fg_color; |
| 939 |
margin: 0 4px; |
| 940 |
} |
| 941 |
} |
| 942 |
} |
| 943 |
|
| 944 |
#panelActivities.panel-button { -natural-hpadding: 12px; } |
| 945 |
|
| 946 |
.panel-status-indicators-box, |
| 947 |
.panel-status-menu-box { |
| 948 |
spacing: 2px; |
| 949 |
} |
| 950 |
|
| 951 |
// spacing between power icon and (optional) percentage label |
| 952 |
.power-status.panel-status-indicators-box { |
| 953 |
spacing: 0; |
| 954 |
} |
| 955 |
|
| 956 |
.screencast-indicator { color: $error_color; } |
| 957 |
|
| 958 |
.remote-access-indicator { color: $error_color; } |
| 959 |
|
| 960 |
.popup-menu-arrow { width: 0; } |
| 961 |
} |
| 962 |
|
| 963 |
// Activities button |
| 964 |
#panel #panelActivities.panel-button { |
| 965 |
|
| 966 |
> * { |
| 967 |
background-image: url("common-assets/panel/activities.svg"); |
| 968 |
background-size: contain; |
| 969 |
width: 24px; |
| 970 |
height: 24px; |
| 971 |
background-color: transparent !important; |
| 972 |
background-gradient-direction: none !important; |
| 973 |
border: 0 solid transparent !important; |
| 974 |
text-shadow: 0 0 transparent !important; |
| 975 |
transition-duration: 0ms !important; |
| 976 |
box-shadow: none !important; |
| 977 |
color: transparent; |
| 978 |
} |
| 979 |
|
| 980 |
&:active, &:overview, &:focus, &:checked { |
| 981 |
background-color: transparent; |
| 982 |
box-shadow: none; |
| 983 |
border-bottom-width: 1px; |
| 984 |
border-color: transparent; |
| 985 |
|
| 986 |
> * { background-image: url("common-assets/panel/activities-active.svg"); } |
| 987 |
} |
| 988 |
} |
| 989 |
|
| 990 |
// a little unstructured mess: |
| 991 |
|
| 992 |
#appMenu { |
| 993 |
spacing: 0; |
| 994 |
padding: 0; |
| 995 |
|
| 996 |
.label-shadow { color: transparent; } |
| 997 |
} |
| 998 |
|
| 999 |
#appMenu .panel-status-menu-box { |
| 1000 |
padding: 0; |
| 1001 |
spacing: 4px; |
| 1002 |
} |
| 1003 |
|
| 1004 |
.app-menu, |
| 1005 |
.app-well-menu { |
| 1006 |
max-width: 27.25em; |
| 1007 |
} |
| 1008 |
|
| 1009 |
.aggregate-menu { |
| 1010 |
min-width: 23.5em; |
| 1011 |
.popup-menu-icon { padding: 0; |
| 1012 |
margin: 0 4px; |
| 1013 |
-st-icon-style: symbolic; } |
| 1014 |
.popup-sub-menu .popup-menu-item > :first-child { |
| 1015 |
&:ltr { /* 12px spacing + 2*4px padding + 16px icon */ |
| 1016 |
padding-left: 36px; } |
| 1017 |
&:rtl { /* 12px spacing + 2*4px padding + 16px icon */ |
| 1018 |
padding-right: 36px; } |
| 1019 |
} |
| 1020 |
} |
| 1021 |
|
| 1022 |
// |
| 1023 |
// Calendar popover |
| 1024 |
// |
| 1025 |
|
| 1026 |
@mixin datemenu_bubble { |
| 1027 |
box-shadow: none; |
| 1028 |
background: transparent; |
| 1029 |
color: inherit; |
| 1030 |
text-shadow: none; |
| 1031 |
border: none; |
| 1032 |
border-radius: 3px; |
| 1033 |
margin: 0; |
| 1034 |
padding: 7px 10px; |
| 1035 |
|
| 1036 |
&:hover, &:focus { background-color: transparentize(black, 0.9); } |
| 1037 |
&:active { |
| 1038 |
background-color: $selected_bg_color; |
| 1039 |
color: $selected_fg_color; |
| 1040 |
} |
| 1041 |
} |
| 1042 |
|
| 1043 |
/* Date/Time Menu */ |
| 1044 |
|
| 1045 |
// overall menu |
| 1046 |
#calendarArea { |
| 1047 |
padding: 0; |
| 1048 |
} |
| 1049 |
|
| 1050 |
// Calendar menu side column |
| 1051 |
.datemenu-calendar-column { |
| 1052 |
spacing: 5px; |
| 1053 |
border: 0 solid transparent; |
| 1054 |
padding: 9px 0; |
| 1055 |
|
| 1056 |
&:ltr {margin-right: 13px; border-left-width: 1px; } |
| 1057 |
&:rtl {margin-left: 13px; border-right-width: 1px; } |
| 1058 |
|
| 1059 |
.datemenu-displays-section { |
| 1060 |
} |
| 1061 |
|
| 1062 |
.datemenu-displays-box { |
| 1063 |
spacing: 10px; |
| 1064 |
} |
| 1065 |
} |
| 1066 |
|
| 1067 |
.events-section-title { |
| 1068 |
@include datemenu_bubble; |
| 1069 |
color: transparentize($fg_color, 0.6); |
| 1070 |
font-weight: bold; |
| 1071 |
} |
| 1072 |
|
| 1073 |
|
| 1074 |
/* today button (the date) */ |
| 1075 |
.datemenu-today-button { |
| 1076 |
@include datemenu_bubble; |
| 1077 |
|
| 1078 |
// weekday label |
| 1079 |
.day-label { |
| 1080 |
@include fontsize($font-size); |
| 1081 |
font-weight: 400; |
| 1082 |
} |
| 1083 |
|
| 1084 |
// date label |
| 1085 |
.date-label { |
| 1086 |
@include fontsize($font-size * 1.5); |
| 1087 |
font-weight: 300; |
| 1088 |
} |
| 1089 |
} |
| 1090 |
|
| 1091 |
/* Calendar */ |
| 1092 |
.calendar { |
| 1093 |
@include datemenu_bubble; |
| 1094 |
padding: 0; |
| 1095 |
|
| 1096 |
// month |
| 1097 |
.calendar-month-label { |
| 1098 |
color: $fg_color; |
| 1099 |
font-weight: bold; |
| 1100 |
padding: 8px 0; |
| 1101 |
&:focus {} |
| 1102 |
} |
| 1103 |
|
| 1104 |
// prev/next month icons |
| 1105 |
.calendar-change-month-back, |
| 1106 |
.calendar-change-month-forward:rtl { |
| 1107 |
background-image: url("#{$asset_path}/misc/calendar-arrow-left.svg"); |
| 1108 |
&:focus, &:hover { background-image: url("#{$asset_path}/misc/calendar-arrow-left-hover.svg"); } |
| 1109 |
&:active { background-image: url("#{$asset_path}/misc/calendar-arrow-left.svg"); } |
| 1110 |
} |
| 1111 |
|
| 1112 |
.calendar-change-month-forward, |
| 1113 |
.calendar-change-month-back:rtl { |
| 1114 |
background-image: url("#{$asset_path}/misc/calendar-arrow-right.svg"); |
| 1115 |
&:focus, &:hover { background-image: url("#{$asset_path}/misc/calendar-arrow-right-hover.svg"); } |
| 1116 |
&:active { background-image: url("#{$asset_path}/misc/calendar-arrow-right.svg"); } |
| 1117 |
} |
| 1118 |
|
| 1119 |
.pager-button { |
| 1120 |
color: transparent; |
| 1121 |
background-color: transparent; |
| 1122 |
height: 32px; |
| 1123 |
width: 32px; |
| 1124 |
border-radius: 2px; |
| 1125 |
&:focus, &:hover, &:active { background-color: transparent; } |
| 1126 |
} |
| 1127 |
|
| 1128 |
$calendar_day_size: 27px; |
| 1129 |
|
| 1130 |
.calendar-day-base { |
| 1131 |
@include fontsize($font-size * 0.8); |
| 1132 |
text-align: center; |
| 1133 |
width: $calendar_day_size; |
| 1134 |
height: $calendar_day_size; |
| 1135 |
padding: 0; |
| 1136 |
margin: 2px; |
| 1137 |
border-radius: $calendar_day_size * 0.5; |
| 1138 |
border: 0 solid transparent; |
| 1139 |
font-feature-settings: "tnum"; |
| 1140 |
&:hover, &:focus { background-color: transparentize(black, 0.9); } |
| 1141 |
&:active,&:selected { |
| 1142 |
color: $fg_color; |
| 1143 |
background-color: transparentize(black, 0.85); |
| 1144 |
} |
| 1145 |
|
| 1146 |
// day of week heading |
| 1147 |
&.calendar-day-heading { |
| 1148 |
color: transparentize($fg_color, 0.15); |
| 1149 |
margin-top: 9px; |
| 1150 |
@include fontsize($font-size * 0.7); |
| 1151 |
height: 23px;//adjusts bottom margin |
| 1152 |
} |
| 1153 |
} |
| 1154 |
|
| 1155 |
.calendar-day { //border collapse hack - see calendar.js |
| 1156 |
border-width: 0; |
| 1157 |
color: transparentize($fg_color, 0.2); |
| 1158 |
} |
| 1159 |
|
| 1160 |
.calendar-day-top { |
| 1161 |
border-top-width: 0; |
| 1162 |
} |
| 1163 |
|
| 1164 |
.calendar-day-left { |
| 1165 |
border-left-width: 0; |
| 1166 |
} |
| 1167 |
|
| 1168 |
.calendar-work-day {} |
| 1169 |
|
| 1170 |
.calendar-nonwork-day { |
| 1171 |
color: $fg_color; |
| 1172 |
font-weight: bold; |
| 1173 |
} |
| 1174 |
|
| 1175 |
// Today |
| 1176 |
.calendar-today { |
| 1177 |
font-weight: bold; |
| 1178 |
border: 0 solid transparent; |
| 1179 |
|
| 1180 |
&, &:hover, &:focus, &:active, &:selected { |
| 1181 |
background-color: $selected_bg_color; |
| 1182 |
color: $selected_fg_color; |
| 1183 |
} |
| 1184 |
} |
| 1185 |
|
| 1186 |
.calendar-day-with-events { |
| 1187 |
font-weight: bold; |
| 1188 |
background-image: url("common-assets/misc/calendar-today.svg"); |
| 1189 |
|
| 1190 |
&.calendar-today { |
| 1191 |
background-image: url("common-assets/misc/calendar-today-active.svg"); |
| 1192 |
} |
| 1193 |
} |
| 1194 |
|
| 1195 |
.calendar-other-month-day { |
| 1196 |
color: transparentize($fg_color, 0.7); |
| 1197 |
} |
| 1198 |
|
| 1199 |
.calendar-week-number { |
| 1200 |
@include fontsize($font-size * 0.7); |
| 1201 |
font-weight: bold; |
| 1202 |
height: 15px; |
| 1203 |
width: 19px; |
| 1204 |
border-radius: 2px; |
| 1205 |
margin: 6px; |
| 1206 |
background-color: if($variant!='dark', transparentize($fg_color,0.9), transparentize($fg_color,0.7)); |
| 1207 |
color: if($variant!='dark', transparentize($fg_color,0.5), $bg_color); |
| 1208 |
|
| 1209 |
&:ltr { margin-left: 10px; } |
| 1210 |
&:rtl { margin-right: 10px; } |
| 1211 |
} |
| 1212 |
} |
| 1213 |
|
| 1214 |
/* Events */ |
| 1215 |
.events-button { |
| 1216 |
@include datemenu_bubble; |
| 1217 |
|
| 1218 |
.events-box { |
| 1219 |
spacing: 5px; |
| 1220 |
} |
| 1221 |
|
| 1222 |
.events-list { |
| 1223 |
spacing: 10px; |
| 1224 |
} |
| 1225 |
|
| 1226 |
.events-title { |
| 1227 |
color: transparentize($fg_color, 0.6); |
| 1228 |
font-weight: bold; |
| 1229 |
} |
| 1230 |
&:active .events-title { |
| 1231 |
color: $selected_fg_color; |
| 1232 |
} |
| 1233 |
|
| 1234 |
.event-time { |
| 1235 |
color: transparentize($fg_color, 0.4); |
| 1236 |
font-feature-settings: "tnum"; |
| 1237 |
@include fontsize($font-size * 0.9); |
| 1238 |
} |
| 1239 |
&:active .event-time { |
| 1240 |
color: transparentize($selected_fg_color, 0.4); |
| 1241 |
} |
| 1242 |
} |
| 1243 |
|
| 1244 |
/* World clocks */ |
| 1245 |
.world-clocks-button { |
| 1246 |
@include datemenu_bubble; |
| 1247 |
|
| 1248 |
.world-clocks-grid { |
| 1249 |
spacing-rows: 5px; |
| 1250 |
spacing-columns: 10px; |
| 1251 |
} |
| 1252 |
|
| 1253 |
// title |
| 1254 |
.world-clocks-header { |
| 1255 |
color: transparentize($fg_color, 0.6); |
| 1256 |
font-weight: bold; |
| 1257 |
} |
| 1258 |
&:active .world-clocks-header { |
| 1259 |
color: $selected_fg_color; |
| 1260 |
} |
| 1261 |
|
| 1262 |
// city label |
| 1263 |
.world-clocks-city { |
| 1264 |
color: inherit; |
| 1265 |
@include fontsize($font-size * 0.9); |
| 1266 |
font-weight: bold; |
| 1267 |
} |
| 1268 |
|
| 1269 |
// timezone time |
| 1270 |
.world-clocks-time { |
| 1271 |
font-weight: normal; |
| 1272 |
color: transparentize($fg_color, 0.2); |
| 1273 |
font-feature-settings: "tnum"; |
| 1274 |
@include fontsize($font-size * 1.2); |
| 1275 |
|
| 1276 |
&:ltr { text-align: right; } |
| 1277 |
&:rtl { text-align: left; } |
| 1278 |
} |
| 1279 |
&:active .world-clocks-time { color: transparentize($selected_fg_color, 0.2); } |
| 1280 |
|
| 1281 |
// timezone offset label |
| 1282 |
.world-clocks-timezone { |
| 1283 |
color: transparentize($fg_color, 0.4); |
| 1284 |
font-feature-settings: "tnum"; |
| 1285 |
@include fontsize($font-size * 0.9); |
| 1286 |
} |
| 1287 |
&:active .world-clocks-timezone { color: transparentize($selected_fg_color, 0.4); } |
| 1288 |
} |
| 1289 |
|
| 1290 |
/* Weather */ |
| 1291 |
.weather-button { |
| 1292 |
@include datemenu_bubble; |
| 1293 |
|
| 1294 |
.weather-box { |
| 1295 |
spacing: 5px; |
| 1296 |
} |
| 1297 |
|
| 1298 |
.weather-header-box { |
| 1299 |
spacing: 5px; |
| 1300 |
} |
| 1301 |
|
| 1302 |
.weather-header { |
| 1303 |
color: transparentize($fg_color, 0.6); |
| 1304 |
font-weight: bold; |
| 1305 |
|
| 1306 |
&.location { |
| 1307 |
font-weight: normal; |
| 1308 |
@include fontsize($font-size * 0.9); |
| 1309 |
} |
| 1310 |
} |
| 1311 |
&:active .weather-header { |
| 1312 |
color: $selected_fg_color; |
| 1313 |
} |
| 1314 |
|
| 1315 |
.weather-grid { |
| 1316 |
spacing-rows: 5px; |
| 1317 |
spacing-columns: 10px; |
| 1318 |
} |
| 1319 |
|
| 1320 |
.weather-forecast-time { |
| 1321 |
color: transparentize($fg_color, 0.4); |
| 1322 |
font-feature-settings: "tnum"; |
| 1323 |
@include fontsize($font-size * 0.8); |
| 1324 |
font-weight: normal; |
| 1325 |
padding-top: 2px; |
| 1326 |
padding-bottom: 4px; |
| 1327 |
} |
| 1328 |
&:active .weather-forecast-time { color: transparentize($selected_fg_color, 0.4); } |
| 1329 |
|
| 1330 |
.weather-forecast-icon { |
| 1331 |
icon-size: 26px; |
| 1332 |
} |
| 1333 |
|
| 1334 |
.weather-forecast-temp { |
| 1335 |
font-weight: bold; |
| 1336 |
} |
| 1337 |
} |
| 1338 |
|
| 1339 |
// |
| 1340 |
// Message list |
| 1341 |
// |
| 1342 |
|
| 1343 |
// main list |
| 1344 |
.message-list { |
| 1345 |
width: 31.5em; |
| 1346 |
padding: 9px 0; |
| 1347 |
|
| 1348 |
.message-list-placeholder { |
| 1349 |
StIcon { width: 0; height: 0; } |
| 1350 |
StLabel { color: $insensitive_fg_color; } |
| 1351 |
} |
| 1352 |
|
| 1353 |
StScrollBar { padding: 2px 0; } |
| 1354 |
} |
| 1355 |
|
| 1356 |
.message-list-sections { |
| 1357 |
spacing: 12px; |
| 1358 |
margin: 0 18px; // to account for scrollbar |
| 1359 |
|
| 1360 |
&:ltr { margin-right: 9px; } |
| 1361 |
&:rtl { margin-left: 9px; } |
| 1362 |
} |
| 1363 |
|
| 1364 |
.message-list-section, |
| 1365 |
.message-list-section-list { |
| 1366 |
spacing: 5px; |
| 1367 |
} |
| 1368 |
|
| 1369 |
// do-not-disturb + clear button |
| 1370 |
.message-list-controls { |
| 1371 |
margin: 18px 18px 0; |
| 1372 |
padding: 0; |
| 1373 |
spacing: 10px; |
| 1374 |
|
| 1375 |
&:ltr { margin-right: 9px; } |
| 1376 |
&:rtl { margin-left: 9px; } |
| 1377 |
|
| 1378 |
.dnd-button { |
| 1379 |
// We need this because the focus outline isn't inset like for the buttons |
| 1380 |
// so the dnd button would grow when it gets focus if we didn't change only |
| 1381 |
// its color when focusing. |
| 1382 |
border-width: 1px; |
| 1383 |
border-color: transparent; |
| 1384 |
border-radius: 99px; |
| 1385 |
border-style: solid; |
| 1386 |
|
| 1387 |
&:focus { |
| 1388 |
border-color: $selected_bg_color; |
| 1389 |
} |
| 1390 |
} |
| 1391 |
} |
| 1392 |
|
| 1393 |
.message-list-clear-button { |
| 1394 |
margin: 0; |
| 1395 |
padding: 4px 12px; |
| 1396 |
} |
| 1397 |
|
| 1398 |
// message bubbles |
| 1399 |
.message { |
| 1400 |
margin: 0; |
| 1401 |
text-shadow: none; |
| 1402 |
|
| 1403 |
padding: 3px; |
| 1404 |
color: $fg_color; |
| 1405 |
background-color: $shell_message_background_color; |
| 1406 |
border: 1px solid $shell_message_border_color; |
| 1407 |
border-radius: 2px; |
| 1408 |
box-shadow: inset 4px 0 0 if($variant!='dark', -1px, -2px) $selected_bg_color; |
| 1409 |
text-shadow: none; |
| 1410 |
|
| 1411 |
&:hover, &:focus { |
| 1412 |
color: $fg_color; |
| 1413 |
border-color: $selected_bg_color; |
| 1414 |
} |
| 1415 |
|
| 1416 |
&:active { |
| 1417 |
color: $selected_fg_color; |
| 1418 |
background-color: $selected_bg_color; |
| 1419 |
} |
| 1420 |
|
| 1421 |
// icon container |
| 1422 |
$message_icon_size: 16px; |
| 1423 |
|
| 1424 |
.message-icon-bin { |
| 1425 |
padding: 8px 2px 8px 8px; |
| 1426 |
&:rtl { padding: 8px 8px 8px 2px; } |
| 1427 |
|
| 1428 |
// icon size and color |
| 1429 |
> StIcon { |
| 1430 |
color: inherit; |
| 1431 |
icon-size: $message_icon_size; |
| 1432 |
-st-icon-style: symbolic; |
| 1433 |
} |
| 1434 |
|
| 1435 |
// fallback |
| 1436 |
> .fallback-app-icon { |
| 1437 |
width: $message_icon_size; |
| 1438 |
height: $message_icon_size; |
| 1439 |
} |
| 1440 |
} |
| 1441 |
|
| 1442 |
// content |
| 1443 |
.message-content { |
| 1444 |
padding: 8px; |
| 1445 |
spacing: 0; |
| 1446 |
} |
| 1447 |
|
| 1448 |
// title |
| 1449 |
.message-title { |
| 1450 |
font-weight: bold; |
| 1451 |
} |
| 1452 |
|
| 1453 |
// secondary container in title box |
| 1454 |
.message-secondary-bin { |
| 1455 |
padding: 0 10px; |
| 1456 |
|
| 1457 |
// notification time stamp |
| 1458 |
> .event-time { |
| 1459 |
color: transparentize($fg_color, 0.4); |
| 1460 |
@include fontsize($font-size * 0.9); |
| 1461 |
/* HACK: the label should be baseline-aligned with a 1em label, fake this with some bottom padding */ |
| 1462 |
padding-bottom: 0.05em;//Use em instead of px, since this depends on font-size |
| 1463 |
|
| 1464 |
&:ltr { text-align: right }; |
| 1465 |
&:rtl { text-align: left }; |
| 1466 |
} |
| 1467 |
} |
| 1468 |
|
| 1469 |
&:active .message-secondary-bin, |
| 1470 |
&:active .message-secondary-bin > .event-time { |
| 1471 |
color: transparentize($selected_fg_color, 0.4); |
| 1472 |
} |
| 1473 |
|
| 1474 |
// close button |
| 1475 |
.message-close-button { |
| 1476 |
color: $fg_color; |
| 1477 |
&:hover { color: transparentize($fg_color, 0.3); } |
| 1478 |
&:active { color: $selected_bg_color } |
| 1479 |
} |
| 1480 |
|
| 1481 |
// body |
| 1482 |
.message-body { |
| 1483 |
color: inherit; |
| 1484 |
} |
| 1485 |
} |
| 1486 |
|
| 1487 |
// URLs in messages |
| 1488 |
.url-highlighter { |
| 1489 |
link-color: $link_color; |
| 1490 |
} |
| 1491 |
|
| 1492 |
/* Media Controls */ |
| 1493 |
.message-media-control { |
| 1494 |
padding: 12px; |
| 1495 |
color: $fg_color; |
| 1496 |
background-color: transparent; |
| 1497 |
|
| 1498 |
&:hover { color: transparentize($fg_color, 0.3); } |
| 1499 |
&:active { color: $selected_bg_color; } |
| 1500 |
&:insensitive { color: $insensitive_fg_color; } |
| 1501 |
|
| 1502 |
&:last-child:ltr { padding-right: 18px; } |
| 1503 |
&:last-child:rtl { padding-left: 18px; } |
| 1504 |
} |
| 1505 |
|
| 1506 |
.message:active .message-media-control { |
| 1507 |
color: $selected_fg_color; |
| 1508 |
} |
| 1509 |
|
| 1510 |
// album-art |
| 1511 |
.media-message-cover-icon { |
| 1512 |
icon-size: 48px !important; |
| 1513 |
|
| 1514 |
// when there is no artwork |
| 1515 |
&.fallback { |
| 1516 |
color: $insensitive_fg_color !important; |
| 1517 |
background-color: $bg_color; |
| 1518 |
border-radius: 2px; |
| 1519 |
icon-size: 32px !important; |
| 1520 |
padding: 6px; |
| 1521 |
border: 1px solid $borders_color; |
| 1522 |
} |
| 1523 |
|
| 1524 |
.message:active &.fallback { |
| 1525 |
color: transparentize($selected_fg_color, 0.2) !important; |
| 1526 |
background-color: lighten($selected_bg_color, 7%); |
| 1527 |
border-color: transparentize($selected_fg_color, 0.2); |
| 1528 |
} |
| 1529 |
} |
| 1530 |
|
| 1531 |
|
| 1532 |
// |
| 1533 |
// Activities Ripples |
| 1534 |
// |
| 1535 |
.ripple-box { |
| 1536 |
width: 52px; |
| 1537 |
height: 52px; |
| 1538 |
border-radius: 0 0 52px 0; // radius the size of the box give us the curve |
| 1539 |
background-color: transparentize($selected_bg_color, 0.5); |
| 1540 |
|
| 1541 |
&:rtl { border-radius: 0 0 0 52px; } // just a simple change to the border radius position |
| 1542 |
} |
| 1543 |
|
| 1544 |
// Rubberband for select-area screenshots |
| 1545 |
.select-area-rubberband { |
| 1546 |
background-color: transparentize($selected_bg_color,0.7); |
| 1547 |
border: 1px solid $selected_bg_color; |
| 1548 |
} |
| 1549 |
|
| 1550 |
// Pointer location |
| 1551 |
.ripple-pointer-location { |
| 1552 |
width: 50px; |
| 1553 |
height: 50px; |
| 1554 |
border-radius: 25px 25px 25px 25px; // radius the size of the box give us the curve |
| 1555 |
background-color: transparentize($selected_bg_color, 0.5); |
| 1556 |
} |
| 1557 |
|
| 1558 |
// not really top bar only |
| 1559 |
.popup-menu-arrow { icon-size: 16px; } |
| 1560 |
.popup-menu-icon { icon-size: 16px; } |
| 1561 |
|
| 1562 |
|
| 1563 |
// |
| 1564 |
// Close buttons |
| 1565 |
// |
| 1566 |
$window_close_button_size: 26px; |
| 1567 |
$window_close_button_padding: 0; |
| 1568 |
|
| 1569 |
.window-close { |
| 1570 |
background-color: lighten(saturate($destructive_color, 6%), 4%); |
| 1571 |
border-radius: $window_close_button_size * 0.5 + $window_close_button_padding * 2;; |
| 1572 |
border: none; |
| 1573 |
box-shadow: 0 1px 0 0 rgba(0,0,0,0.1);; |
| 1574 |
color: $destructive_fg_color; |
| 1575 |
height: $window_close_button_size; |
| 1576 |
width: $window_close_button_size; |
| 1577 |
padding: $window_close_button_padding; |
| 1578 |
transition-duration: 100ms; |
| 1579 |
|
| 1580 |
& > StIcon { icon-size: 18px; } |
| 1581 |
|
| 1582 |
&:hover { |
| 1583 |
background-color: lighten(saturate($destructive_color, 15%), 12%); |
| 1584 |
color: $destructive_fg_color; |
| 1585 |
} |
| 1586 |
|
| 1587 |
&:active { |
| 1588 |
background-color: darken(adjust-hue(desaturate($destructive_color, 18%), -5%), 9%); |
| 1589 |
color: $destructive_fg_color; |
| 1590 |
} |
| 1591 |
} |
| 1592 |
|
| 1593 |
.workspace-background { |
| 1594 |
// keep in sync with BACKGROUND_CORNER_RADIUS_PIXELS in workspace.js |
| 1595 |
border-radius: 30px; |
| 1596 |
box-shadow: 0 8px 16px 0 transparentize(black, 0.8); |
| 1597 |
} |
| 1598 |
|
| 1599 |
// Pointer accessibility notifications |
| 1600 |
.pie-timer { |
| 1601 |
width: 60px; |
| 1602 |
height: 60px; |
| 1603 |
-pie-border-width: 2px; |
| 1604 |
-pie-border-color: $selected_bg_color; |
| 1605 |
-pie-background-color: transparentize($selected_bg_color, 0.5); |
| 1606 |
} |
| 1607 |
|
| 1608 |
// |
| 1609 |
// Network Dialogs |
| 1610 |
// |
| 1611 |
.nm-dialog { |
| 1612 |
max-height: 34em; |
| 1613 |
min-height: 31em; |
| 1614 |
min-width: 32em; |
| 1615 |
|
| 1616 |
&-content { |
| 1617 |
spacing: 20px; |
| 1618 |
padding: 10px; |
| 1619 |
|
| 1620 |
@extend %modal_dialog_content_box; |
| 1621 |
} |
| 1622 |
|
| 1623 |
&-header-hbox { spacing: 10px; } |
| 1624 |
|
| 1625 |
&-airplane-box { spacing: 12px; } |
| 1626 |
|
| 1627 |
&-airplane-headline { |
| 1628 |
@include fontsize($font-size * 1.1); |
| 1629 |
font-weight: bold; |
| 1630 |
text-align: center; |
| 1631 |
} |
| 1632 |
|
| 1633 |
&-airplane-text { color: $fg_color; } |
| 1634 |
|
| 1635 |
&-header-icon { icon-size: 32px; } |
| 1636 |
|
| 1637 |
&-scroll-view { |
| 1638 |
border: 1px solid $borders_color; |
| 1639 |
border-radius: 2px; |
| 1640 |
background-color: $base_color; |
| 1641 |
} |
| 1642 |
|
| 1643 |
&-header { |
| 1644 |
font-weight: bold; |
| 1645 |
@include fontsize($font-size * 1.2); |
| 1646 |
} |
| 1647 |
|
| 1648 |
&-item { |
| 1649 |
@include fontsize($font-size); |
| 1650 |
border-bottom: 0px solid; |
| 1651 |
padding: 12px; |
| 1652 |
spacing: 0px; |
| 1653 |
|
| 1654 |
&:selected { |
| 1655 |
background-color: $selected_bg_color; |
| 1656 |
color: $selected_fg_color; |
| 1657 |
} |
| 1658 |
} |
| 1659 |
|
| 1660 |
&-icons { spacing: .5em; } |
| 1661 |
|
| 1662 |
&-icon { icon-size: 16px; } |
| 1663 |
} |
| 1664 |
|
| 1665 |
.no-networks-label { color: $insensitive_fg_color; } |
| 1666 |
|
| 1667 |
.no-networks-box { spacing: 12px; } |
| 1668 |
|
| 1669 |
// |
| 1670 |
// Overview |
| 1671 |
// |
| 1672 |
.controls-manager, |
| 1673 |
.secondary-monitor-workspaces { |
| 1674 |
spacing: 12px; |
| 1675 |
} |
| 1676 |
|
| 1677 |
#overviewGroup { |
| 1678 |
background-color: $_system_bg_color; |
| 1679 |
} |
| 1680 |
|
| 1681 |
.overview-controls { padding-bottom: 32px; } |
| 1682 |
|
| 1683 |
.window-picker { //container around window thumbnails |
| 1684 |
spacing: 6px; |
| 1685 |
} |
| 1686 |
|
| 1687 |
.window-caption { |
| 1688 |
spacing: 25px; |
| 1689 |
color: $selected_fg_color; |
| 1690 |
background-color: $selected_bg_color; |
| 1691 |
border-radius: 2px; |
| 1692 |
padding: 4px 12px; |
| 1693 |
border-width: 0; |
| 1694 |
@include fontsize($font-size); |
| 1695 |
font-weight: normal; |
| 1696 |
} |
| 1697 |
|
| 1698 |
// |
| 1699 |
// Search Entry |
| 1700 |
// |
| 1701 |
.search-entry { |
| 1702 |
width: 320px; |
| 1703 |
padding: 7px 9px; |
| 1704 |
border-radius: 20px; |
| 1705 |
border: 1px solid transparentize(black, 0.75); |
| 1706 |
background-color: transparentize($entry_bg, 0.1); |
| 1707 |
transition-duration: 0ms; |
| 1708 |
margin-top: 10px; |
| 1709 |
margin-bottom: 5px; |
| 1710 |
|
| 1711 |
&:focus { |
| 1712 |
padding: 7px 9px; |
| 1713 |
} |
| 1714 |
|
| 1715 |
.search-entry-icon, |
| 1716 |
.hint-text { |
| 1717 |
color: $fg_color; |
| 1718 |
} |
| 1719 |
|
| 1720 |
.search-entry-icon { |
| 1721 |
icon-size: 16px; |
| 1722 |
padding: 0 4px; |
| 1723 |
} |
| 1724 |
|
| 1725 |
.hint-text { margin-left: 0; } |
| 1726 |
|
| 1727 |
&:hover, &:focus { |
| 1728 |
color: $selected_fg_color; |
| 1729 |
caret-color: $selected_fg_color; |
| 1730 |
background-color: $selected_bg_color; |
| 1731 |
|
| 1732 |
selection-background-color: $selected_fg_color; |
| 1733 |
selected-color: $selected_bg_color; |
| 1734 |
|
| 1735 |
.search-entry-icon, |
| 1736 |
.hint-text { |
| 1737 |
color: $selected_fg_color; |
| 1738 |
} |
| 1739 |
} |
| 1740 |
} |
| 1741 |
|
| 1742 |
// |
| 1743 |
// Search Results |
| 1744 |
// |
| 1745 |
#searchResultsContent { |
| 1746 |
max-width: 1000px; |
| 1747 |
spacing: 16px; |
| 1748 |
} |
| 1749 |
|
| 1750 |
// This should be equal to #searchResultsContent spacing |
| 1751 |
.search-section { spacing: 16px; } |
| 1752 |
|
| 1753 |
// This is the space between the provider icon and the results container |
| 1754 |
.search-section-content { |
| 1755 |
background-color: transparent; |
| 1756 |
border: none; |
| 1757 |
box-shadow: none; |
| 1758 |
text-shadow: none; |
| 1759 |
color: $_shell_fg_color; |
| 1760 |
spacing: 32px; |
| 1761 |
} |
| 1762 |
|
| 1763 |
// "no results" |
| 1764 |
.search-statustext { |
| 1765 |
@extend %status_text; |
| 1766 |
} |
| 1767 |
|
| 1768 |
.grid-search-results { |
| 1769 |
spacing: 30px; |
| 1770 |
} |
| 1771 |
|
| 1772 |
.list-search-results { spacing: 3px; } |
| 1773 |
|
| 1774 |
.search-section-separator { |
| 1775 |
background-color: transparentize(white, 0.8); |
| 1776 |
height: 1px; |
| 1777 |
|
| 1778 |
.search-section:last-child & { background-color: transparent; } |
| 1779 |
} |
| 1780 |
|
| 1781 |
.list-search-result-content { spacing: 30px; } |
| 1782 |
|
| 1783 |
.list-search-result-title { color: $_shell_fg_color; spacing: 12px; } |
| 1784 |
|
| 1785 |
.list-search-result-description { color: transparentize(darken($_shell_fg_color, 20%), 0.3); } |
| 1786 |
|
| 1787 |
.list-search-provider-details { width: 150px; color: darken($_shell_fg_color,10%); margin-top: 0.1em; } |
| 1788 |
|
| 1789 |
.list-search-provider-content { spacing: 20px; } |
| 1790 |
|
| 1791 |
.search-provider-icon { padding: 15px; } |
| 1792 |
|
| 1793 |
// |
| 1794 |
// Dash |
| 1795 |
// |
| 1796 |
|
| 1797 |
$_dash_placeholder_size: 24px; |
| 1798 |
$_dash_padding: 10px; |
| 1799 |
$_dash_spacing: 4px; |
| 1800 |
|
| 1801 |
$_dash_bottom_margin: 20px; |
| 1802 |
|
| 1803 |
#dash { |
| 1804 |
@include fontsize($font-size); |
| 1805 |
margin-top: 15px; |
| 1806 |
padding: 0 $_dash_padding; |
| 1807 |
|
| 1808 |
.placeholder { |
| 1809 |
background-image: none; |
| 1810 |
background-size: contain; |
| 1811 |
height: $_dash_placeholder_size; |
| 1812 |
} |
| 1813 |
|
| 1814 |
.empty-dash-drop-target { |
| 1815 |
width: $_dash_placeholder_size; |
| 1816 |
height: $_dash_placeholder_size; |
| 1817 |
} |
| 1818 |
|
| 1819 |
.overview-icon { |
| 1820 |
padding: $_dash_padding / 2; |
| 1821 |
} |
| 1822 |
} |
| 1823 |
|
| 1824 |
.dash-background { |
| 1825 |
background-color: $dark_sidebar_bg; |
| 1826 |
margin-bottom: $_dash_bottom_margin; |
| 1827 |
padding: $_dash_padding; |
| 1828 |
border: 1px solid rgba(0,0,0,0.4); |
| 1829 |
border-radius: 3px; |
| 1830 |
} |
| 1831 |
|
| 1832 |
.dash-item-container .app-well-app, .show-apps { |
| 1833 |
padding: $_dash_padding $_dash_spacing $_dash_padding + $_dash_bottom_margin; |
| 1834 |
} |
| 1835 |
|
| 1836 |
.dash-separator { |
| 1837 |
width: 1px; |
| 1838 |
margin: 0 ($_dash_spacing + ($_dash_padding / 2)) $_dash_bottom_margin; |
| 1839 |
background-color: transparentize(black, 0.5); |
| 1840 |
} |
| 1841 |
|
| 1842 |
//osd tooltip |
| 1843 |
.dash-label { |
| 1844 |
border-radius: 3px; |
| 1845 |
padding: 4px 12px; |
| 1846 |
color: $_shell_fg_color; |
| 1847 |
background-color: transparentize(black, 0.3); |
| 1848 |
border: 0; |
| 1849 |
text-align: center; |
| 1850 |
-y-offset: 3px; |
| 1851 |
box-shadow: none; |
| 1852 |
} |
| 1853 |
|
| 1854 |
// Dash Buttons |
| 1855 |
#dash .app-well-app { |
| 1856 |
|
| 1857 |
& .overview-icon { |
| 1858 |
border: none; |
| 1859 |
} |
| 1860 |
|
| 1861 |
&:hover .overview-icon { |
| 1862 |
background-color: $selected_bg_color; |
| 1863 |
} |
| 1864 |
|
| 1865 |
&:active .overview-icon { |
| 1866 |
box-shadow: none; |
| 1867 |
background-color: darken($selected_bg_color, 10%); |
| 1868 |
} |
| 1869 |
|
| 1870 |
&-running-dot { |
| 1871 |
width: 11px; |
| 1872 |
height: 2px; |
| 1873 |
margin-bottom: 2px; |
| 1874 |
background-color: $selected_bg_color; |
| 1875 |
} |
| 1876 |
|
| 1877 |
&:hover .app-well-app-running-dot { |
| 1878 |
background-color: $selected_fg_color; |
| 1879 |
} |
| 1880 |
} |
| 1881 |
|
| 1882 |
#dashtodockContainer { |
| 1883 |
|
| 1884 |
&.bottom #dash { |
| 1885 |
margin-top: 1px; |
| 1886 |
} |
| 1887 |
|
| 1888 |
.app-well-app.focused .overview-icon { |
| 1889 |
background-color: transparentize(black, 0.75); |
| 1890 |
} |
| 1891 |
|
| 1892 |
.app-well-app.focused:hover .overview-icon { |
| 1893 |
background-color: $selected_bg_color; |
| 1894 |
} |
| 1895 |
|
| 1896 |
&.running-dots { |
| 1897 |
.app-well-app .app-well-app-running-dot, |
| 1898 |
.app-well-app.focused:hover .app-well-app-running-dot { |
| 1899 |
background-color: $selected_bg_color; |
| 1900 |
} |
| 1901 |
|
| 1902 |
.app-well-app:hover .app-well-app-running-dot { |
| 1903 |
background-color: $selected_fg_color; |
| 1904 |
} |
| 1905 |
} |
| 1906 |
|
| 1907 |
.app-well-app-running-dot, |
| 1908 |
.app-well-app:hover .app-well-app-running-dot { |
| 1909 |
background: none; |
| 1910 |
width: 28px; |
| 1911 |
height: 4px; |
| 1912 |
} |
| 1913 |
|
| 1914 |
@each $var in 1, 2, 3, 4 { |
| 1915 |
.running#{$var} .app-well-app-running-dot { |
| 1916 |
background-image: url("common-assets/dash/running#{$var}.svg"); |
| 1917 |
} |
| 1918 |
.running#{$var}:hover .app-well-app-running-dot { |
| 1919 |
background-image: url("common-assets/dash/running#{$var}-hover.svg"); |
| 1920 |
} |
| 1921 |
} |
| 1922 |
|
| 1923 |
& .show-apps { |
| 1924 |
margin: 0 1px 1px 0; |
| 1925 |
} |
| 1926 |
} |
| 1927 |
|
| 1928 |
.show-apps { |
| 1929 |
|
| 1930 |
.overview-icon { |
| 1931 |
background-color: transparentize(black, 0.5); |
| 1932 |
border-radius: 2px; |
| 1933 |
border: 0px; |
| 1934 |
padding: 6px; |
| 1935 |
transition-duration: 0ms; |
| 1936 |
text-align: center; |
| 1937 |
color: $_panel_fg_color; |
| 1938 |
} |
| 1939 |
|
| 1940 |
&:hover .overview-icon { |
| 1941 |
background-color: transparentize(black, 0.3); |
| 1942 |
color: $selected_bg_color; |
| 1943 |
} |
| 1944 |
|
| 1945 |
&:active .overview-icon, |
| 1946 |
&:active .show-apps-icon, |
| 1947 |
&:checked .overview-icon, |
| 1948 |
&:checked .show-apps-icon { |
| 1949 |
color: $selected_fg_color; |
| 1950 |
background-color: $selected_bg_color; |
| 1951 |
box-shadow: none; |
| 1952 |
transition-duration: 0ms; |
| 1953 |
} |
| 1954 |
} |
| 1955 |
|
| 1956 |
// |
| 1957 |
// App Vault/Grid |
| 1958 |
// |
| 1959 |
.icon-grid { |
| 1960 |
row-spacing: 10px; |
| 1961 |
column-spacing: 10px; |
| 1962 |
max-row-spacing: 60px; |
| 1963 |
max-column-spacing: 60px; |
| 1964 |
page-padding-top: 20px; |
| 1965 |
page-padding-bottom: 20px; |
| 1966 |
page-padding-left: 10px; |
| 1967 |
page-padding-right: 10px; |
| 1968 |
} |
| 1969 |
|
| 1970 |
.system-action-icon { |
| 1971 |
background-color: $bg_color; |
| 1972 |
color: $fg_color; |
| 1973 |
border-radius: 99px; |
| 1974 |
icon-size: 48px; |
| 1975 |
} |
| 1976 |
|
| 1977 |
.page-navigation-hint { |
| 1978 |
width: 300px; |
| 1979 |
|
| 1980 |
&.dnd { |
| 1981 |
background: rgba(255, 255, 255, 0.1); |
| 1982 |
} |
| 1983 |
|
| 1984 |
&.next:ltr, |
| 1985 |
&.previous:rtl { |
| 1986 |
background-gradient-start: rgba(255, 255, 255, 0.05); |
| 1987 |
background-gradient-end: transparent; |
| 1988 |
background-gradient-direction: horizontal; |
| 1989 |
border-radius: 15px 0px 0px 15px; |
| 1990 |
} |
| 1991 |
|
| 1992 |
&.previous:ltr, |
| 1993 |
&.next:rtl { |
| 1994 |
background-gradient-start: transparent; |
| 1995 |
background-gradient-end: rgba(255, 255, 255, 0.05); |
| 1996 |
background-gradient-direction: horizontal; |
| 1997 |
border-radius: 0px 15px 15px 0px; |
| 1998 |
} |
| 1999 |
} |
| 2000 |
|
| 2001 |
.page-navigation-arrow { |
| 2002 |
margin: 6px; |
| 2003 |
width: 24px; |
| 2004 |
height: 24px; |
| 2005 |
} |
| 2006 |
|
| 2007 |
// |
| 2008 |
// Icon Tile |
| 2009 |
// |
| 2010 |
.search-provider-icon, |
| 2011 |
.list-search-result { |
| 2012 |
@extend %icon_tile; |
| 2013 |
|
| 2014 |
&:active, &:checked { background-color: transparentize(darken($osd_bg_color,10%),.1); } |
| 2015 |
|
| 2016 |
&:focus, &:selected, &:hover { |
| 2017 |
background-color: transparentize($osd_fg_color,.6); |
| 2018 |
transition-duration: 200ms; |
| 2019 |
} |
| 2020 |
} |
| 2021 |
.app-well-app, |
| 2022 |
.app-well-app.app-folder, |
| 2023 |
.grid-search-result { |
| 2024 |
|
| 2025 |
.overview-icon { |
| 2026 |
@extend %icon_tile; |
| 2027 |
} |
| 2028 |
|
| 2029 |
&:active .overview-icon, |
| 2030 |
&:checked .overview-icon { |
| 2031 |
background-color: transparentize(darken($osd_bg_color,10%),.1); |
| 2032 |
box-shadow: inset 0 0 $selected_bg_color; |
| 2033 |
} |
| 2034 |
|
| 2035 |
&:hover .overview-icon, |
| 2036 |
&:focus .overview-icon, |
| 2037 |
&:selected .overview-icon { |
| 2038 |
background-color: transparentize($osd_fg_color,.6); |
| 2039 |
transition-duration: 0ms; |
| 2040 |
border-image: none; |
| 2041 |
background-image: none; |
| 2042 |
} |
| 2043 |
|
| 2044 |
&:drop .overview-icon { |
| 2045 |
background-color: $selected_bg_color; |
| 2046 |
} |
| 2047 |
} |
| 2048 |
|
| 2049 |
.app-well-app-running-dot { //running apps indicator |
| 2050 |
width: 20px; |
| 2051 |
height: 2px; |
| 2052 |
margin-bottom: 4px; |
| 2053 |
background-color: $selected_bg_color; |
| 2054 |
} |
| 2055 |
|
| 2056 |
%icon_tile { |
| 2057 |
color: $_shell_fg_color; |
| 2058 |
border-radius: 2px; |
| 2059 |
padding: 6px; |
| 2060 |
border: 1px solid transparent; |
| 2061 |
transition-duration: 0ms; |
| 2062 |
text-align: center; |
| 2063 |
} |
| 2064 |
|
| 2065 |
// |
| 2066 |
// App folders |
| 2067 |
// |
| 2068 |
.app-well-app.app-folder { |
| 2069 |
|
| 2070 |
> .overview-icon { |
| 2071 |
background-color: darken($dark_sidebar_bg, 8%); |
| 2072 |
border: 1px solid transparentize(darken($dark_sidebar_bg, 25%), 0.5); |
| 2073 |
} |
| 2074 |
|
| 2075 |
&:hover > .overview-icon, &:focus > .overview-icon { |
| 2076 |
background-color: lighten($dark_sidebar_bg, 3%); |
| 2077 |
} |
| 2078 |
|
| 2079 |
&:active > .overview-icon, &:checked > .overview-icon { |
| 2080 |
color: $selected_fg_color; |
| 2081 |
background-color: $selected_bg_color; |
| 2082 |
box-shadow: none; |
| 2083 |
} |
| 2084 |
} |
| 2085 |
|
| 2086 |
// expanded folder |
| 2087 |
.app-folder-dialog { |
| 2088 |
border-radius: 2px; |
| 2089 |
border: 1px solid transparentize(darken($dark_sidebar_bg, 25%), 0.5); |
| 2090 |
background-color: darken($dark_sidebar_bg, 8%); |
| 2091 |
padding: 12px 0; |
| 2092 |
|
| 2093 |
& .folder-name-container { |
| 2094 |
padding: 24px 36px 0; |
| 2095 |
spacing: 12px; |
| 2096 |
|
| 2097 |
& .folder-name-label, |
| 2098 |
& .folder-name-entry { |
| 2099 |
@include fontsize($font-size * 1.6); |
| 2100 |
font-weight: 800; |
| 2101 |
} |
| 2102 |
|
| 2103 |
& .folder-name-entry { width: 300px; } |
| 2104 |
|
| 2105 |
/* FIXME: this is to keep the label in sync with the entry */ |
| 2106 |
& .folder-name-label { padding: 5px 7px; color: $fg_color; } |
| 2107 |
|
| 2108 |
& .edit-folder-button { |
| 2109 |
@extend %button; |
| 2110 |
|
| 2111 |
padding: 0; |
| 2112 |
width: 36px; |
| 2113 |
height: 36px; |
| 2114 |
border-radius: 18px; |
| 2115 |
|
| 2116 |
& > StIcon { icon-size: 16px } |
| 2117 |
} |
| 2118 |
} |
| 2119 |
|
| 2120 |
& .icon-grid { |
| 2121 |
row-spacing: 10px; |
| 2122 |
column-spacing: 25px; |
| 2123 |
page-padding-top: 0; |
| 2124 |
page-padding-bottom: 0; |
| 2125 |
page-padding-left: 0; |
| 2126 |
page-padding-right: 0; |
| 2127 |
} |
| 2128 |
|
| 2129 |
& .page-indicators { |
| 2130 |
margin-bottom: 18px; |
| 2131 |
} |
| 2132 |
} |
| 2133 |
.app-folder-dialog-container { |
| 2134 |
padding: 12px; |
| 2135 |
width: 620px; |
| 2136 |
height: 620px; |
| 2137 |
} |
| 2138 |
|
| 2139 |
.page-indicator { |
| 2140 |
padding: 5px 20px 0; |
| 2141 |
|
| 2142 |
.page-indicator-icon { |
| 2143 |
width: 8px; |
| 2144 |
height: 8px; |
| 2145 |
background-color: $_shell_fg_color; |
| 2146 |
border-radius: 4px; |
| 2147 |
} |
| 2148 |
|
| 2149 |
&:active .page-indicator-icon { background-color: $selected_bg_color; } |
| 2150 |
} |
| 2151 |
|
| 2152 |
.app-well-app .overview-icon.overview-icon-with-label, |
| 2153 |
.grid-search-result .overview-icon.overview-icon-with-label { |
| 2154 |
padding: 10px 8px 5px 8px; |
| 2155 |
spacing: 4px; |
| 2156 |
} |
| 2157 |
|
| 2158 |
// |
| 2159 |
// Workspace pager |
| 2160 |
// |
| 2161 |
.workspace-thumbnails { |
| 2162 |
visible-width: 40px; //amount visible before hover |
| 2163 |
spacing: 5px; |
| 2164 |
padding: 5px; |
| 2165 |
|
| 2166 |
.workspace-thumbnail { |
| 2167 |
background-color: $dark_sidebar_bg; |
| 2168 |
background-clip: padding-box; |
| 2169 |
border: 1px solid $shell_bg_border_color; |
| 2170 |
border-radius: 0; |
| 2171 |
} |
| 2172 |
|
| 2173 |
.placeholder { |
| 2174 |
background-image: url("common-assets/dash/dash-placeholder-horizontal.svg"); |
| 2175 |
background-size: contain; |
| 2176 |
width: 18px; |
| 2177 |
} |
| 2178 |
} |
| 2179 |
|
| 2180 |
.workspace-thumbnail-indicator { |
| 2181 |
border: 3px solid transparentize($selected_bg_color, 0.2); |
| 2182 |
border-radius: 1px; |
| 2183 |
padding: 0; |
| 2184 |
} |
| 2185 |
|
| 2186 |
.apps-scroll-view { |
| 2187 |
padding: 0; |
| 2188 |
} |
| 2189 |
|
| 2190 |
%status_text { |
| 2191 |
@include fontsize($font-size * 2); |
| 2192 |
font-weight: bold; |
| 2193 |
color: $fg_color; |
| 2194 |
} |
| 2195 |
|
| 2196 |
// |
| 2197 |
// Notifications & Message Tray |
| 2198 |
// |
| 2199 |
|
| 2200 |
// Banners |
| 2201 |
.notification-banner, |
| 2202 |
.notification-banner:hover, |
| 2203 |
.notification-banner:focus { |
| 2204 |
@include fontsize($font-size); |
| 2205 |
width: 34em; |
| 2206 |
min-height: 0; |
| 2207 |
margin: 9px; |
| 2208 |
padding: 6px; |
| 2209 |
|
| 2210 |
@extend %popup_menu; |
| 2211 |
|
| 2212 |
.notification-actions { |
| 2213 |
background-color: transparent; |
| 2214 |
border: 0; |
| 2215 |
padding: 2px 2px 0 2px; |
| 2216 |
spacing: 3px; |
| 2217 |
} |
| 2218 |
.notification-button { |
| 2219 |
padding: 4px 4px 5px; |
| 2220 |
min-height: 0; |
| 2221 |
@extend %button; |
| 2222 |
|
| 2223 |
&:first-child, &:last-child { border-radius: 2px; } |
| 2224 |
} |
| 2225 |
} |
| 2226 |
|
| 2227 |
%popup_menu { |
| 2228 |
color: $fg_color; |
| 2229 |
background-color: $shell_popup_menu_background_color; |
| 2230 |
//background-clip: padding-box; |
| 2231 |
border: if($variant!='dark', 0, 1px) solid $shell_popup_menu_border_color; |
| 2232 |
border-radius: 2px; |
| 2233 |
box-shadow: $_popup_menu_shadow; |
| 2234 |
} |
| 2235 |
|
| 2236 |
// Chat Bubbles |
| 2237 |
.chat-body { spacing: 5px; } |
| 2238 |
.chat-response { margin: 5px; } |
| 2239 |
.chat-log-message { color: $fg_color; } |
| 2240 |
.chat-new-group { padding-top: 1em; } |
| 2241 |
.chat-received { |
| 2242 |
padding-left: 4px; |
| 2243 |
|
| 2244 |
&:rtl { padding-left: 0px; padding-right: 4px; } |
| 2245 |
} |
| 2246 |
|
| 2247 |
.chat-sent { |
| 2248 |
padding-left: 18pt; |
| 2249 |
color: $selected_bg_color; |
| 2250 |
|
| 2251 |
&:rtl { padding-left: 0; padding-right: 18pt; } |
| 2252 |
} |
| 2253 |
|
| 2254 |
.chat-meta-message { |
| 2255 |
padding-left: 4px; |
| 2256 |
@include fontsize($font-size * 0.8); |
| 2257 |
font-weight: bold; |
| 2258 |
color: transparentize($fg_color, 0.4); |
| 2259 |
|
| 2260 |
&:rtl { padding-left: 0; padding-right: 4px; } |
| 2261 |
} |
| 2262 |
|
| 2263 |
.subscription-message { font-style: italic; } |
| 2264 |
|
| 2265 |
// Hotplug |
| 2266 |
.hotplug-transient-box { |
| 2267 |
spacing: 6px; |
| 2268 |
padding: 2px 72px 2px 12px; |
| 2269 |
} |
| 2270 |
|
| 2271 |
.hotplug-notification-item { |
| 2272 |
padding: 2px 10px; |
| 2273 |
@extend %button; |
| 2274 |
|
| 2275 |
&:focus { padding: 2px 10px; } |
| 2276 |
} |
| 2277 |
|
| 2278 |
.hotplug-notification-item-icon { |
| 2279 |
icon-size: 24px; |
| 2280 |
padding: 2px 5px; |
| 2281 |
} |
| 2282 |
|
| 2283 |
.hotplug-resident-box { spacing: 8px; } |
| 2284 |
|
| 2285 |
.hotplug-resident-mount { |
| 2286 |
spacing: 8px; |
| 2287 |
border-radius: 4px; |
| 2288 |
&:hover { background-color: transparentize($bg_color,0.7); } |
| 2289 |
} |
| 2290 |
|
| 2291 |
.hotplug-resident-mount-label { |
| 2292 |
color: inherit; |
| 2293 |
padding-left: 6px; |
| 2294 |
} |
| 2295 |
|
| 2296 |
.hotplug-resident-mount-icon { |
| 2297 |
icon-size: 24px; |
| 2298 |
padding-left: 6px; |
| 2299 |
} |
| 2300 |
|
| 2301 |
.hotplug-resident-eject-icon { |
| 2302 |
icon-size: 16px; |
| 2303 |
} |
| 2304 |
|
| 2305 |
.hotplug-resident-eject-button { |
| 2306 |
padding: 7px; |
| 2307 |
border-radius: 5px; |
| 2308 |
color: pink; |
| 2309 |
} |
| 2310 |
|
| 2311 |
// Eeeky things |
| 2312 |
|
| 2313 |
// Magnifier |
| 2314 |
|
| 2315 |
.magnifier-zoom-region { |
| 2316 |
border: 2px solid $selected_bg_color; |
| 2317 |
&.full-screen { border-width: 0; } |
| 2318 |
} |
| 2319 |
|
| 2320 |
// |
| 2321 |
// On-Screen Keyboard |
| 2322 |
// |
| 2323 |
.word-suggestions { |
| 2324 |
@include fontsize($font-size * 1.25); |
| 2325 |
spacing: 12px; |
| 2326 |
min-height: 20pt; |
| 2327 |
|
| 2328 |
StButton { |
| 2329 |
padding: 0 0.5em; |
| 2330 |
border-radius: 2px; |
| 2331 |
color: $osd_fg_color; |
| 2332 |
|
| 2333 |
&:hover, &:focus, &:active { background-color: $selected_bg_color; color: $selected_fg_color; } |
| 2334 |
} |
| 2335 |
} |
| 2336 |
|
| 2337 |
#keyboard { |
| 2338 |
background-color: $osd_bg_color; |
| 2339 |
border-width: 0; |
| 2340 |
border-top-width: 1px; |
| 2341 |
border-color: transparentize(black, 0.8); |
| 2342 |
|
| 2343 |
.page-indicator { |
| 2344 |
padding: 4px 4px; |
| 2345 |
|
| 2346 |
.page-indicator-icon { |
| 2347 |
width: 8px; |
| 2348 |
height: 8px |
| 2349 |
} |
| 2350 |
} |
| 2351 |
} |
| 2352 |
|
| 2353 |
.key-container { |
| 2354 |
padding: 4px; |
| 2355 |
spacing: 4px; |
| 2356 |
} |
| 2357 |
|
| 2358 |
.keyboard-key { |
| 2359 |
min-height: 1.2em; |
| 2360 |
min-width: 1.2em; |
| 2361 |
@include fontsize($font-size * 1.44); |
| 2362 |
border-radius: 3px; |
| 2363 |
box-shadow: none; |
| 2364 |
|
| 2365 |
@include button(osd); |
| 2366 |
|
| 2367 |
&:hover { @include button(osd-hover); } |
| 2368 |
&:active, &:checked { @include button(osd-active); } |
| 2369 |
|
| 2370 |
&:grayed { @include button(osd-insensitive); } |
| 2371 |
|
| 2372 |
&.default-key { |
| 2373 |
background-color: darken($osd_button_bg, 13%); |
| 2374 |
|
| 2375 |
&:hover { background-color: darken($osd_button_bg, 5%); } |
| 2376 |
&:active, &:checked { @include button(osd-active); } |
| 2377 |
} |
| 2378 |
|
| 2379 |
&.enter-key { |
| 2380 |
@include button(osd-active); |
| 2381 |
|
| 2382 |
&:hover { background-color: darken($selected_bg_color, 5%); } |
| 2383 |
&:active, &:checked { @include button(osd-active); } |
| 2384 |
} |
| 2385 |
|
| 2386 |
&.shift-key-lowercase {} |
| 2387 |
&.shift-key-uppercase, |
| 2388 |
&.shift-key-uppercase:latched { |
| 2389 |
color: $selected_bg_color; |
| 2390 |
} |
| 2391 |
&.hide-key, |
| 2392 |
&.layout-key { |
| 2393 |
&:active, &:checked { color: $selected_fg_color; } |
| 2394 |
} |
| 2395 |
|
| 2396 |
StIcon { icon-size: 1.125em; } |
| 2397 |
} |
| 2398 |
|
| 2399 |
.keyboard-subkeys { //long press on a key popup |
| 2400 |
color: $osd_fg_color; |
| 2401 |
-arrow-border-radius: 2px; |
| 2402 |
-arrow-background-color: $osd_bg_color; |
| 2403 |
-arrow-border-width: 1px; |
| 2404 |
-arrow-border-color: transparentize(black, 0.6);; |
| 2405 |
-arrow-base: 20px; |
| 2406 |
-arrow-rise: 10px; |
| 2407 |
-boxpointer-gap: 5px; |
| 2408 |
} |
| 2409 |
|
| 2410 |
.emoji-page { |
| 2411 |
.keyboard-key { |
| 2412 |
background-color: transparent; |
| 2413 |
border: none; |
| 2414 |
} |
| 2415 |
} |
| 2416 |
|
| 2417 |
.emoji-panel { |
| 2418 |
.keyboard-key:latched { |
| 2419 |
@include button(osd-active); |
| 2420 |
|
| 2421 |
&:hover { background-color: darken($selected_bg_color, 5%); } |
| 2422 |
&:active, &:checked { @include button(osd-active); } |
| 2423 |
} |
| 2424 |
} |
| 2425 |
|
| 2426 |
// |
| 2427 |
// IBus Candidate Popup |
| 2428 |
// |
| 2429 |
.candidate-popup-content { |
| 2430 |
padding: 0.5em; |
| 2431 |
spacing: 0.3em; |
| 2432 |
color: $osd_fg_color; |
| 2433 |
@include fontsize($font-size * 1.15); |
| 2434 |
} |
| 2435 |
|
| 2436 |
.candidate-index { |
| 2437 |
padding: 0 0.5em 0 0; |
| 2438 |
color: lighten($osd_fg_color, 10%); |
| 2439 |
} |
| 2440 |
|
| 2441 |
.candidate-box { |
| 2442 |
padding: 0.3em 0.5em 0.3em 0.5em; |
| 2443 |
border-radius: 2px; |
| 2444 |
color: $osd_fg_color; |
| 2445 |
&:selected,&:hover { background-color: $selected_bg_color; color: $selected_fg_color; } |
| 2446 |
} |
| 2447 |
|
| 2448 |
.candidate-page-button-box { |
| 2449 |
height: 2em; |
| 2450 |
.vertical & { padding-top: 0.5em; } |
| 2451 |
.horizontal & { padding-left: 0.5em; } |
| 2452 |
} |
| 2453 |
|
| 2454 |
.candidate-page-button { |
| 2455 |
padding: 4px; |
| 2456 |
} |
| 2457 |
|
| 2458 |
.candidate-page-button-previous { border-radius: 2px 0px 0px 2px; border-right-width: 0; } |
| 2459 |
.candidate-page-button-next { border-radius: 0px 2px 2px 0px; } |
| 2460 |
.candidate-page-button-icon { icon-size: 1em; } |
| 2461 |
|
| 2462 |
// |
| 2463 |
// Auth Dialogs & Screen Shield |
| 2464 |
// |
| 2465 |
.user-icon { |
| 2466 |
background-size: contain; |
| 2467 |
color: $osd_fg_color; |
| 2468 |
border-radius: 99px; |
| 2469 |
border: 0; |
| 2470 |
icon-size: 64px; |
| 2471 |
|
| 2472 |
.login-dialog-user-list-item:selected & { color: $selected_fg_color; } |
| 2473 |
|
| 2474 |
.unlock-dialog & { color: $_shell_fg_color; } |
| 2475 |
|
| 2476 |
&:hover { |
| 2477 |
color: $osd_fg_color; |
| 2478 |
} |
| 2479 |
|
| 2480 |
& StIcon { |
| 2481 |
background-color: transparentize($osd_fg_color, 0.75); |
| 2482 |
border-radius: 99px; |
| 2483 |
padding: 12px; |
| 2484 |
width: 40px; height: 40px; |
| 2485 |
|
| 2486 |
.login-dialog-user-list-item:selected & { background-color: transparentize($selected_fg_color, 0.75); } |
| 2487 |
|
| 2488 |
.unlock-dialog & { background-color: transparentize($_shell_fg_color, 0.75); } |
| 2489 |
} |
| 2490 |
|
| 2491 |
&.user-avatar { |
| 2492 |
border: none; |
| 2493 |
} |
| 2494 |
} |
| 2495 |
|
| 2496 |
.user-widget.vertical .user-icon { |
| 2497 |
icon-size: 128px; |
| 2498 |
|
| 2499 |
& StIcon { |
| 2500 |
padding: 20px; |
| 2501 |
padding-top: 18px; |
| 2502 |
padding-bottom: 22px; |
| 2503 |
width: 88px; height: 88px; |
| 2504 |
} |
| 2505 |
} |
| 2506 |
|
| 2507 |
// |
| 2508 |
// Login Dialog |
| 2509 |
// |
| 2510 |
.login-dialog-banner-view { |
| 2511 |
padding-top: 24px; |
| 2512 |
max-width: 23em; |
| 2513 |
} |
| 2514 |
|
| 2515 |
.login-dialog, |
| 2516 |
.unlock-dialog { |
| 2517 |
//reset |
| 2518 |
border: none; |
| 2519 |
background-color: transparent; |
| 2520 |
|
| 2521 |
StEntry { |
| 2522 |
caret-color: $selected_fg_color; |
| 2523 |
selection-background-color: $selected_bg_color; |
| 2524 |
selected-color: $selected_fg_color; |
| 2525 |
|
| 2526 |
@include entry(osd); |
| 2527 |
|
| 2528 |
StLabel.hint-text { color: transparentize($osd_fg_color, 0.3); } |
| 2529 |
|
| 2530 |
&:focus { |
| 2531 |
selection-background-color: $selected_fg_color; |
| 2532 |
selected-color: $selected_bg_color; |
| 2533 |
|
| 2534 |
@include entry(osd-focus); |
| 2535 |
|
| 2536 |
StLabel.hint-text { color: transparentize($selected_fg_color, 0.3); } |
| 2537 |
} |
| 2538 |
} |
| 2539 |
|
| 2540 |
.modal-dialog-button-box { spacing: 3px; } |
| 2541 |
.modal-dialog-button { |
| 2542 |
padding: 3px 18px; |
| 2543 |
&, &:default { |
| 2544 |
@extend %osd_button; |
| 2545 |
} |
| 2546 |
} |
| 2547 |
|
| 2548 |
.cancel-button, |
| 2549 |
.switch-user-button, |
| 2550 |
.login-dialog-session-list-button { |
| 2551 |
padding: 0; |
| 2552 |
border-radius: 99px; |
| 2553 |
width: 32px; |
| 2554 |
height: 32px; |
| 2555 |
|
| 2556 |
StIcon { icon-size: 16px; } |
| 2557 |
} |
| 2558 |
|
| 2559 |
.caps-lock-warning-label, |
| 2560 |
.login-dialog-message-warning { |
| 2561 |
color: $osd_fg_color; |
| 2562 |
} |
| 2563 |
} |
| 2564 |
|
| 2565 |
.login-dialog-logo-bin { padding: 24px 0px; } |
| 2566 |
.login-dialog-banner { color: $osd_fg_color; @include fontsize($font-size * 1.1); } |
| 2567 |
.login-dialog-button-box { width: 23em; spacing: 5px; } |
| 2568 |
.login-dialog-message { text-align: center; } |
| 2569 |
.login-dialog-user-selection-box { padding: 100px 0px; } |
| 2570 |
.login-dialog-not-listed-label { |
| 2571 |
padding-left: 2px; |
| 2572 |
.login-dialog-not-listed-button:focus &, |
| 2573 |
.login-dialog-not-listed-button:hover & { |
| 2574 |
color: lighten($osd_fg_color, 25%); |
| 2575 |
} |
| 2576 |
} |
| 2577 |
.login-dialog-not-listed-label { |
| 2578 |
@include fontsize($font-size * 0.9); |
| 2579 |
font-weight: bold; |
| 2580 |
color: $osd_fg_color; |
| 2581 |
padding-top: 1em; |
| 2582 |
} |
| 2583 |
|
| 2584 |
.login-dialog-user-list-view { -st-vfade-offset: 1em; } |
| 2585 |
.login-dialog-user-list { |
| 2586 |
spacing: 12px; |
| 2587 |
width: 23em; |
| 2588 |
&:expanded .login-dialog-user-list-item:selected { background-color: $selected_bg_color; color: $selected_fg_color; } |
| 2589 |
&:expanded .login-dialog-user-list-item:logged-in { border-right: 2px solid $selected_bg_color; } |
| 2590 |
} |
| 2591 |
.login-dialog-user-list-item { |
| 2592 |
border-radius: 5px; |
| 2593 |
padding: 6px; |
| 2594 |
color: $osd_fg_color; |
| 2595 |
&:ltr .user-widget { padding-right: 1em; } |
| 2596 |
&:rtl .user-widget { padding-left: 1em; } |
| 2597 |
.login-dialog-timed-login-indicator { |
| 2598 |
margin-top: 6px; |
| 2599 |
} |
| 2600 |
&:selected .login-dialog-timed-login-indicator { background-color: $selected_fg_color; } |
| 2601 |
} |
| 2602 |
|
| 2603 |
.user-widget-label { |
| 2604 |
color: $osd_fg_color; |
| 2605 |
|
| 2606 |
.login-dialog-user-list-item:selected & { color: $selected_fg_color; } |
| 2607 |
|
| 2608 |
.unlock-dialog & { color: $_shell_fg_color; } |
| 2609 |
} |
| 2610 |
|
| 2611 |
.user-widget.horizontal .user-widget-label { |
| 2612 |
@include fontsize($font-size * 1.2); |
| 2613 |
font-weight: bold; |
| 2614 |
padding-left: 15px; |
| 2615 |
|
| 2616 |
&:ltr { padding-left: 14px; text-align: left; } |
| 2617 |
&:rtl { padding-right: 14px; text-align: right; } |
| 2618 |
} |
| 2619 |
|
| 2620 |
.user-widget.vertical .user-widget-label { |
| 2621 |
@include fontsize($font-size * 1.5); |
| 2622 |
text-align: center; |
| 2623 |
font-weight: normal; |
| 2624 |
padding-top: 16px; |
| 2625 |
} |
| 2626 |
|
| 2627 |
.login-dialog-timed-login-indicator { |
| 2628 |
height: 2px; |
| 2629 |
background-color: $osd_fg_color; |
| 2630 |
} |
| 2631 |
|
| 2632 |
.login-dialog-prompt-layout { |
| 2633 |
padding-top: 24px; |
| 2634 |
padding-bottom: 12px; |
| 2635 |
spacing: 8px; |
| 2636 |
width: 23em; |
| 2637 |
} |
| 2638 |
|
| 2639 |
.login-dialog-prompt-entry { |
| 2640 |
height: 1.5em; |
| 2641 |
} |
| 2642 |
|
| 2643 |
.login-dialog-prompt-label { |
| 2644 |
color: $osd_fg_color; |
| 2645 |
@include fontsize($font-size * 1.1); |
| 2646 |
padding-top: 1em; |
| 2647 |
} |
| 2648 |
|
| 2649 |
// |
| 2650 |
// Screen Shield |
| 2651 |
// |
| 2652 |
.unlock-dialog-clock { |
| 2653 |
color: $_shell_fg_color; |
| 2654 |
font-weight: 300; |
| 2655 |
text-align: center; |
| 2656 |
spacing: 24px; |
| 2657 |
padding-bottom: 2.5em; |
| 2658 |
} |
| 2659 |
|
| 2660 |
.unlock-dialog-clock-time { |
| 2661 |
font-size: 64pt; |
| 2662 |
padding-top: 42px; |
| 2663 |
font-feature-settings: "tnum"; |
| 2664 |
} |
| 2665 |
|
| 2666 |
.unlock-dialog-clock-date { |
| 2667 |
font-size: 16pt; |
| 2668 |
font-weight: normal; |
| 2669 |
} |
| 2670 |
|
| 2671 |
.unlock-dialog-clock-hint { |
| 2672 |
font-weight: normal; |
| 2673 |
padding-top: 48px; |
| 2674 |
} |
| 2675 |
|
| 2676 |
.unlock-dialog-notifications-container { |
| 2677 |
margin: 12px 0; |
| 2678 |
spacing: 6px; |
| 2679 |
width: 23em; |
| 2680 |
background-color: transparent; |
| 2681 |
.summary-notification-stack-scrollview { |
| 2682 |
padding-top: 0; |
| 2683 |
padding-bottom: 0; |
| 2684 |
} |
| 2685 |
|
| 2686 |
.notification, |
| 2687 |
.unlock-dialog-notification-source { |
| 2688 |
padding: 12px 6px; |
| 2689 |
@extend %popup_menu; |
| 2690 |
|
| 2691 |
StIcon { -st-icon-style: symbolic; } |
| 2692 |
|
| 2693 |
// &.critical { background-color: transparentize($osd_bg_color,0.1) } // FIXME |
| 2694 |
} |
| 2695 |
} |
| 2696 |
|
| 2697 |
.unlock-dialog-notification-label { |
| 2698 |
padding: 0px 0px 0px 12px; |
| 2699 |
} |
| 2700 |
|
| 2701 |
.unlock-dialog-notification-count-text { |
| 2702 |
font-weight: bold; |
| 2703 |
padding: 0 6px; |
| 2704 |
color: $fg_color; |
| 2705 |
border: 1px solid transparentize(white, 0.9); |
| 2706 |
background-color: transparentize(white, 0.8); |
| 2707 |
border-radius: 99px; |
| 2708 |
margin-right: 12px; |
| 2709 |
} |
| 2710 |
|
| 2711 |
.screen-shield-background { //just the shadow, really |
| 2712 |
background: black; |
| 2713 |
box-shadow: 0px 2px 4px transparentize(black,0.6); |
| 2714 |
} |
| 2715 |
|
| 2716 |
#lockDialogGroup { |
| 2717 |
background-color: $_system_bg_color; |
| 2718 |
} |
| 2719 |
|
| 2720 |
#unlockDialogNotifications { |
| 2721 |
StButton#vhandle, StButton#hhandle { |
| 2722 |
background-color: transparentize($bg_color,0.7); |
| 2723 |
&:hover, &:focus { background-color: transparentize($bg_color,0.5); } |
| 2724 |
&:active { background-color: transparentize($selected_bg_color,0.5); } |
| 2725 |
} |
| 2726 |
} |
| 2727 |
|
| 2728 |
// |
| 2729 |
// Looking Glass |
| 2730 |
// |
| 2731 |
#LookingGlassDialog { |
| 2732 |
margin: 4px; |
| 2733 |
spacing: 4px; |
| 2734 |
padding: 4px 4px 6px 4px; |
| 2735 |
color: $osd_fg_color; |
| 2736 |
@extend %shell_bg; |
| 2737 |
|
| 2738 |
& > #Toolbar { |
| 2739 |
padding: 3px; |
| 2740 |
border: none; |
| 2741 |
background-color: transparent; |
| 2742 |
border-radius: 0px; |
| 2743 |
} |
| 2744 |
.labels { spacing: 4px; } |
| 2745 |
|
| 2746 |
.notebook-tab { |
| 2747 |
-natural-hpadding: 12px; |
| 2748 |
-minimum-hpadding: 6px; |
| 2749 |
font-weight: bold; |
| 2750 |
color: $osd_fg_color; |
| 2751 |
transition-duration: 100ms; |
| 2752 |
padding-left: .3em; |
| 2753 |
padding-right: .3em; |
| 2754 |
|
| 2755 |
&:hover { |
| 2756 |
color: $_panel_fg_color; |
| 2757 |
text-shadow: black 0px 2px 2px; |
| 2758 |
} |
| 2759 |
&:selected { |
| 2760 |
border-bottom-width: 0px; |
| 2761 |
color: $selected_bg_color; |
| 2762 |
text-shadow: black 0px 2px 2px; |
| 2763 |
} |
| 2764 |
} |
| 2765 |
StBoxLayout#EvalBox { padding: 4px; spacing: 4px; } |
| 2766 |
StBoxLayout#ResultsArea { spacing: 4px; } |
| 2767 |
} |
| 2768 |
|
| 2769 |
.lg-dialog { |
| 2770 |
|
| 2771 |
StEntry { |
| 2772 |
caret-color: $selected_fg_color; |
| 2773 |
selection-background-color: $selected_bg_color; |
| 2774 |
selected-color: $selected_fg_color; |
| 2775 |
|
| 2776 |
@include entry(osd); |
| 2777 |
&:focus { |
| 2778 |
@include entry(osd-focus); |
| 2779 |
|
| 2780 |
selection-background-color: $selected_fg_color; |
| 2781 |
selected-color: $selected_bg_color; |
| 2782 |
} |
| 2783 |
} |
| 2784 |
.shell-link { |
| 2785 |
color: $link_color; |
| 2786 |
&:hover { color: lighten($link_color,10%); } |
| 2787 |
} |
| 2788 |
.actor-link { |
| 2789 |
color: $osd_fg_color; |
| 2790 |
&:hover { color: lighten($osd_fg_color, 10%); } |
| 2791 |
&:active { color: darken($osd_fg_color, 10%); } |
| 2792 |
} |
| 2793 |
} |
| 2794 |
|
| 2795 |
.lg-completions-text { |
| 2796 |
@include fontsize($font-size * 0.9); |
| 2797 |
font-style: italic; |
| 2798 |
} |
| 2799 |
|
| 2800 |
.lg-obj-inspector-title { |
| 2801 |
spacing: 4px; |
| 2802 |
} |
| 2803 |
|
| 2804 |
.lg-obj-inspector-button { |
| 2805 |
border: 1px solid gray; |
| 2806 |
padding: 4px; |
| 2807 |
border-radius: 4px; |
| 2808 |
&:hover { border: 1px solid #ffffff; } |
| 2809 |
} |
| 2810 |
|
| 2811 |
#lookingGlassExtensions { padding: 4px; } |
| 2812 |
|
| 2813 |
.lg-extensions-list { |
| 2814 |
padding: 4px; |
| 2815 |
spacing: 6px; |
| 2816 |
} |
| 2817 |
|
| 2818 |
.lg-extension { |
| 2819 |
border: 1px solid $osd_borders_color; |
| 2820 |
border-radius: 2px; |
| 2821 |
background-color: $osd_bg_color; |
| 2822 |
padding: 4px; |
| 2823 |
} |
| 2824 |
|
| 2825 |
.lg-extension-name { |
| 2826 |
font-weight: bold; |
| 2827 |
} |
| 2828 |
|
| 2829 |
.lg-extension-meta { |
| 2830 |
spacing: 6px; |
| 2831 |
} |
| 2832 |
|
| 2833 |
#LookingGlassPropertyInspector { |
| 2834 |
background: transparentize(black, 0.3); |
| 2835 |
border: 1px solid grey; |
| 2836 |
border-radius: 2px; |
| 2837 |
color: $_shell_fg_color; |
| 2838 |
padding: 6px; |
| 2839 |
} |
| 2840 |
|
| 2841 |
// |
| 2842 |
// OpenWeather extension |
| 2843 |
// |
| 2844 |
.openweather-current-summarybox, |
| 2845 |
.openweather-forecast-icon, |
| 2846 |
.openweather-current-databox-captions, |
| 2847 |
.openweather-current-databox-values, |
| 2848 |
.openweather-current-icon, |
| 2849 |
.openweather-forecast-summary, |
| 2850 |
.openweather-forecast-temperature { |
| 2851 |
color: $fg_color; |
| 2852 |
} |