-
Notifications
You must be signed in to change notification settings - Fork 1
/
borders.css
119 lines (101 loc) · 2.89 KB
/
borders.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
/* .....................................
Fonts
..................................... */
/* .....................................
Sets
..................................... */
/* .....................................
Media Query Ranges
..................................... */
/* .....................................
Colors - Grays
..................................... */
/* .....................................
Colors - Teals
..................................... */
/* .....................................
Colors - Red
..................................... */
/* .....................................
Colors - Navy
..................................... */
/* .....................................
Colors - Brand Palette
..................................... */
/* .....................................
Colors - Vimeo Brand Palette
..................................... */
/* .....................................
Colors - External Palette
..................................... */
/* helper function for margin and padding
......................................*/
/*.....................................
BORDERS
......................................*/
/* positions
...................................*/
.border {
border: 1px solid #e3e8e9; }
.border-top {
border-top: 1px solid #e3e8e9; }
.border-left {
border-left: 1px solid #e3e8e9; }
.border-bottom {
border-bottom: 1px solid #e3e8e9; }
.border-right {
border-right: 1px solid #e3e8e9; }
.border-vert {
border-top: 1px solid #e3e8e9;
border-bottom: 1px solid #e3e8e9; }
.border-horz {
border-left: 1px solid #e3e8e9;
border-right: 1px solid #e3e8e9; }
/* colors
...................................*/
.border--white {
border-color: #fff !important; }
.border--white-transparent {
border-color: rgba(255, 255, 255, 0.7) !important; }
.border--gray {
border-color: #e3e8e9 !important; }
.border--gray-light {
border-color: #eef1f2 !important; }
.border--navy {
border-color: #1a2e3b !important; }
/* modifiers
...................................*/
.border--thick {
border-width: 5px; }
.border--radius {
border-radius: 3px; }
/* border center
...................................*/
.border-center {
z-index: 1;
position: relative; }
.border-center:before {
content: " ";
display: block;
height: 1px;
top: 50%;
left: 0;
background-color: #e3e8e9;
margin-top: -2px;
z-index: -1;
position: absolute;
width: 100%; }
.border-center.border--gray-light:before {
background-color: #eef1f2; }
.border-center.border--white-transparent:before {
background-color: rgba(255, 255, 255, 0.7); }
.border-center.border--white:before {
background-color: #fff; }
.shadow {
box-shadow: 0 0 5px 0 rgba(0, 20, 43, 0.5); }
.shadow--black {
box-shadow: 0 0 5px 0 rgba(26, 46, 59, 0.5); }
.shadow--gray {
box-shadow: 0 0 5px 0 rgba(227, 232, 233, 0.5); }
.radius {
border-radius: 5px; }