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.12 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(black, 0.48);
15
-UnityDecoration-active-shadow-radius: 18px;
16
-UnityDecoration-inactive-shadow-color: rgba(black, 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-text2;
37
}
38
}
39
40
.left,
41
.right {}
42
43
.bottom {}
44
45
.menuitem {
46
border-radius: $corner-radius $corner-radius 0 0;
47
box-shadow: none; // Don't inherit from .top
48
color: $titlebar-text2;
49
50
&:hover {
51
background-color: $overlay-checked;
52
color: $titlebar-text;
53
}
54
}
55
}
56
57
.background:not(.csd) headerbar:not(.titlebar) {
58
border-radius: 0;
59
box-shadow: $shadow-z1;
60
61
&.inline-toolbar { border-style: none; }
62
}
63
64
sheet-style-dialog.unity-force-quit {
65
// background-color: $background;
66
}
67
68
// Panel Style
69
UnityPanelWidget,
70
.unity-panel {
71
background-color: $panel-solid;
72
color: $titlebar-text;
73
74
&:backdrop { color: $titlebar-text2; }
75
}
76
77
.unity-panel.menubar,
78
.unity-panel .menubar {
79
}
80
81
.unity-panel.menuitem,
82
.unity-panel .menuitem {
83
color: $titlebar-text2;
84
}
85
86
.unity-panel.menubar.menuitem:hover,
87
.unity-panel.menubar .menuitem *:hover {
88
background-color: $overlay-checked;
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