-
Notifications
You must be signed in to change notification settings - Fork 2
/
default.scss
132 lines (110 loc) · 2.87 KB
/
default.scss
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
$transition-duration: 600ms;
$border-radius: 50px;
window {
background-color: transparent;
}
activity-widget {
margin-left: 2.5px;
margin-right: 2.5px;
.activity-background,
.activity-background * {
transition-property: min-width, min-height;
transition-duration: $transition-duration, $transition-duration;
transition-timing-function: cubic-bezier(0.2, 0.55, 0.25, 1),
cubic-bezier(0.2, 0.55, 0.25, 1);
}
.mode-minimal,
.mode-compact,
.mode-expanded,
.mode-overlay {
border-radius: $border-radius;
transition-property: transform, opacity, filter;
transition-duration: $transition-duration, $transition-duration,
$transition-duration;
transition-timing-function: cubic-bezier(0.2, 0.55, 0.25, 1),
cubic-bezier(0.6, 0.6, 0.2, 0.8), cubic-bezier(0.5, 0.5, 0, 0.7);
}
background-color: rgb(0, 0, 0);
// border-top: 10px inset rgba(0, 160, 204, 0.5);
// border-right: 6px inset rgba(184, 204, 0, 0.5);
// border-bottom: 10px inset rgba(204, 0, 0, 0.5);
// border-left: 6px inset rgba(204, 0, 177, 0.5);
border: 2px solid rgba(69, 69, 69, 0.69);
border-radius: $border-radius;
}
activity-widget.dragging {
.mode-minimal,
.mode-compact,
.mode-expanded,
.mode-overlay {
transition-property: transform, opacity, filter;
transition-duration: 0ms, 0ms, 0ms;
}
.activity-background,
.activity-background * {
transition-property: min-width, min-height;
transition-duration: 0ms, 0ms;
transition-timing-function: linear, linear, linear;
}
}
activity-widget.hidden{
opacity: 0;
border: none;
}
//rolling char
@keyframes in {
from {
transform: translateY(15px) scale(0.2);
/* should be translateY(100%) but gtk doesn't support that */
opacity: 0.5;
}
65% {
transform: translateY(-2px) scale(1);
opacity: 1;
}
80% {
transform: translateY(-0.7px) scale(1);
opacity: 1;
}
93% {
transform: translateY(0.2px) scale(1);
opacity: 1;
}
100% {
transform: translateY(0px) scale(1);
opacity: 1;
}
}
@keyframes out {
0% {
transform: translateY(0px) scale(1);
opacity: 1;
}
100% {
transform: translateY(-15px) scale(0.2);
/* should be translateY(-100%) but gtk doesn't support that */
opacity: 0.2;
}
}
rolling-char .in {
animation-name: in;
animation-duration: 450ms;
}
rolling-char .out {
opacity: 0;
animation-name: out;
animation-duration: 300ms;
}
scrolling-label {
box{
margin-right: 10px;
}
.inner-label {
margin-left: 10px;
margin-right: 30px;
margin-top: 1px;
}
// box {
// animation-timing-function: ease-in-out;
// }
}