forked from basscss/addons
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
49 lines (42 loc) · 1.02 KB
/
Copy pathindex.css
File metadata and controls
49 lines (42 loc) · 1.02 KB
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
/* Basscss Btn */
.btn {
font-family: var(--button-font-family);
font-size: var(--button-font-size);
font-weight: var(--button-font-weight);
text-decoration: none;
cursor: pointer;
display: inline-block;
line-height: var(--button-line-height);
padding: var(--button-padding-y) var(--button-padding-x);
margin: 0;
height: auto;
border: var(--border-width) solid transparent;
vertical-align: middle;
-webkit-appearance: none;
color: inherit;
background-color: transparent;
}
.btn:hover {
text-decoration: none;
}
.btn:focus {
outline: none;
border-color: var(--darken-2);
box-shadow: 0 0 0 3px var(--darken-3);
}
::-moz-focus-inner {
border: 0;
padding: 0;
}
:root {
--border-width: 1px;
--bold-font-weight: bold;
--button-font-family: inherit;
--button-font-size: inherit;
--button-font-weight: var(--bold-font-weight);
--button-line-height: 1.125rem;
--button-padding-y: .5rem;
--button-padding-x: 1rem;
--darken-2: rgba(0, 0, 0, .125);
--darken-3: rgba(0, 0, 0, .25);
}