uniform-ui 1.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/assets/config/manifest.js +1 -0
- data/lib/assets/javascripts/uniform/checkbox.js +31 -0
- data/lib/assets/javascripts/uniform/component.js +42 -0
- data/lib/assets/javascripts/uniform/dom-helpers.js +136 -0
- data/lib/assets/javascripts/uniform/dropdown.js +149 -0
- data/lib/assets/javascripts/uniform/floating-label.js +54 -0
- data/lib/assets/javascripts/uniform/icons.js +16 -0
- data/lib/assets/javascripts/uniform/modal.js +103 -0
- data/lib/assets/javascripts/uniform/resizer.js +43 -0
- data/lib/assets/javascripts/uniform/select.js +235 -0
- data/lib/assets/javascripts/uniform/tooltip.js +120 -0
- data/lib/assets/javascripts/uniform-es5.js +1 -0
- data/lib/assets/javascripts/uniform-jquery.js +124 -0
- data/lib/assets/javascripts/uniform.js +17 -0
- data/lib/assets/stylesheets/uniform/base.scss +3 -0
- data/lib/assets/stylesheets/uniform/components/alert.scss +72 -0
- data/lib/assets/stylesheets/uniform/components/buttons.scss +219 -0
- data/{vendor → lib}/assets/stylesheets/uniform/components/card.scss +33 -25
- data/lib/assets/stylesheets/uniform/components/container.scss +19 -0
- data/{vendor → lib}/assets/stylesheets/uniform/components/dropdown.scss +8 -4
- data/lib/assets/stylesheets/uniform/components/form/checkbox-collection.scss +103 -0
- data/lib/assets/stylesheets/uniform/components/form/checkbox.scss +58 -0
- data/lib/assets/stylesheets/uniform/components/form/floating-label.scss +64 -0
- data/lib/assets/stylesheets/uniform/components/form/input-group.scss +56 -0
- data/lib/assets/stylesheets/uniform/components/form.scss +143 -0
- data/lib/assets/stylesheets/uniform/components/grid.scss +158 -0
- data/lib/assets/stylesheets/uniform/components/label.scss +26 -0
- data/lib/assets/stylesheets/uniform/components/loaders.scss +80 -0
- data/{vendor → lib}/assets/stylesheets/uniform/components/modal.scss +26 -4
- data/lib/assets/stylesheets/uniform/components/nav.scss +124 -0
- data/lib/assets/stylesheets/uniform/components/row.scss +69 -0
- data/lib/assets/stylesheets/uniform/components/select.scss +122 -0
- data/lib/assets/stylesheets/uniform/components/table.scss +127 -0
- data/lib/assets/stylesheets/uniform/components/thumb.scss +41 -0
- data/lib/assets/stylesheets/uniform/components/tooltip.scss +63 -0
- data/lib/assets/stylesheets/uniform/components.scss +11 -0
- data/{vendor → lib}/assets/stylesheets/uniform/defaults.scss +7 -4
- data/lib/assets/stylesheets/uniform/functions.scss +31 -0
- data/lib/assets/stylesheets/uniform/helpers/border.scss +19 -0
- data/lib/assets/stylesheets/uniform/helpers/colors.scss +23 -0
- data/lib/assets/stylesheets/uniform/helpers/margin.scss +27 -0
- data/lib/assets/stylesheets/uniform/helpers/padding.scss +9 -0
- data/lib/assets/stylesheets/uniform/helpers/position.scss +13 -0
- data/lib/assets/stylesheets/uniform/helpers/sizes.scss +38 -0
- data/{vendor → lib}/assets/stylesheets/uniform/helpers/text.scss +86 -73
- data/lib/assets/stylesheets/uniform/helpers.scss +127 -0
- data/lib/assets/stylesheets/uniform/mixins.scss +116 -0
- data/lib/assets/stylesheets/uniform/print/grid.scss +50 -0
- data/lib/assets/stylesheets/uniform/variables.scss +72 -0
- data/lib/assets/stylesheets/uniform-print.scss +1 -0
- data/lib/assets/stylesheets/uniform.scss +11 -0
- data/lib/uniform/version.rb +3 -0
- data/lib/uniform.rb +15 -0
- metadata +87 -95
- data/.gitignore +0 -2
- data/CHANGELOG.md +0 -27
- data/CNAME +0 -1
- data/Gemfile +0 -8
- data/Gemfile.lock +0 -40
- data/LICENSE +0 -22
- data/README.md +0 -35
- data/Rakefile +0 -74
- data/index.html +0 -251
- data/lib/uniform/rails/engine.rb +0 -8
- data/lib/uniform/rails.rb +0 -6
- data/lib/uniform/ui.rb +0 -1
- data/preview/alerts.html.erb +0 -1
- data/preview/buttons.html.erb +0 -62
- data/preview/cards.html.erb +0 -23
- data/preview/colors.html.erb +0 -22
- data/preview/dropdown.html.erb +0 -1
- data/preview/form.html.erb +0 -233
- data/preview/grid.html.erb +0 -304
- data/preview/helpers.html.erb +0 -225
- data/preview/index.html.erb +0 -77
- data/preview/labels.html.erb +0 -1
- data/preview/layout.html.erb +0 -63
- data/preview/loaders.html.erb +0 -83
- data/preview/modal.html.erb +0 -1
- data/preview/nav.html.erb +0 -77
- data/preview/preview.scss +0 -76
- data/preview/rows.html.erb +0 -36
- data/preview/select.html.erb +0 -1
- data/preview/tables.html.erb +0 -1
- data/preview/tabs.html.erb +0 -17
- data/preview/tiles.html.erb +0 -1
- data/preview/tooltip.erb +0 -1
- data/preview.css +0 -0
- data/site/alerts.html +0 -157
- data/site/alerts.html copy +0 -133
- data/site/buttons.html +0 -286
- data/site/cards.html +0 -177
- data/site/colors.html +0 -275
- data/site/dropdown.html +0 -157
- data/site/dropdown.html copy +0 -141
- data/site/form.html +0 -369
- data/site/grid.html +0 -716
- data/site/helpers.html +0 -1008
- data/site/index.html +0 -251
- data/site/labels.html +0 -157
- data/site/layout.html +0 -313
- data/site/loaders.html +0 -233
- data/site/logo.png +0 -0
- data/site/modal.html +0 -157
- data/site/nav.html +0 -229
- data/site/preview.css +0 -1
- data/site/preview.js +0 -59
- data/site/rows.html +0 -190
- data/site/select.html +0 -157
- data/site/tables.html +0 -157
- data/site/tabs.html +0 -171
- data/site/tiles.html +0 -157
- data/site/tiles.html copy +0 -109
- data/site/tooltip +0 -157
- data/site/uniform.css +0 -1
- data/uniform.gemspec +0 -22
- data/vendor/assets/stylesheets/uniform/base.scss +0 -2
- data/vendor/assets/stylesheets/uniform/components/alert.scss +0 -27
- data/vendor/assets/stylesheets/uniform/components/buttons.scss +0 -212
- data/vendor/assets/stylesheets/uniform/components/form.scss +0 -290
- data/vendor/assets/stylesheets/uniform/components/grid.scss +0 -225
- data/vendor/assets/stylesheets/uniform/components/label.scss +0 -63
- data/vendor/assets/stylesheets/uniform/components/loaders.scss +0 -82
- data/vendor/assets/stylesheets/uniform/components/nav.scss +0 -197
- data/vendor/assets/stylesheets/uniform/components/row.scss +0 -92
- data/vendor/assets/stylesheets/uniform/components/select.scss +0 -98
- data/vendor/assets/stylesheets/uniform/components/table.scss +0 -83
- data/vendor/assets/stylesheets/uniform/components/tabs.scss +0 -45
- data/vendor/assets/stylesheets/uniform/components/tile.scss +0 -20
- data/vendor/assets/stylesheets/uniform/components/tooltip.scss +0 -46
- data/vendor/assets/stylesheets/uniform/helpers/colors.scss +0 -37
- data/vendor/assets/stylesheets/uniform/helpers/margin.scss +0 -44
- data/vendor/assets/stylesheets/uniform/helpers/padding.scss +0 -74
- data/vendor/assets/stylesheets/uniform/helpers/sizes.scss +0 -31
- data/vendor/assets/stylesheets/uniform/helpers.scss +0 -124
- data/vendor/assets/stylesheets/uniform/mixins.scss +0 -77
- data/vendor/assets/stylesheets/uniform/variables.scss +0 -36
- data/vendor/assets/stylesheets/uniform.scss +0 -9
@@ -1,63 +0,0 @@
|
|
1
|
-
.uniformLabel{
|
2
|
-
display:inline-block;
|
3
|
-
vertical-align:baseline;
|
4
|
-
font-size: 0.8em;
|
5
|
-
padding: 0.0714em 0.357em 0.0714em;
|
6
|
-
border: 0.1em solid $gray;
|
7
|
-
color: $gray;
|
8
|
-
border-radius: 0.3em;
|
9
|
-
&.fill{
|
10
|
-
border: none;
|
11
|
-
background: lighten($gray, 20);
|
12
|
-
color: white;
|
13
|
-
}
|
14
|
-
&.pad-more{
|
15
|
-
padding: 0.0714em 0.5em;
|
16
|
-
}
|
17
|
-
// TODO remove spire specific statuses
|
18
|
-
&.deleted,
|
19
|
-
&.red{
|
20
|
-
border-color: $red;
|
21
|
-
color: $red;
|
22
|
-
&.fill{
|
23
|
-
background: $red;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
|
27
|
-
&.approved,
|
28
|
-
&.accepted,
|
29
|
-
&.active,
|
30
|
-
&.green{
|
31
|
-
border-color: $green-dark;
|
32
|
-
color: $green-dark;
|
33
|
-
&.fill{
|
34
|
-
background: $green-dark;
|
35
|
-
}
|
36
|
-
}
|
37
|
-
|
38
|
-
&.missed,
|
39
|
-
&.expired,
|
40
|
-
&.leased,
|
41
|
-
&.yellow,
|
42
|
-
&.initiated,
|
43
|
-
&.nurturing{
|
44
|
-
border-color: $yellow-dark;
|
45
|
-
color: $yellow-dark;
|
46
|
-
&.fill{
|
47
|
-
background: $yellow-dark;
|
48
|
-
}
|
49
|
-
}
|
50
|
-
&.muted,
|
51
|
-
&.closed{
|
52
|
-
border-color: lighten($gray, 30);
|
53
|
-
color: lighten($gray, 30);
|
54
|
-
}
|
55
|
-
|
56
|
-
&.blue{
|
57
|
-
border-color: $blue;
|
58
|
-
color: $blue;
|
59
|
-
&.fill{
|
60
|
-
background: $blue;
|
61
|
-
}
|
62
|
-
}
|
63
|
-
}
|
@@ -1,82 +0,0 @@
|
|
1
|
-
.uniform-loader{
|
2
|
-
font-size:2em;
|
3
|
-
line-height:1em;
|
4
|
-
display:inline-block;
|
5
|
-
.uniform-loader-container{
|
6
|
-
letter-spacing:-.05em;
|
7
|
-
white-space:nowrap;
|
8
|
-
span{
|
9
|
-
color:rgba(black, 1);
|
10
|
-
text-shadow:-1px -1px 0 rgba(#FFFFFF, .2);
|
11
|
-
animation: uniform-loader-light 1s infinite linear;
|
12
|
-
animation-delay: 0.2s;
|
13
|
-
}
|
14
|
-
span:first-of-type{
|
15
|
-
animation-delay: 0s;
|
16
|
-
}
|
17
|
-
span:last-of-type{
|
18
|
-
animation-delay: 0.4s;
|
19
|
-
}
|
20
|
-
}
|
21
|
-
&.light{
|
22
|
-
.uniform-loader-container{
|
23
|
-
span{
|
24
|
-
color:rgba(white, 1);
|
25
|
-
text-shadow:-1px -1px 0 rgba(black, .2);
|
26
|
-
animation: uniform-loader 1s infinite linear;
|
27
|
-
animation-delay: 0.2s;
|
28
|
-
}
|
29
|
-
span:first-of-type{
|
30
|
-
animation-delay: 0s;
|
31
|
-
}
|
32
|
-
span:last-of-type{
|
33
|
-
animation-delay: 0.4s;
|
34
|
-
}
|
35
|
-
}
|
36
|
-
}
|
37
|
-
&.cover{
|
38
|
-
display:block;
|
39
|
-
background:rgba(white, 0.5);
|
40
|
-
position:absolute;
|
41
|
-
top:0;
|
42
|
-
left:0;
|
43
|
-
width:100%;
|
44
|
-
height:100%;
|
45
|
-
z-index:999999999;
|
46
|
-
.uniform-loader-container{
|
47
|
-
position:absolute;
|
48
|
-
@include align-middle;
|
49
|
-
}
|
50
|
-
&.light{
|
51
|
-
background:rgba(black, .5);
|
52
|
-
}
|
53
|
-
}
|
54
|
-
&.top{
|
55
|
-
.uniform-loader-container{
|
56
|
-
top: 20px;
|
57
|
-
}
|
58
|
-
}
|
59
|
-
}
|
60
|
-
@keyframes uniform-loader {
|
61
|
-
0% {
|
62
|
-
color: rgba(255, 255, 255, 0);
|
63
|
-
}
|
64
|
-
25% {
|
65
|
-
color: white;
|
66
|
-
}
|
67
|
-
100% {
|
68
|
-
color: white;
|
69
|
-
}
|
70
|
-
}
|
71
|
-
|
72
|
-
@keyframes uniform-loader-light {
|
73
|
-
0% {
|
74
|
-
color: black;
|
75
|
-
}
|
76
|
-
25% {
|
77
|
-
color: rgba(0, 0, 0, 0.2);
|
78
|
-
}
|
79
|
-
100% {
|
80
|
-
color: rgba(0, 0, 0, 0.2);
|
81
|
-
}
|
82
|
-
}
|
@@ -1,197 +0,0 @@
|
|
1
|
-
.uniformNav{
|
2
|
-
z-index: 3;
|
3
|
-
position: relative;
|
4
|
-
background: white;
|
5
|
-
box-shadow:0 1px 0 0 rgba(black, 0.15);
|
6
|
-
line-height: 1;
|
7
|
-
color: $gray;
|
8
|
-
&.transparent{
|
9
|
-
background: none;
|
10
|
-
box-shadow: none;
|
11
|
-
}
|
12
|
-
.col{
|
13
|
-
a{
|
14
|
-
&:first-child:last-child{
|
15
|
-
display:block;
|
16
|
-
}
|
17
|
-
}
|
18
|
-
}
|
19
|
-
.nav{
|
20
|
-
& > a,
|
21
|
-
& > * > a,
|
22
|
-
.text{
|
23
|
-
display:inline-block;
|
24
|
-
vertical-align:middle;
|
25
|
-
padding: 1.3em 1em;
|
26
|
-
color: $gray;
|
27
|
-
text-decoration:none;
|
28
|
-
.un-pad{
|
29
|
-
margin: -0.7em 0;
|
30
|
-
}
|
31
|
-
&:hover{
|
32
|
-
color: $blue;
|
33
|
-
}
|
34
|
-
&.uniformDropdown{
|
35
|
-
.fortycon.arrow_down_large{
|
36
|
-
transition: all 0.2s;
|
37
|
-
}
|
38
|
-
}
|
39
|
-
&.active.uniformDropdown{
|
40
|
-
.fortycon.arrow_down_large{
|
41
|
-
transform: rotate(180deg);
|
42
|
-
}
|
43
|
-
}
|
44
|
-
&.active{
|
45
|
-
color: $green-dark;
|
46
|
-
border-bottom: 2px solid $green-dark;
|
47
|
-
padding-bottom: calc(1.3em - 2px);
|
48
|
-
}
|
49
|
-
}
|
50
|
-
|
51
|
-
}
|
52
|
-
img{
|
53
|
-
display: block;
|
54
|
-
}
|
55
|
-
|
56
|
-
.uniformNav-subnav,
|
57
|
-
&.uniformNav-subnav{
|
58
|
-
.nav{
|
59
|
-
& > a,
|
60
|
-
& > * > a,
|
61
|
-
.text{
|
62
|
-
padding: 0.5em 0.5em;
|
63
|
-
}
|
64
|
-
}
|
65
|
-
}
|
66
|
-
.uniformInputGroup{
|
67
|
-
color: $gray;
|
68
|
-
}
|
69
|
-
&.invert{
|
70
|
-
box-shadow:none;
|
71
|
-
background: none;
|
72
|
-
color: $gray-light;
|
73
|
-
.nav{
|
74
|
-
& > a,
|
75
|
-
& > div > a,
|
76
|
-
.text{
|
77
|
-
background: none;
|
78
|
-
color: $gray-light;
|
79
|
-
&:hover{
|
80
|
-
color: $green-light;
|
81
|
-
}
|
82
|
-
&.active{
|
83
|
-
color: white;
|
84
|
-
background: darken($gray, 10);
|
85
|
-
}
|
86
|
-
}
|
87
|
-
}
|
88
|
-
}
|
89
|
-
.mobile-nav{
|
90
|
-
display:none;
|
91
|
-
button{
|
92
|
-
outline:none;
|
93
|
-
border:none;
|
94
|
-
background:none;
|
95
|
-
padding: 0.5em 0.5em;
|
96
|
-
}
|
97
|
-
img{
|
98
|
-
display: inline-block;
|
99
|
-
vertical-align:middle;
|
100
|
-
}
|
101
|
-
.fortycon{
|
102
|
-
vertical-align:middle;
|
103
|
-
}
|
104
|
-
}
|
105
|
-
@include media($sm){
|
106
|
-
font-size: 1.2rem;
|
107
|
-
.nav{
|
108
|
-
& > a,
|
109
|
-
& > * > a,
|
110
|
-
.text{
|
111
|
-
padding-top:0.6em;
|
112
|
-
padding-bottom: 0.6em;
|
113
|
-
|
114
|
-
&.active{
|
115
|
-
color: $green;
|
116
|
-
box-shadow: inset 2px 0 0 $green;
|
117
|
-
}
|
118
|
-
}
|
119
|
-
}
|
120
|
-
.mobile-nav{
|
121
|
-
position:relative;
|
122
|
-
display:block;
|
123
|
-
z-index: 2;
|
124
|
-
}
|
125
|
-
.non-mobile-nav{
|
126
|
-
z-index: 1;
|
127
|
-
position:fixed;
|
128
|
-
top: -100vh;
|
129
|
-
left: 0;
|
130
|
-
padding-top: 60px;
|
131
|
-
width: 100%;
|
132
|
-
height: 100vh;
|
133
|
-
background: white;
|
134
|
-
transition: top 0.2s;
|
135
|
-
overflow-y: auto;
|
136
|
-
.nav{
|
137
|
-
margin-bottom: 1em;
|
138
|
-
}
|
139
|
-
.uniformNav-subnav{
|
140
|
-
padding-top: 1em;
|
141
|
-
}
|
142
|
-
&.non-mobile-nav-left{
|
143
|
-
left: -100vw;
|
144
|
-
transition: left 0.2s;
|
145
|
-
width: auto;
|
146
|
-
}
|
147
|
-
}
|
148
|
-
button .fortycon{
|
149
|
-
transition: all 0.2s;
|
150
|
-
}
|
151
|
-
&.active{
|
152
|
-
.non-mobile-nav{
|
153
|
-
top: 0;
|
154
|
-
&.non-mobile-nav-left{
|
155
|
-
left: 0;
|
156
|
-
box-shadow: 0 0 10px rgba(black, 0.2);
|
157
|
-
}
|
158
|
-
}
|
159
|
-
|
160
|
-
button .fortycon{
|
161
|
-
transform: rotate(180deg);
|
162
|
-
}
|
163
|
-
}
|
164
|
-
}
|
165
|
-
.uniformNav-subnav{
|
166
|
-
font-size:1rem;
|
167
|
-
box-shadow:0 -1px 0 0 rgba(black, 0.15);
|
168
|
-
}
|
169
|
-
}
|
170
|
-
|
171
|
-
.uniformNav.vertical{
|
172
|
-
box-shadow: none;
|
173
|
-
.title{
|
174
|
-
font-weight: bold;
|
175
|
-
}
|
176
|
-
a{
|
177
|
-
display:block;
|
178
|
-
padding: 0.9em 1em;
|
179
|
-
margin: 0.1em 0;
|
180
|
-
&:hover{
|
181
|
-
color: black;
|
182
|
-
background:rgba($gray, 0.1);
|
183
|
-
}
|
184
|
-
&.active{
|
185
|
-
background: $green;
|
186
|
-
color: white;
|
187
|
-
border:none;
|
188
|
-
padding: 0.9em 1em;
|
189
|
-
}
|
190
|
-
&:first-of-type{
|
191
|
-
margin-top:0;
|
192
|
-
}
|
193
|
-
&:last-of-type{
|
194
|
-
margin-bottom: 0;
|
195
|
-
}
|
196
|
-
}
|
197
|
-
}
|
@@ -1,92 +0,0 @@
|
|
1
|
-
.uniformRow{
|
2
|
-
background: white;
|
3
|
-
padding: 0.5em;
|
4
|
-
padding-bottom: 1em;
|
5
|
-
border: 1px solid $gray-light;
|
6
|
-
margin: 0.5em 0;
|
7
|
-
text-decoration: none;
|
8
|
-
&.nest{
|
9
|
-
border-left: none;
|
10
|
-
border-right: none;
|
11
|
-
}
|
12
|
-
&[data-href]{
|
13
|
-
cursor: pointer;
|
14
|
-
}
|
15
|
-
&:hover{
|
16
|
-
background: lighten($blue, 50);
|
17
|
-
}
|
18
|
-
a{
|
19
|
-
text-decoration: none;
|
20
|
-
}
|
21
|
-
.title{
|
22
|
-
font-weight:bold;
|
23
|
-
}
|
24
|
-
.subtle{
|
25
|
-
font-size: 0.9em;
|
26
|
-
color: lighten($gray, 20);
|
27
|
-
@include text-overflow;
|
28
|
-
}
|
29
|
-
img{
|
30
|
-
height: auto;
|
31
|
-
width: 100%;
|
32
|
-
display:block;
|
33
|
-
}
|
34
|
-
.avatar{
|
35
|
-
align-self: stretch;
|
36
|
-
background: darken($gray-light, 10);
|
37
|
-
position:relative;
|
38
|
-
img{
|
39
|
-
position:absolute;
|
40
|
-
top:0;
|
41
|
-
left: 0;
|
42
|
-
width: 100%;
|
43
|
-
height: 100%;
|
44
|
-
object-fit: cover;
|
45
|
-
}
|
46
|
-
.fortycon{
|
47
|
-
font-size: 100px;
|
48
|
-
color: white;
|
49
|
-
opacity: 0.7;
|
50
|
-
}
|
51
|
-
.avatar-text{
|
52
|
-
display:block;
|
53
|
-
@include vertical-middle;
|
54
|
-
left: 0;
|
55
|
-
width: 100%;
|
56
|
-
text-align:center;
|
57
|
-
}
|
58
|
-
}
|
59
|
-
@include media($sm){
|
60
|
-
.avatar{
|
61
|
-
margin-bottom: 0.5em;
|
62
|
-
.avatar-container{
|
63
|
-
padding-top: 50%;
|
64
|
-
display:block;
|
65
|
-
}
|
66
|
-
}
|
67
|
-
.name{
|
68
|
-
margin-bottom: 0.5em;
|
69
|
-
}
|
70
|
-
}
|
71
|
-
@include media($md){
|
72
|
-
margin: 0;
|
73
|
-
margin-bottom: -1px;
|
74
|
-
padding: 0;
|
75
|
-
& > * {
|
76
|
-
padding-top: 0.5em;
|
77
|
-
padding-bottom: 0.5em;
|
78
|
-
&.no-gutter{
|
79
|
-
padding: 0;
|
80
|
-
}
|
81
|
-
}
|
82
|
-
.avatar{
|
83
|
-
.fortycon{
|
84
|
-
padding: 0;
|
85
|
-
font-size: 36px;
|
86
|
-
}
|
87
|
-
.avatar-text{
|
88
|
-
padding: 0;
|
89
|
-
}
|
90
|
-
}
|
91
|
-
}
|
92
|
-
}
|
@@ -1,98 +0,0 @@
|
|
1
|
-
select.uniformSelect{
|
2
|
-
display:none;
|
3
|
-
}
|
4
|
-
|
5
|
-
.uniformSelect-edit{
|
6
|
-
@include text-overflow;
|
7
|
-
position:relative;
|
8
|
-
&:after{
|
9
|
-
color:$gray;
|
10
|
-
font-size:1.3em;
|
11
|
-
content:\25bc;
|
12
|
-
@include vertical-middle();
|
13
|
-
right:0.3em;
|
14
|
-
z-index:0;
|
15
|
-
}
|
16
|
-
}
|
17
|
-
|
18
|
-
.uniformSelect-options{
|
19
|
-
@include text-overflow;
|
20
|
-
position: absolute;
|
21
|
-
background: white;
|
22
|
-
z-index: 9999;
|
23
|
-
box-shadow: 0 0 3px 2px rgba(black, 0.2);
|
24
|
-
clip-path: inset(0px -10px -10px -10px);
|
25
|
-
button{
|
26
|
-
appearance: none;
|
27
|
-
outline: none;
|
28
|
-
border: none;
|
29
|
-
background: none;
|
30
|
-
width: 100%;
|
31
|
-
padding: 0.5em;
|
32
|
-
&:hover{
|
33
|
-
background: lighten($blue, 45);
|
34
|
-
}
|
35
|
-
}
|
36
|
-
|
37
|
-
.uniformSelect-options-actions{
|
38
|
-
border-top: 1px solid $gray-light;
|
39
|
-
border-bottom: 1px solid $gray-light;
|
40
|
-
background: $background;
|
41
|
-
padding: 0.5em;
|
42
|
-
}
|
43
|
-
.uniformSelect-show-all {
|
44
|
-
color: $blue;
|
45
|
-
background: none;
|
46
|
-
&:hover{
|
47
|
-
background: none;
|
48
|
-
}
|
49
|
-
}
|
50
|
-
.uniformSelect-done{
|
51
|
-
border-radius: 0.25em;
|
52
|
-
border: 1px solid $gray-light;
|
53
|
-
background: white;
|
54
|
-
}
|
55
|
-
}
|
56
|
-
.uniformSelect-option{
|
57
|
-
position:relative;
|
58
|
-
padding-right: 2.5em !important;
|
59
|
-
cursor: pointer;
|
60
|
-
&.active{
|
61
|
-
box-shadow:none;
|
62
|
-
color: $green-dark;
|
63
|
-
&:after{
|
64
|
-
color: $green;
|
65
|
-
position: absolute;
|
66
|
-
content: \2714;
|
67
|
-
top: 0.2em;
|
68
|
-
right: 0.2em;
|
69
|
-
font-size: 1.5em;
|
70
|
-
|
71
|
-
}
|
72
|
-
}
|
73
|
-
}
|
74
|
-
|
75
|
-
@include media($sm){
|
76
|
-
.uniformSelect-options{
|
77
|
-
top: 0 !important;
|
78
|
-
left: 0 !important;
|
79
|
-
min-height: 100vh;
|
80
|
-
width: 100%;
|
81
|
-
padding: 1em;
|
82
|
-
button{
|
83
|
-
margin-bottom: 0.5em;
|
84
|
-
border: 1px solid lighten($gray, 40);
|
85
|
-
&.uniformSelect-done{
|
86
|
-
margin-bottom: 0;
|
87
|
-
}
|
88
|
-
}
|
89
|
-
.uniformSelect-options-actions{
|
90
|
-
margin: 0 -1em;
|
91
|
-
}
|
92
|
-
}
|
93
|
-
body.uniformModal-hideBody{
|
94
|
-
& > *:not(.uniformSelect-options) {
|
95
|
-
position: fixed;
|
96
|
-
}
|
97
|
-
}
|
98
|
-
}
|
@@ -1,83 +0,0 @@
|
|
1
|
-
.table{
|
2
|
-
display:table;
|
3
|
-
width:100%;
|
4
|
-
& > *,
|
5
|
-
.row > *{
|
6
|
-
display:table-cell;
|
7
|
-
float:none;
|
8
|
-
&.top{
|
9
|
-
vertical-align:top;
|
10
|
-
}
|
11
|
-
&.middle > *{
|
12
|
-
vertical-align:middle;
|
13
|
-
}
|
14
|
-
}
|
15
|
-
.row{
|
16
|
-
display:table-row;
|
17
|
-
}
|
18
|
-
|
19
|
-
@include apply-media-sizes('&.break'){
|
20
|
-
& > *,
|
21
|
-
.row > *{
|
22
|
-
display:block;
|
23
|
-
float:inherit;
|
24
|
-
}
|
25
|
-
.row{
|
26
|
-
display:block;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
}
|
30
|
-
|
31
|
-
.uniformTable{
|
32
|
-
width:100%;
|
33
|
-
.row > *,
|
34
|
-
tr td,
|
35
|
-
th {
|
36
|
-
padding: 0.5em;
|
37
|
-
border-bottom: 1px solid $gray-light;
|
38
|
-
}
|
39
|
-
|
40
|
-
.head > *,
|
41
|
-
thead th{
|
42
|
-
color: lighten($gray, 20);
|
43
|
-
border-bottom: 1px solid darken($gray-light, 20) !important;
|
44
|
-
}
|
45
|
-
|
46
|
-
.head.dark > *,
|
47
|
-
thead.dark th{
|
48
|
-
background: lighten($background, 2);
|
49
|
-
}
|
50
|
-
|
51
|
-
tr.middle > td,
|
52
|
-
td.middle,
|
53
|
-
&.middle > *,
|
54
|
-
.middle{
|
55
|
-
vertical-align:middle;
|
56
|
-
}
|
57
|
-
|
58
|
-
tr.top > td,
|
59
|
-
td.top,
|
60
|
-
&.top > *,
|
61
|
-
.top{
|
62
|
-
vertical-align:top;
|
63
|
-
}
|
64
|
-
|
65
|
-
&.hover{
|
66
|
-
tr:hover td{
|
67
|
-
background: lighten($blue, 50);
|
68
|
-
}
|
69
|
-
}
|
70
|
-
|
71
|
-
.row:last-of-type,
|
72
|
-
tr:last-of-type{
|
73
|
-
td, th{
|
74
|
-
border-bottom: none;
|
75
|
-
}
|
76
|
-
}
|
77
|
-
&.invert{
|
78
|
-
.row > *,
|
79
|
-
td, th{
|
80
|
-
border-bottom-color: lighten($gray, 10);
|
81
|
-
}
|
82
|
-
}
|
83
|
-
}
|
@@ -1,45 +0,0 @@
|
|
1
|
-
.uniformTabs{
|
2
|
-
border-bottom: 1px solid darken($background, 10);
|
3
|
-
white-space: nowrap;
|
4
|
-
a{
|
5
|
-
display:inline-block;
|
6
|
-
margin-bottom: -1px;
|
7
|
-
padding: 0.5em 1em;
|
8
|
-
border-bottom: 2px solid transparent;
|
9
|
-
color: $gray;
|
10
|
-
text-decoration: none;
|
11
|
-
cursor: pointer;
|
12
|
-
&:hover{
|
13
|
-
color: $blue;
|
14
|
-
.uniformLabel.fill{
|
15
|
-
background: $blue ;
|
16
|
-
}
|
17
|
-
}
|
18
|
-
&.active{
|
19
|
-
border-color: $green-dark;
|
20
|
-
color: $green-dark;
|
21
|
-
.uniformLabel.fill{
|
22
|
-
background: $green-dark ;
|
23
|
-
}
|
24
|
-
}
|
25
|
-
}
|
26
|
-
&.center{
|
27
|
-
text-align:center;
|
28
|
-
}
|
29
|
-
&.border-fix{
|
30
|
-
margin-bottom: -1px;
|
31
|
-
}
|
32
|
-
&.invert{
|
33
|
-
border-bottom-color: rgba($background, 0.4);
|
34
|
-
a{
|
35
|
-
color: white;
|
36
|
-
&:hover{
|
37
|
-
color: $blue-light;
|
38
|
-
}
|
39
|
-
&.active{
|
40
|
-
color: $green-light;
|
41
|
-
border-color: $green-light;
|
42
|
-
}
|
43
|
-
}
|
44
|
-
}
|
45
|
-
}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
.uniformTile{
|
2
|
-
// TODO remove extension of row
|
3
|
-
@extend .uniformRow;
|
4
|
-
margin: 0;
|
5
|
-
margin-bottom: -1px;
|
6
|
-
margin-right: -1px;
|
7
|
-
|
8
|
-
padding: 1em !important;
|
9
|
-
|
10
|
-
.avatar{
|
11
|
-
padding: 0;
|
12
|
-
}
|
13
|
-
.avatar-container{
|
14
|
-
display:block;
|
15
|
-
padding-top: 66%;
|
16
|
-
}
|
17
|
-
&.pad-more{
|
18
|
-
padding: 2em !important;
|
19
|
-
}
|
20
|
-
}
|