/
styles.css
112 lines (102 loc) · 3.44 KB
/
styles.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
html {
font-family: Arial, sans-serif;
}
body {
padding: 0;
margin: 0;
}
#test-area {
padding: 20px;
max-width: 1024px;
box-sizing: border-box;
gap: 20px;
align-items: start;
}
#test-area.grid {
display: grid;
}
.section {
margin: 10px;
}
.split-label {
display: grid;
grid-template-rows: 1fr;
grid-template-columns: 1fr;
}
.split-label > * {
width: 100%;
height: 100%;
grid-row: 1;
grid-column: 1;
display: flex;
overflow: hidden;
}
.split-label > :first-child {
clip-path: polygon( 0% 0%, 100% 100%, 0% 100% );
justify-content: flex-start;
}
.split-label > :last-child {
clip-path: polygon( 0% 0%, 100% 0, 100% 100% );
justify-content: flex-end;
}
/* Prevent animations */
.k-no-animations,
.k-no-animations *,
.k-no-animations ::before,
.k-no-animations ::after,
.k-i-loading:before,
.k-i-loading:after,
.k-loading-image::before,
.k-loading-image::after {
animation: none !important;
transition: none !important;
}
/* Manually import Roboto font from https://fonts.googleapis.com/css?family=Roboto:300,400,500,700 */
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 300;
src: local('Roboto Light'), local('Roboto-Light'), url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmSU5fBBc4.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 500;
src: local('Roboto Medium'), local('Roboto-Medium'), url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmEU9fBBc4.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 700;
src: local('Roboto Bold'), local('Roboto-Bold'), url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfBBc4.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Grid utilites */
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-all { grid-column: 1 / -1; }
/* Shades of gray*/
.k-bg-gray-50 { background-color: #fafafa; }
.k-bg-gray-100 { background-color: #f5f5f5; }
.k-bg-gray-200 { background-color: #e5e5e5; }
.k-bg-gray-300 { background-color: #d4d4d4; }
.k-bg-gray-400 { background-color: #a3a3a3; }
.k-bg-gray-500 { background-color: #737373; }
.k-bg-gray-600 { background-color: #525252; }
.k-bg-gray-700 { background-color: #404040; }
.k-bg-gray-800 { background-color: #262626; }
.k-bg-gray-900 { background-color: #171717; }