A fork of the Materia GTK theme.

Important information: Google announced that, from September 2026, Android devices will require ALL apps to be signed by Google, effectively leading to an iOS situation. Value your right to a computer that does what you want; do not tolerate this monopolistic practice! Contact me if you don't understand why it is bad. Click to learn more.

 _unity.scss

View raw Download
text/plain • 2.15 kiB
ASCII text
        
            
1
// based css:
2
// https://bazaar.launchpad.net/~ubuntu-art-pkg/ubuntu-themes/trunk/view/head:/Ambiance/gtk-3.20/apps/unity.css
3
4
/*********
5
* Unity *
6
*********/
7
// Decorations
8
UnityDecoration {
9
-UnityDecoration-extents: 28px 0 0 0;
10
-UnityDecoration-input-extents: 8px;
11
12
-UnityDecoration-shadow-offset-x: 0;
13
-UnityDecoration-shadow-offset-y: 3px;
14
-UnityDecoration-active-shadow-color: rgba(0, 0, 0, 0.48);
15
-UnityDecoration-active-shadow-radius: 18px;
16
-UnityDecoration-inactive-shadow-color: rgba(0, 0, 0, 0.32);
17
-UnityDecoration-inactive-shadow-radius: 6px;
18
19
-UnityDecoration-glow-size: 8px;
20
-UnityDecoration-glow-color: $primary;
21
22
-UnityDecoration-title-indent: 4px;
23
-UnityDecoration-title-fade: 32px;
24
-UnityDecoration-title-alignment: 0.0;
25
26
.top {
27
padding: 0 2px;
28
border-style: none;
29
border-radius: $corner-radius $corner-radius 0 0;
30
box-shadow: inset 0 1px highlight($titlebar);
31
background-color: $titlebar;
32
color: $titlebar-text;
33
34
&:backdrop {
35
background-color: $titlebar-backdrop;
36
color: $titlebar-text-secondary;
37
}
38
}
39
40
.left,
41
.right {}
42
43
.bottom {}
44
45
.menuitem {
46
color: $titlebar-text-secondary;
47
48
&:hover {
49
box-shadow: inset 0 -2px $titlebar-indicator;
50
background-color: transparent;
51
color: $titlebar-text;
52
}
53
}
54
}
55
56
.background:not(.csd) headerbar:not(.titlebar) {
57
border-radius: 0;
58
box-shadow: $shadow-1;
59
60
&.inline-toolbar { border-style: none; }
61
}
62
63
sheet-style-dialog.unity-force-quit {
64
// background-color: $background;
65
}
66
67
// Panel Style
68
UnityPanelWidget,
69
.unity-panel {
70
background-color: $panel-solid;
71
color: $titlebar-text;
72
73
&:backdrop { color: $titlebar-text-secondary; }
74
}
75
76
.unity-panel.menubar,
77
.unity-panel .menubar {
78
}
79
80
.unity-panel.menuitem,
81
.unity-panel .menuitem {
82
color: $titlebar-text-secondary;
83
}
84
85
.unity-panel.menubar.menuitem:hover,
86
.unity-panel.menubar .menuitem *:hover {
87
box-shadow: inset 0 -2px $titlebar-indicator;
88
background-color: transparent;
89
color: $titlebar-text;
90
}
91
92
.menu IdoPlaybackMenuItem.menuitem:active {
93
-gtk-icon-source: -gtk-icontheme('process-working-symbolic');
94
animation: spin 1s linear infinite;
95
color: $primary;
96
}
97