-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo-code.css
139 lines (131 loc) · 4.12 KB
/
demo-code.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
/**
* Base styles
* ----------------------------------------------------------------------------
*/
body {
font-family: 'Open Sans', sans-serif;
font-style: normal;
font-weight: 400; }
h1, .h1 {
font-size: 36px;
font-size: 2.25rem;
line-height: 1;
margin-top: 0.66667em; }
h2, .h2 {
font-size: 2rem;
font-size: 32px;
line-height: 1.2;
margin-top: 0.75em; }
.mb-0, h1, h2, p, li {
margin-bottom: 0; }
.mt-0, h1:first-child, h2:first-child, p:first-child, li:first-child {
margin-top: 0; }
.mt-l {
margin-top: 2.25em; }
.mb-0, h1, h2, p, li {
margin-bottom: 0; }
/**
* Demo one
* ----------------------------------------------------------------------------
*/
.demo-select {
border-color: #0d6a6b;
width: 300px; }
.demo-select .select-menu__list {
padding-top: 5px; }
.demo-select .select-menu__current {
color: #0d6a6b;
font-size: 13px; }
.demo-select.select-menu--active .select-menu__current {
color: #5897FB; }
.demo-select .select-menu__wrapper {
border-color: #5897FB;
border-top-left-radius: 0;
border-top-right-radius: 0;
border-top: none;
margin-top: -5px;
width: 300px; }
.demo-select .arrow-fade:before {
border-top-color: #0d6a6b; }
.demo-select li {
font-size: 13px; }
.demo-select.select-menu--active {
border-color: #5897FB; }
/**
* Demo two
* ----------------------------------------------------------------------------
*/
.demo-select-two {
background-color: #3BB3E0;
padding: 10px;
position: relative;
font-family: 'Open Sans', sans-serif;
font-size: 12px;
text-decoration: none;
color: #FFF;
border: solid 1px #186F8F;
background-image: linear-gradient(bottom, #2ca0ca 0%, #3eb8e5 100%);
background-image: -o-linear-gradient(bottom, #2ca0ca 0%, #3eb8e5 100%);
background-image: -moz-linear-gradient(bottom, #2ca0ca 0%, #3eb8e5 100%);
background-image: -webkit-linear-gradient(bottom, #2CA0CA 0%, #3EB8E5 100%);
background-image: -ms-linear-gradient(bottom, #2ca0ca 0%, #3eb8e5 100%);
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #2CA0CA), color-stop(1, #3EB8E5));
box-shadow: inset 0px 1px 0px #7FD2F1, 0px 1px 0px #FFF;
border-radius: 5px; }
.demo-select-two:active {
padding-bottom: 9px;
padding-left: 10px;
padding-right: 10px;
padding-top: 11px;
background-image: linear-gradient(bottom, #3eb8e5 0%, #2ca0ca 100%);
background-image: -o-linear-gradient(bottom, #3eb8e5 0%, #2ca0ca 100%);
background-image: -moz-linear-gradient(bottom, #3eb8e5 0%, #2ca0ca 100%);
background-image: -webkit-linear-gradient(bottom, #3EB8E5 0%, #2CA0CA 100%);
background-image: -ms-linear-gradient(bottom, #3eb8e5 0%, #2ca0ca 100%);
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #3EB8E5), color-stop(1, #2CA0CA)); }
.demo-select-two::before {
background-color: #CCD0D5;
content: "";
display: block;
position: absolute;
width: 100%;
height: 100%;
padding: 8px;
left: -8px;
top: -8px;
z-index: -1;
border-radius: 5px;
box-shadow: inset 0px 1px 1px #909193, 0px 1px 0px #FFF; }
.demo-select-two .select-menu__current {
font-family: 'Open Sans', sans-serif;
font-size: 12px;
text-decoration: none;
color: #FFF; }
.demo-select-two .arrow-fade {
background: none; }
.demo-select-two .arrow-fade::before {
border-top-color: white; }
.demo-select-two li {
font-size: 13px; }
.demo-select-two .select-menu__wrapper {
background-color: #186F8F;
border: none;
border-top: 1px solid #1B5A71;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
left: 0;
margin-top: 0;
top: 100%;
width: 100%; }
.demo-select-two .select-menu__list {
display: block;
padding: 0; }
.demo-select-two .select-menu__list a {
padding: 4px 10px;
color: #fff; }
.demo-select-two .select-menu__list a:hover {
background: #3BB3E0;
color: #fff; }
.demo-select-two.select-menu--active .select-menu__wrapper {
display: block !important; }
.demo-select-two.select-menu--active .arrow-fade::before {
border-bottom-color: white; }