Changeset View
Changeset View
Standalone View
Standalone View
src/gtk3/widgets/_dialogs.scss
1 | @charset "UTF-8"; | 1 | @charset "UTF-8"; | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | /*********** | 3 | /*********** | ||
4 | * Dialogs * | 4 | * Dialogs * | ||
5 | ***********/ | 5 | ***********/ | ||
6 | 6 | | |||
7 | // .message-dialog .dialog-action-area .button { | 7 | // .message-dialog .dialog-action-area .button { | ||
8 | // //padding: 8px; | 8 | // //padding: 8px; | ||
9 | // } | 9 | // } | ||
10 | 10 | | |||
11 | messagedialog { // Message Dialog styling | 11 | messagedialog { // Message Dialog styling | ||
12 | 12 | | |||
13 | &.background { background-color: w_color(normal); } | 13 | &.background { | ||
14 | &:backdrop { background-color: backdrop(w_color(normal))} | 14 | background-color: gtk("@theme_bg_color"); | ||
15 | } | ||||
16 | &:backdrop { | ||||
17 | background-color: gtk("@theme_unfocused_bg_color"); | ||||
18 | } | ||||
15 | .titlebar { | 19 | .titlebar { | ||
16 | min-height: 32px; | 20 | min-height: 32px; | ||
17 | background-color: transparent; | 21 | background-color: transparent; | ||
18 | background-image: linear-gradient(to bottom,change-color(t_color(background),$lightness: min(lightness(t_color(background))*1.2,100%)),t_color(background)); | 22 | background-image: linear-gradient(to bottom, gtkshade("@theme_titlebar_background", 1.2117647),gtk("@theme_titlebar_background")); | ||
19 | box-shadow: none; | 23 | box-shadow: none; | ||
20 | } | 24 | } | ||
21 | .dialog-action-area { | 25 | .dialog-action-area { | ||
22 | padding: 8px; | 26 | padding: 8px; | ||
23 | } | 27 | } | ||
24 | button { margin: 2px; } | 28 | button { margin: 2px; } | ||
25 | } | 29 | } | ||
26 | 30 | | |||
27 | filechooser { | 31 | filechooser { | ||
28 | .search-bar { | 32 | .search-bar { | ||
29 | background-color: w_color(normal); | 33 | background-color: gtk("@theme_bg_color"); | ||
30 | border-color: w_color(normal); | 34 | border-color: gtk("@theme_bg_color"); | ||
31 | box-shadow: none; | 35 | box-shadow: none; | ||
32 | &:backdrop { | 36 | &:backdrop { | ||
33 | background-color: backdrop(w_color(normal)); | 37 | background-color: gtk("@theme_unfocused_bg_color"); | ||
34 | border-color: backdrop(w_color(normal)); | 38 | border-color: gtk("@theme_unfocused_bg_color"); | ||
35 | color: backdrop(w_color(text)); | 39 | color: gtk("@theme_unfocused_text_color"); | ||
36 | } | 40 | } | ||
37 | } | 41 | } | ||
38 | .dialog-action-box { | 42 | .dialog-action-box { | ||
39 | border-top: 1px solid $border_color; | 43 | border-top: 1px solid gtk("@borders"); | ||
40 | &:backdrop { border-top-color: backdrop($border_color); } | 44 | &:backdrop { border-top-color: gtk("@unfocused_borders"); } | ||
41 | } | 45 | } | ||
42 | #pathbarbox { | 46 | #pathbarbox { | ||
43 | background-color: w_color(normal); | 47 | background-color: gtk("@theme_bg_color"); | ||
44 | border-bottom: 1px solid $border_color; | 48 | border-bottom: 1px solid gtk("@borders"); | ||
45 | } | 49 | } | ||
46 | } | 50 | } |