forked from micheleg/dash-to-dock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylesheet.css
163 lines (135 loc) · 4.27 KB
/
stylesheet.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
/* Shrink the dash by reducing padding and border radius */
#dashtodockContainer.shrink #dash,
#dashtodockContainer.dashtodock #dash {
border:1px;
padding:0px;
}
#dashtodockContainer.shrink.left #dash,
#dashtodockContainer.dashtodock.left #dash {
border-left: 0px;
border-radius: 0px 9px 9px 0px;
}
#dashtodockContainer.shrink.right #dash,
#dashtodockContainer.dashtodock.right #dash {
border-right: 0px;
border-radius: 9px 0px 0px 9px;
}
#dashtodockContainer.shrink.top #dash,
#dashtodockContainer.dashtodock.top #dash {
border-top: 0px;
border-radius: 0px 0px 9px 9px;
}
#dashtodockContainer.shrink.bottom #dash,
#dashtodockContainer.dashtodock.bottom #dash {
border-bottom: 0px;
border-radius: 9px 9px 0px 0px;
}
#dashtodockContainer.straight-corner #dash,
#dashtodockContainer.shrink.straight-corner #dash {
border-radius: 0px;
}
/* Scrollview style */
.bottom #dashtodockDashScrollview,
.top #dashtodockDashScrollview {
-st-hfade-offset: 24px;
}
.left #dashtodockDashScrollview,
.right #dashtodockDashScrollview {
-st-vfade-offset: 24px;
}
#dashtodockContainer.running-dots .dash-item-container > StButton,
#dashtodockContainer.dashtodock .dash-item-container > StButton {
transition-duration: 250;
background-size: contain;
}
#dashtodockContainer.shrink .dash-item-container > StButton,
#dashtodockContainer.dashtodock .dash-item-container > StButton {
padding: 1px 2px;
}
/* Dash height extended to the whole available vertical space */
#dashtodockContainer.extended.top #dash,
#dashtodockContainer.extended.right #dash,
#dashtodockContainer.extended.bottom #dash,
#dashtodockContainer.extended.left #dash {
border-radius: 0;
}
#dashtodockContainer.extended.top #dash,
#dashtodockContainer.extended.bottom #dash {
border-left:0px;
border-right:0px;
}
#dashtodockContainer.extended.right #dash,
#dashtodockContainer.extended.left #dash {
border-top:0px;
border-bottom:0px;
}
/* Running and focused application style */
#dashtodockContainer.running-dots .app-well-app.running > .overview-icon,
#dashtodockContainer.dashtodock .app-well-app.running > .overview-icon {
background-image:none;
}
#dashtodockContainer.running-dots .app-well-app.focused .overview-icon,
#dashtodockContainer.dashtodock .app-well-app.focused .overview-icon {
background-color: rgba(238, 238, 236, 0.2);
}
#dashtodockContainer.dashtodock #dash {
background: #2e3436;
}
/* Only alpha value is used */
#dashtodockContainer.opaque {
background-color: rgba(0, 0, 0, 0.8);
border-color: rgba(0, 0, 0, 0.4);
transition-duration: 300ms;
}
/* Only alpha value is used */
#dashtodockContainer.transparent {
background-color: rgba(0, 0, 0, 0.2);
border-color: rgba(0, 0, 0, 0.1);
transition-duration: 500ms;
}
#dashtodockContainer .number-overlay {
color: rgba(255,255,255,1);
background-color: rgba(0,0,0,0.8);
text-align: center;
}
#dashtodockContainer .notification-badge {
color: rgba(255,255,255,1);
background-color: rgba(255,0,0,1.0);
padding: 0.2em 0.5em;
border-radius: 1em;
font-weight: bold;
text-align: center;
margin: 2px;
}
#dashtodockPreviewSeparator.popup-separator-menu-item-horizontal {
width: 1px;
height: auto;
border-right-width: 1px;
margin: 32px 0px;
}
.dashtodock-app-well-preview-menu-item {
padding: 1em 1em 0.5em 1em;
}
#dashtodockContainer .metro .overview-icon{
border-radius: 0px;
}
#dashtodockContainer.bottom .metro.running2.focused,
#dashtodockContainer.bottom .metro.running3.focused,
#dashtodockContainer.bottom .metro.running4.focused,
#dashtodockContainer.top .metro.running2.focused,
#dashtodockContainer.top .metro.running3.focused,
#dashtodockContainer.top .metro.running4.focused {
background-image: url('./media/highlight_stacked_bg.svg');
background-position: 0px 0px;
background-size: contain;
}
#dashtodockContainer.left .metro.running2.focused,
#dashtodockContainer.left .metro.running3.focused,
#dashtodockContainer.left .metro.running4.focused,
#dashtodockContainer.right .metro.running2.focused,
#dashtodockContainer.right .metro.running3.focused,
#dashtodockContainer.right .metro.running4.focused {
background-image: url('./media/highlight_stacked_bg_h.svg');
background-position: 0px 0px;
background-size: contain;
}