source: arc-theme/trunk/fuentes/arc-theme/common/gtk-3.0/3.16/sass/_unity.scss @ 2104

Last change on this file since 2104 was 2104, checked in by hectorgh, 3 years ago

updating theme

File size: 3.8 KB
Line 
1// Decorations
2UnityDecoration {
3  -UnityDecoration-extents: 28px 1 1 1;
4  -UnityDecoration-input-extents: 10px;
5
6  -UnityDecoration-shadow-offset-x: 0px;
7  -UnityDecoration-shadow-offset-y: 3px;
8  -UnityDecoration-active-shadow-color: rgba(0, 0, 0, 0.2);
9  -UnityDecoration-active-shadow-radius: 12px;
10  -UnityDecoration-inactive-shadow-color: rgba(0, 0, 0, 0.07);
11  -UnityDecoration-inactive-shadow-radius: 7px;
12
13  -UnityDecoration-glow-size: 10px;
14  -UnityDecoration-glow-color: $selected_bg_color;
15
16  -UnityDecoration-title-indent: 10px;
17  -UnityDecoration-title-fade: 35px;
18  -UnityDecoration-title-alignment: 0.0;
19
20  &.top {
21    border: 1px solid if($darker=='true' or $variant == 'dark', darken($header_bg, 7%), transparentize(black, 0.9));
22    border-bottom-width: 0;
23    border-radius: 4px 4px 0 0;
24    padding: 1px 6px 0 6px;
25
26    background-image: linear-gradient(to bottom, opacify($header_bg, 1));
27    color: $header_fg;                         // The foreground color will be used to paint the text
28
29    box-shadow: inset 0  1px lighten($header_bg, 3%);
30
31    &:backdrop {
32      border-bottom-width: 0;
33      //background-image: linear-gradient(to bottom, opacify($header_bg_backdrop, 1));
34      color: transparentize($header_fg, 0.3);
35    }
36  }
37  &.left, &.right, &.bottom,
38  &.left:backdrop, &.right:backdrop, &.bottom:backdrop {
39    background-color: transparent;
40    background-image: linear-gradient(to bottom, if($darker=='true' or $variant == 'dark', darken($header_bg, 7%), transparentize(black, 0.9)));
41  }
42}
43
44// Panel Style
45UnityPanelWidget,
46.unity-panel {
47  background-image: linear-gradient(to bottom, #2f343f);
48  color: lighten($panel_fg, 20%);
49  box-shadow: none;
50
51  &:backdrop { color: lighten($panel_fg, 1%); }
52}
53
54.unity-panel.menubar.menuitem:hover,
55.unity-panel.menubar .menuitem *:hover {
56  border-radius: 0;
57  color: $selected_fg_color;
58  background-image: linear-gradient(to bottom, $selected_bg_color);
59  border-bottom: none;
60}
61
62// Unity Greeter
63.lightdm.menu {
64  background-image: none;
65  background-color: transparentize(black, 0.6);
66  border-color: transparentize(white, 0.2);
67  border-radius: 4px;
68  padding: 1px;
69  color: white;
70}
71
72.lightdm-combo .menu {
73  background-color: lighten($header_bg, 8);
74  border-radius: 0px;
75  padding: 0px;
76  color: white;
77}
78
79.lightdm.menu .menuitem *,
80.lightdm.menu .menuitem.check:active,
81.lightdm.menu .menuitem.radio:active {
82  color: white;
83}
84
85.lightdm.menubar {
86  color: transparentize(white, 0.2);
87  background-image: none;
88  background-color: transparentize(black, 0.5);
89
90  & > .menuitem {
91    padding: 2px 6px;
92  }
93}
94
95.lightdm-combo.combobox-entry .button,
96.lightdm-combo .cell,
97.lightdm-combo .button,
98.lightdm-combo .entry,
99.lightdm.button,
100.lightdm.entry {
101  background-image: none;
102  background-color: transparentize(black, 0.7);
103  border-color: transparentize(white, 0.6);
104  border-radius: 10px;
105  padding: 7px;
106  color: white;
107  text-shadow: none;
108}
109
110.lightdm.button,
111.lightdm.button:hover,
112.lightdm.button:active,
113.lightdm.button:active:focused,
114.lightdm.entry,
115.lightdm.entry:hover,
116.lightdm.entry:active,
117.lightdm.entry:active:focused {
118  background-image: none;
119  border-image: none;
120}
121
122.lightdm.button:focused,
123.lightdm.entry:focused {
124  border-color: transparentize(white, 0.9);
125  border-width: 1px;
126  border-style: solid;
127  color: white;
128}
129
130.lightdm.entry:selected {
131  background-color: transparentize(white, 0.2);
132}
133
134.lightdm.entry:active {
135  -gtk-icon-source: -gtk-icontheme("process-working-symbolic");
136  animation: dashentry_spinner 1s infinite linear;
137}
138
139.lightdm.option-button {
140  padding: 2px;
141  background: none;
142  border: 0;
143}
144
145.lightdm.toggle-button {
146  background: none;
147  border-width: 0;
148
149  &.selected {
150    background-color: transparentize(black, 0.3);
151    border-width: 1px;
152  }
153}
154
155@keyframes dashentry_spinner {
156  to {
157    -gtk-icon-transform: rotate(1turn);
158  }
159}
Note: See TracBrowser for help on using the repository browser.