-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathtick.core.css
190 lines (190 loc) · 6.66 KB
/
tick.core.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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
/*
* @pqina/tick v1.8.3 - Counters Made Easy
* Copyright (c) 2024 PQINA - https://github.com/pqina/tick/
*/
.tick {
box-sizing: border-box;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: default;
position: relative;
z-index: 1;
line-height: 1.4; }
.tick * {
box-sizing: inherit; }
.tick [data-view] {
max-width: 100%; }
.tick span[data-view] {
display: inline-block; }
.tick .tick-credits {
position: absolute;
right: 0;
bottom: 0;
opacity: 0.4;
text-decoration: none;
font-size: 11px;
color: inherit; }
.tick [data-layout~='pad'] {
margin: -.25em; }
.tick [data-layout~='pad'] > * {
margin: .25em; }
.tick [data-layout~='horizontal'] {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center; }
.tick [data-layout~='horizontal'][data-layout~='baseline'] {
-webkit-box-align: baseline;
-webkit-align-items: baseline;
-ms-flex-align: baseline;
align-items: baseline; }
.tick [data-layout~='horizontal'][data-layout~='center'] {
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center; }
.tick [data-layout~='horizontal'][data-layout~='right'] {
-webkit-box-pack: end;
-webkit-justify-content: flex-end;
-ms-flex-pack: end;
justify-content: flex-end; }
.tick [data-layout~='horizontal'][data-layout~='left'] {
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start; }
.tick [data-layout~='horizontal'][data-layout~='stretch'], .tick [data-layout~='horizontal'][data-layout~='fill'] {
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap; }
.tick [data-layout~='horizontal'][data-layout~='stretch'] > *, .tick [data-layout~='horizontal'][data-layout~='fill'] > * {
-webkit-box-flex: 1;
-webkit-flex: 1 0 0;
-ms-flex: 1 0 0px;
flex: 1 0 0; }
.tick [data-layout~='horizontal'][data-layout~='stretch'] > *, .tick [data-layout~='horizontal'][data-layout~='fill'] > * {
width: 100%; }
.tick [data-layout~='horizontal'][data-layout~='multi-line'] {
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap; }
.tick [data-layout~='horizontal'][data-layout~='fit'] {
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-align-content: center;
-ms-flex-line-pack: center;
align-content: center;
white-space: nowrap;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start; }
.tick [data-layout~='vertical'] {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center; }
.tick [data-layout~='vertical'][data-layout~='top'] {
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start; }
.tick [data-layout~='vertical'][data-layout~='bottom'] {
-webkit-box-pack: end;
-webkit-justify-content: flex-end;
-ms-flex-pack: end;
justify-content: flex-end;
min-height: 100%; }
.tick [data-layout~='vertical'][data-layout~='middle'] {
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
min-height: 100%; }
.tick [data-layout~='vertical'][data-layout~='left'] {
-webkit-box-align: start;
-webkit-align-items: flex-start;
-ms-flex-align: start;
align-items: flex-start; }
.tick [data-layout~='vertical'][data-layout~='right'] {
-webkit-box-align: end;
-webkit-align-items: flex-end;
-ms-flex-align: end;
align-items: flex-end; }
.tick [data-layout~='vertical'][data-layout~='center'] {
text-align: center; }
.tick [data-layout~='vertical'][data-layout~='stretch'], .tick [data-layout~='vertical'][data-layout~='fill'] {
-webkit-box-align: stretch;
-webkit-align-items: stretch;
-ms-flex-align: stretch;
align-items: stretch;
min-height: 100%; }
.tick [data-layout~='vertical'][data-layout~='stretch'] > *, .tick [data-layout~='vertical'][data-layout~='fill'] > * {
-webkit-box-flex: 1;
-webkit-flex: 1 0 0;
-ms-flex: 1 0 0px;
flex: 1 0 0; }
.tick [data-layout~='vertical'] > * + * {
margin-top: .5em; }
.tick [data-layout~='overlay'] {
position: relative; }
.tick [data-layout~='overlay'] > * {
margin: 0; }
.tick [data-layout~='overlay'][data-layout~='center'] {
text-align: center; }
.tick [data-layout~='overlay'][data-layout~='left'] {
text-align: left; }
.tick [data-layout~='overlay'][data-layout~='right'] {
text-align: right; }
.tick [data-layout~='overlay'] > [data-overlay='stretch'],
.tick [data-layout~='overlay'] > [data-overlay='fill'] {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0; }
.tick [data-layout~='overlay'] > [data-overlay='center'] {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0; }