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