forked from github/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathutilities.scss
99 lines (85 loc) · 1.83 KB
/
utilities.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
.color-unset {
color: unset;
}
.line-break-anywhere {
line-break: anywhere;
}
.transition-200 {
transition: 200ms;
}
.rotate-180 {
transform: rotateX(180deg);
}
.outline-none {
outline: none;
}
/* Print utilities
------------------------------------------------------------------------------*/
@media print {
.no-print {
display: none;
}
}
/* Opacity utilities
------------------------------------------------------------------------------*/
.opacity-0 {
opacity: 0;
}
.opacity-60 {
opacity: 0.6;
}
.opacity-70 {
opacity: 0.7;
}
.opacity-100 {
opacity: 1;
}
/* List utilities
------------------------------------------------------------------------------*/
.list-style-inside {
list-style: inside;
}
/* Hover utilities
------------------------------------------------------------------------------*/
.hover\:color-bg-info:hover {
background: var(--color-bg-info);
}
/* Z-Index utilities
------------------------------------------------------------------------------*/
.-z-1 {
z-index: -1;
}
.z-1 {
z-index: 1;
}
.z-2 {
z-index: 2;
}
.z-3 {
z-index: 3;
}
/* Blue primary button
------------------------------------------------------------------------------*/
.btn-primary-matte {
color: var(--color-text-inverse);
background-color: var(--color-auto-blue-5);
border-color: var(--color-btn-primary-border);
box-shadow: var(--color-btn-primary-shadow),
var(--color-btn-primary-inset-shadow);
}
.btn-primary-matte:hover {
background-color: var(--color-auto-blue-6);
}
/* Border colors
------------------------------------------------------------------------------*/
.color-border-transparent {
border-color: transparent !important;
}
/* Widths / Heights
------------------------------------------------------------------------------*/
.max-w-xs {
max-width: 20rem;
}
.min-h-screen {
min-height: 100vh;
}