Changeset View
Changeset View
Standalone View
Standalone View
src/gtk3/applications/_chromium.scss
Show All 14 Lines | 1 | window.background.chromium { | |||
---|---|---|---|---|---|
15 | &.csd { | 15 | &.csd { | ||
16 | menubar, .menubar { | 16 | menubar, .menubar { | ||
17 | background-color: gtk("@theme_titlebar_background"); | 17 | background-color: gtk("@theme_titlebar_background"); | ||
18 | &:backdrop { | 18 | &:backdrop { | ||
19 | background-color: gtk("@theme_titlebar_background_backdrop"); | 19 | background-color: gtk("@theme_titlebar_background_backdrop"); | ||
20 | } | 20 | } | ||
21 | } | 21 | } | ||
22 | } | 22 | } | ||
23 | | ||||
24 | headerbar, | ||||
25 | .titlebar { | ||||
26 | button.titlebutton { | ||||
27 | &.close { | ||||
28 | color: transparent; | ||||
29 | background-image: -gtk-scaled(url('../assets/titlebutton-close.png'),url('../assets/titlebutton-close@2.png')); | ||||
30 | &:hover { | ||||
31 | background-image: -gtk-scaled(url('../assets/titlebutton-close-hover.png'),url('../assets/titlebutton-close-hover@2.png')); | ||||
32 | } | ||||
33 | &:active { | ||||
34 | background-image: -gtk-scaled(url('../assets/titlebutton-close-active.png'),url('../assets/titlebutton-close-active@2.png')); | ||||
35 | } | ||||
36 | &:backdrop { | ||||
37 | background-image: -gtk-scaled(url('../assets/titlebutton-close-backdrop.png'),url('../assets/titlebutton-close-backdrop@2.png')); | ||||
38 | } | ||||
39 | } | ||||
40 | | ||||
41 | &.maximize { | ||||
42 | color: transparent; | ||||
43 | background-image: -gtk-scaled(url('../assets/titlebutton-maximize.png'),url('../assets/titlebutton-maximize@2.png')); | ||||
44 | &:hover { | ||||
45 | background-image: -gtk-scaled(url('../assets/titlebutton-maximize-hover.png'),url('../assets/titlebutton-maximize-hover@2.png')); | ||||
46 | } | ||||
47 | &:active { | ||||
48 | background-image: -gtk-scaled(url('../assets/titlebutton-maximize-active.png'),url('../assets/titlebutton-maximize-active@2.png')); | ||||
49 | } | ||||
50 | &:backdrop { | ||||
51 | background-image: -gtk-scaled(url('../assets/titlebutton-maximize-backdrop.png'),url('../assets/titlebutton-maximize-backdrop@2.png')); | ||||
52 | } | ||||
53 | } | ||||
54 | &.minimize { | ||||
55 | color: transparent; | ||||
56 | background-image: -gtk-scaled(url('../assets/titlebutton-minimize.png'),url('../assets/titlebutton-minimize@2.png')); | ||||
57 | &:hover { | ||||
58 | background-image: -gtk-scaled(url('../assets/titlebutton-minimize-hover.png'),url('../assets/titlebutton-minimize-hover@2.png')); | ||||
59 | } | ||||
60 | &:active { | ||||
61 | background-image: -gtk-scaled(url('../assets/titlebutton-minimize-active.png'),url('../assets/titlebutton-minimize-active@2.png')); | ||||
62 | } | ||||
63 | &:backdrop { | ||||
64 | background-image: -gtk-scaled(url('../assets/titlebutton-minimize-backdrop.png'),url('../assets/titlebutton-minimize-backdrop@2.png')); | ||||
65 | } | ||||
66 | } | ||||
67 | } | ||||
68 | | ||||
69 | .maximized & { | ||||
70 | button.titlebutton { | ||||
71 | &.maximize { | ||||
72 | color: transparent; | ||||
73 | background-image: -gtk-scaled(url('../assets/titlebutton-maximize-maximized.png'),url('../assets/titlebutton-maximize-maximized@2.png')); | ||||
74 | &:hover { | ||||
75 | background-image: -gtk-scaled(url('../assets/titlebutton-maximize-maximized-hover.png'),url('../assets/titlebutton-maximize-maximized-hover@2.png')); | ||||
76 | } | ||||
77 | &:active { | ||||
78 | background-image: -gtk-scaled(url('../assets/titlebutton-maximize-maximized-active.png'),url('../assets/titlebutton-maximize-maximized-active@2.png')); | ||||
79 | } | ||||
80 | &:backdrop { | ||||
81 | background-image: -gtk-scaled(url('../assets/titlebutton-maximize-maximized-backdrop.png'),url('../assets/titlebutton-maximize-maximized-backdrop@2.png')); | ||||
82 | } | ||||
83 | } | ||||
84 | } | ||||
85 | } | ||||
86 | } | ||||
23 | } | 87 | } | ||
24 | No newline at end of file | 88 | No newline at end of file |