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_color;
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: 2px 2px 0 0;
30
box-shadow: inset 0 1px $titlebar_highlight_color;
31
background-color: $titlebar_bg_color;
32
color: $titlebar_fg_color;
33
34
&:backdrop { color: $titlebar_secondary_fg_color; }
35
}
36
37
.left,
38
.right {}
39
40
.bottom {}
41
42
.menuitem {
43
color: $titlebar_secondary_fg_color;
44
45
&:hover {
46
box-shadow: inset 0 -2px $titlebar_indicator_color;
47
background-color: transparent;
48
color: $titlebar_fg_color;
49
}
50
}
51
}
52
53
.background:not(.csd) headerbar:not(.titlebar) {
54
border-radius: 0;
55
box-shadow: $shadow_1;
56
57
&.inline-toolbar { border-style: none; }
58
}
59
60
sheet-style-dialog.unity-force-quit {
61
// background-color: $bg_color;
62
}
63
64
// Panel Style
65
UnityPanelWidget,
66
.unity-panel {
67
background-color: $opaque_panel_bg_color;
68
color: $titlebar_fg_color;
69
70
&:backdrop { color: $titlebar_secondary_fg_color; }
71
}
72
73
.unity-panel.menubar,
74
.unity-panel .menubar {
75
}
76
77
.unity-panel.menuitem,
78
.unity-panel .menuitem {
79
color: $titlebar_secondary_fg_color;
80
}
81
82
.unity-panel.menubar.menuitem:hover,
83
.unity-panel.menubar .menuitem *:hover {
84
box-shadow: inset 0 -2px $titlebar_indicator_color;
85
background-color: transparent;
86
color: $titlebar_fg_color;
87
}
88
89
.menu IdoPlaybackMenuItem.menuitem:active {
90
-gtk-icon-source: -gtk-icontheme('process-working-symbolic');
91
animation: spin 1s linear infinite;
92
color: $primary_color;
93
}
94