mui-rails 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/lib/mui-rails.rb +1 -0
- data/lib/mui/rails.rb +8 -0
- data/lib/mui/rails/version.rb +5 -0
- data/mui-rails.gemspec +23 -0
- data/vendor/assets/fonts/ratchicons.eot +0 -0
- data/vendor/assets/fonts/ratchicons.svg +61 -0
- data/vendor/assets/fonts/ratchicons.ttf +0 -0
- data/vendor/assets/fonts/ratchicons.woff +0 -0
- data/vendor/assets/javascripts/ratchet.js +964 -0
- data/vendor/assets/javascripts/ratchet.min.js +10 -0
- data/vendor/assets/stylesheets/ratchet-theme-android.css +622 -0
- data/vendor/assets/stylesheets/ratchet-theme-android.min.css +9 -0
- data/vendor/assets/stylesheets/ratchet-theme-ios.css +470 -0
- data/vendor/assets/stylesheets/ratchet-theme-ios.min.css +9 -0
- data/vendor/assets/stylesheets/ratchet.css +1434 -0
- data/vendor/assets/stylesheets/ratchet.min.css +9 -0
- metadata +93 -0
@@ -0,0 +1,9 @@
|
|
1
|
+
/*!
|
2
|
+
* =====================================================
|
3
|
+
* Ratchet v2.0.2 (http://goratchet.com)
|
4
|
+
* Copyright 2014 Connor Sears
|
5
|
+
* Licensed under MIT (https://github.com/twbs/ratchet/blob/master/LICENSE)
|
6
|
+
*
|
7
|
+
* v2.0.2 designed by @connors.
|
8
|
+
* =====================================================
|
9
|
+
*/body{font-family:Roboto,sans-serif;font-size:18px;line-height:22px;color:#222}a{color:#33b5e5}a:active{color:#1a9bcb}.content{background-color:#f2f2f2}.bar-nav~.content{padding-top:50px}.bar-header-secondary~.content{padding-top:100px}.bar-tab~.content{padding-top:50px;padding-bottom:0}.bar-footer~.content{padding-bottom:50px}.bar-footer-secondary~.content{padding-bottom:100px}.btn{padding:8px 15px;font-size:14px;color:#222;background-color:#cecece;border:0;border-radius:2px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.2),0 1px 1px rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.2),0 1px 1px rgba(0,0,0,.25)}.btn.active,.btn:active{color:#222;background-color:#999;border:0;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.2);box-shadow:inset 0 -1px 0 rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.2)}.btn-primary{color:#fff;background-color:#33b5e5;border:0}.btn-primary.active,.btn-primary:active{color:#fff;background-color:#1a9bcb;border:0}.btn-positive{color:#fff;background-color:#9c0;border:0}.btn-positive.active,.btn-positive:active{color:#fff;background-color:#739900;border:0}.btn-negative{color:#fff;background-color:#f44;border:0}.btn-negative.active,.btn-negative:active{color:#fff;background-color:#f11;border:0}.btn-outlined{background-color:transparent;border:1px solid #999;-webkit-box-shadow:none;box-shadow:none}.btn-outlined.btn-primary{color:#33b5e5;border:1px solid #33b5e5}.btn-outlined.btn-primary:active{background-color:#33b5e5;border:1px solid #33b5e5}.btn-outlined.btn-positive{color:#9c0;border:1px solid #9c0}.btn-outlined.btn-positive:active{background-color:#9c0;border:1px solid #9c0}.btn-outlined.btn-negative{color:#f44;border:1px solid #f44}.btn-outlined.btn-negative:active{background-color:#f44;border:1px solid #f44}.btn-outlined:active{background-color:#999;border:1px solid #999;-webkit-box-shadow:none;box-shadow:none}.btn-outlined.btn-negative:active,.btn-outlined.btn-positive:active,.btn-outlined.btn-primary:active{color:#fff;-webkit-box-shadow:none;box-shadow:none}.btn-link{color:#33b5e5;background-color:transparent;border:none;-webkit-box-shadow:none;box-shadow:none}.btn-link.active,.btn-link:active{color:#1a9bcb;background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-block{padding:15px 0;font-size:18px}.btn .badge{background-color:rgba(0,0,0,.15)}.btn .badge.badge-inverted{background-color:transparent}.btn:active .badge{color:#fff}.bar{height:50px;background-color:#ddd;border-bottom:1px solid #b1b1b1;-webkit-box-shadow:inset 0 -2px 0 #d2d2d2,0 3px 3px rgba(0,0,0,.07);box-shadow:inset 0 -2px 0 #d2d2d2,0 3px 3px rgba(0,0,0,.07)}.bar.bar-header-secondary{top:50px}.bar.bar-footer-secondary,.bar.bar-footer-secondary-tab{bottom:50px}.bar .bar-footer,.bar .bar-footer-secondary,.bar .bar-footer-secondary-tab{border-top:1px solid #b1b1b1;border-bottom:0;-webkit-box-shadow:inset 0 -2px 0 #33b5e5;box-shadow:inset 0 -2px 0 #33b5e5}.bar-tab{top:0;bottom:auto;height:50px;border-top:0}.bar-tab .tab-item{color:#929292}.bar-tab .tab-item.active{color:#33b5e5;-webkit-box-shadow:inset 0 -2px 0 #33b5e5;box-shadow:inset 0 -2px 0 #33b5e5}.bar-tab .tab-item:active{color:#929292;background-color:#78c6e3}.bar-tab .tab-item .icon{top:3px;padding-top:0;padding-bottom:0}.title{position:static;padding-left:15px;font-size:18px;line-height:49px;text-align:left}.bar .btn{top:7px;padding-top:10px;padding-bottom:10px}.bar .btn-link{top:0;padding:0;font-size:18px;line-height:49px;color:#33b5e5}.bar .btn-link.active,.bar .btn-link:active{color:#1a9bcb}.bar .btn-link .icon{top:2px;padding:0}.bar .btn-block{top:4px}.bar .segmented-control{top:7px}.bar .icon{padding-top:13px;padding-bottom:13px}.bar .title .icon{padding:0}.bar .title .icon.icon-caret{top:10px;color:#777}.bar input[type=search]{height:35px}.badge.badge-inverted{color:#999;background-color:transparent}.badge-primary{color:#fff;background-color:#33b5e5}.badge-primary.badge-inverted{color:#33b5e5;background-color:transparent}.badge-positive{color:#fff;background-color:#9c0}.badge-positive.badge-inverted{color:#9c0;background-color:transparent}.badge-negative{color:#fff;background-color:#f44}.badge-negative.badge-inverted{color:#f44;background-color:transparent}.card{background-color:transparent;border-color:#d9d9d9;border-radius:2px}.table-view{background-color:transparent}.table-view .table-view-cell{border-bottom:1px solid #d9d9d9}.table-view .table-view-cell:last-child{background-image:none}.table-view .table-view-cell>a:not(.btn):active{color:inherit;background-color:#e0e0e0}.table-view .table-view-cell>a:not(.btn):active .icon{color:#fff}.table-view .table-view-divider{padding-top:25px;font-size:12px;font-weight:700;text-transform:uppercase;background-color:transparent;border-top:0;border-bottom:2px solid #a9a9a9}.table-view-cell .navigate-left>.badge,.table-view-cell .navigate-left>.btn,.table-view-cell .navigate-left>.toggle,.table-view-cell .navigate-right>.badge,.table-view-cell .navigate-right>.btn,.table-view-cell .navigate-right>.toggle,.table-view-cell .push-left>.badge,.table-view-cell .push-left>.btn,.table-view-cell .push-left>.toggle,.table-view-cell .push-right>.badge,.table-view-cell .push-right>.btn,.table-view-cell .push-right>.toggle,.table-view-cell>a .navigate-left>.badge,.table-view-cell>a .navigate-left>.btn,.table-view-cell>a .navigate-left>.toggle,.table-view-cell>a .navigate-right>.badge,.table-view-cell>a .navigate-right>.btn,.table-view-cell>a .navigate-right>.toggle,.table-view-cell>a .push-left>.badge,.table-view-cell>a .push-left>.btn,.table-view-cell>a .push-left>.toggle,.table-view-cell>a .push-right>.badge,.table-view-cell>a .push-right>.btn,.table-view-cell>a .push-right>.toggle{right:15px}.input-group,input[type=color],input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],select,textarea{height:40px;padding:10px 15px;border:1px solid rgba(0,0,0,.2);-webkit-box-shadow:0 1px 1px rgba(0,0,0,.1);box-shadow:0 1px 1px rgba(0,0,0,.1)}input[type=search]{border-radius:2px}.input-group,select,textarea{height:auto}.input-group{padding:0;border:0}.input-group input{border:0;border-bottom:1px solid #d9d9d9;-webkit-box-shadow:none;box-shadow:none}.input-group input:last-child{background-image:none}.input-row{height:40px;border-bottom:1px solid #d9d9d9}.input-row label{padding-top:10px;padding-bottom:10px}.input-row label+input{background-image:none;border-bottom:0}.segmented-control{font-size:14px;background-color:#cecece;border:0;border-radius:2px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.25);box-shadow:0 1px 1px rgba(0,0,0,.25)}.segmented-control .control-item{padding-top:10px;padding-bottom:10px;color:#222;border-left:1px solid #999;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.2);box-shadow:inset 0 -1px 0 rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.2)}.segmented-control .control-item:first-child{border-left-width:0}.segmented-control .control-item.active,.segmented-control .control-item:active{background-color:#999}.segmented-control-primary{border:0}.segmented-control-primary .control-item{color:#fff;border-color:inherit}.segmented-control-primary .control-item.active,.segmented-control-primary .control-item:active{color:#fff;background-color:#33b5e5}.segmented-control-positive{border:0}.segmented-control-positive .control-item{color:#fff;border-color:inherit}.segmented-control-positive .control-item.active,.segmented-control-positive .control-item:active{color:#fff;background-color:#9c0}.segmented-control-negative{border:0}.segmented-control-negative .control-item{color:#fff;border-color:inherit}.segmented-control-negative .control-item.active,.segmented-control-negative .control-item:active{color:#fff;background-color:#f44}.popover{top:47px;left:15px;width:200px;margin-left:0;border:1px solid #9b9b9b;border-radius:0;-webkit-box-shadow:0 0 3px rgba(0,0,0,.2);box-shadow:0 0 3px rgba(0,0,0,.2);-webkit-transition:-webkit-transform .1s ease-in-out,opacity .2s ease-in-out;-moz-transition:-moz-transform .1s ease-in-out,opacity .2s ease-in-out;transition:transform .1s ease-in-out,opacity .2s ease-in-out;-webkit-transform:scale(.75);-ms-transform:scale(.75);transform:scale(.75)}.popover:before{display:none}.popover.visible{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.backdrop{background-color:transparent}.popover .bar{border-radius:0}.popover .bar-nav~.table-view{padding-top:50px}.popover .table-view{border-radius:12px}.toggle{width:104px;height:28px;background-color:#d7d7d7;border:2px solid #d7d7d7;border-radius:0}.toggle .toggle-handle{top:0;left:0;width:50px;height:24px;background-color:#bebebe;border:1px solid #b5b5b5;border-radius:2px;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.3),inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.3),inset 0 -1px 0 rgba(0,0,0,.1)}.toggle:before{top:1px;right:auto;left:11px;z-index:3;color:#fff}.toggle.active{background-color:#d7d7d7;border:2px solid #d7d7d7}.toggle.active .toggle-handle{margin-right:2px;background-color:#33b5e5;border-color:#33b5e5;-webkit-transform:translate3d(50px,0,0);-ms-transform:translate3d(50px,0,0);transform:translate3d(50px,0,0)}.toggle.active:before{right:14px;left:auto;color:#fff}.navigate-left:after,.navigate-right:after,.push-left:after,.push-right:after{content:''}.icon-caret:before{content:'\e800'}.icon-down-nav:before,.icon-down:before{content:'\e801'}.icon-download:before{content:'\e802'}.icon-left-nav:before,.icon-left:before{content:'\e803'}.icon-more-vertical:before{content:'\e804'}.icon-more:before{content:'\e805'}.icon-right-nav:before,.icon-right:before{content:'\e806'}.icon-search:before{content:'\e807'}.icon-share:before{content:'\e808'}.icon-up-nav:before,.icon-up:before{content:'\e809'}
|
@@ -0,0 +1,470 @@
|
|
1
|
+
/*!
|
2
|
+
* =====================================================
|
3
|
+
* Ratchet v2.0.2 (http://goratchet.com)
|
4
|
+
* Copyright 2014 Connor Sears
|
5
|
+
* Licensed under MIT (https://github.com/twbs/ratchet/blob/master/LICENSE)
|
6
|
+
*
|
7
|
+
* v2.0.2 designed by @connors.
|
8
|
+
* =====================================================
|
9
|
+
*/
|
10
|
+
|
11
|
+
a {
|
12
|
+
color: #007aff;
|
13
|
+
}
|
14
|
+
a:active {
|
15
|
+
color: #0062cc;
|
16
|
+
}
|
17
|
+
|
18
|
+
.content {
|
19
|
+
background-color: #efeff4;
|
20
|
+
}
|
21
|
+
|
22
|
+
.h5, h5,
|
23
|
+
.h6, h6,
|
24
|
+
p {
|
25
|
+
color: #8f8f94;
|
26
|
+
}
|
27
|
+
|
28
|
+
.h5, h5,
|
29
|
+
.h6, h6 {
|
30
|
+
font-weight: normal;
|
31
|
+
text-transform: uppercase;
|
32
|
+
}
|
33
|
+
|
34
|
+
.btn {
|
35
|
+
color: #929292;
|
36
|
+
background-color: rgba(247, 247, 247, .98);
|
37
|
+
border: 1px solid #929292;
|
38
|
+
-webkit-transition: all;
|
39
|
+
-moz-transition: all;
|
40
|
+
transition: all;
|
41
|
+
-webkit-transition-timing-function: linear;
|
42
|
+
-moz-transition-timing-function: linear;
|
43
|
+
transition-timing-function: linear;
|
44
|
+
-webkit-transition-duration: .2s;
|
45
|
+
-moz-transition-duration: .2s;
|
46
|
+
transition-duration: .2s;
|
47
|
+
}
|
48
|
+
.btn:active, .btn.active {
|
49
|
+
color: #fff;
|
50
|
+
background-color: #929292;
|
51
|
+
}
|
52
|
+
|
53
|
+
.btn-primary {
|
54
|
+
color: #fff;
|
55
|
+
background-color: #007aff;
|
56
|
+
border: 1px solid #007aff;
|
57
|
+
}
|
58
|
+
.btn-primary:active, .btn-primary.active {
|
59
|
+
background-color: #0062cc;
|
60
|
+
border: 1px solid #0062cc;
|
61
|
+
}
|
62
|
+
|
63
|
+
.btn-positive {
|
64
|
+
color: #fff;
|
65
|
+
background-color: #4cd964;
|
66
|
+
border: 1px solid #4cd964;
|
67
|
+
}
|
68
|
+
.btn-positive:active, .btn-positive.active {
|
69
|
+
background-color: #2ac845;
|
70
|
+
border: 1px solid #2ac845;
|
71
|
+
}
|
72
|
+
|
73
|
+
.btn-negative {
|
74
|
+
color: #fff;
|
75
|
+
background-color: #dd524d;
|
76
|
+
border: 1px solid #dd524d;
|
77
|
+
}
|
78
|
+
.btn-negative:active, .btn-negative.active {
|
79
|
+
background-color: #cf2d28;
|
80
|
+
border: 1px solid #cf2d28;
|
81
|
+
}
|
82
|
+
|
83
|
+
.btn-outlined {
|
84
|
+
background-color: transparent;
|
85
|
+
}
|
86
|
+
.btn-outlined.btn-primary {
|
87
|
+
color: #007aff;
|
88
|
+
}
|
89
|
+
.btn-outlined.btn-positive {
|
90
|
+
color: #4cd964;
|
91
|
+
}
|
92
|
+
.btn-outlined.btn-negative {
|
93
|
+
color: #dd524d;
|
94
|
+
}
|
95
|
+
.btn-outlined.btn-primary:active, .btn-outlined.btn-positive:active, .btn-outlined.btn-negative:active {
|
96
|
+
color: #fff;
|
97
|
+
}
|
98
|
+
|
99
|
+
.btn-link {
|
100
|
+
color: #007aff;
|
101
|
+
background-color: transparent;
|
102
|
+
border: none;
|
103
|
+
}
|
104
|
+
.btn-link:active, .btn-link.active {
|
105
|
+
color: #0062cc;
|
106
|
+
background-color: transparent;
|
107
|
+
}
|
108
|
+
|
109
|
+
.btn .badge {
|
110
|
+
background-color: rgba(0, 0, 0, .15);
|
111
|
+
}
|
112
|
+
.btn .badge.badge-inverted {
|
113
|
+
background-color: transparent;
|
114
|
+
}
|
115
|
+
.btn:active .badge {
|
116
|
+
color: #fff;
|
117
|
+
}
|
118
|
+
|
119
|
+
.bar {
|
120
|
+
background-color: rgba(247, 247, 247, .98);
|
121
|
+
border-bottom: 0;
|
122
|
+
-webkit-box-shadow: 0 0 1px rgba(0, 0, 0, .85);
|
123
|
+
box-shadow: 0 0 1px rgba(0, 0, 0, .85);
|
124
|
+
}
|
125
|
+
.bar.bar-header-secondary {
|
126
|
+
top: 44px;
|
127
|
+
}
|
128
|
+
.bar.bar-footer-secondary {
|
129
|
+
bottom: 44px;
|
130
|
+
}
|
131
|
+
.bar.bar-footer-secondary-tab {
|
132
|
+
bottom: 50px;
|
133
|
+
}
|
134
|
+
.bar.bar-footer, .bar.bar-footer-secondary, .bar.bar-footer-secondary-tab {
|
135
|
+
border-top: 0;
|
136
|
+
}
|
137
|
+
|
138
|
+
.bar-tab {
|
139
|
+
border-top: 0;
|
140
|
+
}
|
141
|
+
|
142
|
+
.tab-item {
|
143
|
+
color: #929292;
|
144
|
+
}
|
145
|
+
.tab-item.active, .tab-item:active {
|
146
|
+
color: #007aff;
|
147
|
+
}
|
148
|
+
|
149
|
+
.bar-nav .btn-link {
|
150
|
+
color: #007aff;
|
151
|
+
}
|
152
|
+
.bar-nav .btn-link:active {
|
153
|
+
color: #007aff;
|
154
|
+
opacity: .6;
|
155
|
+
}
|
156
|
+
|
157
|
+
.badge.badge-inverted {
|
158
|
+
color: #929292;
|
159
|
+
background-color: transparent;
|
160
|
+
}
|
161
|
+
|
162
|
+
.badge-primary {
|
163
|
+
color: #fff;
|
164
|
+
background-color: #007aff;
|
165
|
+
}
|
166
|
+
.badge-primary.badge-inverted {
|
167
|
+
color: #007aff;
|
168
|
+
background-color: transparent;
|
169
|
+
}
|
170
|
+
|
171
|
+
.badge-positive {
|
172
|
+
color: #fff;
|
173
|
+
background-color: #4cd964;
|
174
|
+
}
|
175
|
+
.badge-positive.badge-inverted {
|
176
|
+
color: #4cd964;
|
177
|
+
background-color: transparent;
|
178
|
+
}
|
179
|
+
|
180
|
+
.badge-negative {
|
181
|
+
color: #fff;
|
182
|
+
background-color: #dd524d;
|
183
|
+
}
|
184
|
+
.badge-negative.badge-inverted {
|
185
|
+
color: #dd524d;
|
186
|
+
background-color: transparent;
|
187
|
+
}
|
188
|
+
|
189
|
+
.card .table-view {
|
190
|
+
background-image: none;
|
191
|
+
}
|
192
|
+
|
193
|
+
.card .table-view-cell:last-child {
|
194
|
+
background-image: none;
|
195
|
+
}
|
196
|
+
|
197
|
+
.table-view {
|
198
|
+
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>"), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>");
|
199
|
+
background-repeat: no-repeat;
|
200
|
+
background-position: 0 100%, 0 0;
|
201
|
+
border-top: 0;
|
202
|
+
border-bottom: 0;
|
203
|
+
}
|
204
|
+
.table-view .table-view-cell {
|
205
|
+
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>");
|
206
|
+
background-repeat: no-repeat;
|
207
|
+
background-position: 15px 100%;
|
208
|
+
border-bottom: 0;
|
209
|
+
}
|
210
|
+
.table-view .table-view-cell:last-child {
|
211
|
+
background-image: none;
|
212
|
+
}
|
213
|
+
.table-view .table-view-cell > a:not(.btn):active {
|
214
|
+
color: inherit;
|
215
|
+
}
|
216
|
+
.table-view .table-view-divider {
|
217
|
+
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>"), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>");
|
218
|
+
background-repeat: no-repeat;
|
219
|
+
background-position: 0 100%, 0 0;
|
220
|
+
border-top: 0;
|
221
|
+
border-bottom: 0;
|
222
|
+
}
|
223
|
+
|
224
|
+
select,
|
225
|
+
textarea,
|
226
|
+
input[type="text"],
|
227
|
+
input[type="search"],
|
228
|
+
input[type="password"],
|
229
|
+
input[type="datetime"],
|
230
|
+
input[type="datetime-local"],
|
231
|
+
input[type="date"],
|
232
|
+
input[type="month"],
|
233
|
+
input[type="time"],
|
234
|
+
input[type="week"],
|
235
|
+
input[type="number"],
|
236
|
+
input[type="email"],
|
237
|
+
input[type="url"],
|
238
|
+
input[type="tel"],
|
239
|
+
input[type="color"],
|
240
|
+
.input-group {
|
241
|
+
height: 40px;
|
242
|
+
padding: 10px 15px;
|
243
|
+
border: 1px solid rgba(0, 0, 0, .2);
|
244
|
+
}
|
245
|
+
|
246
|
+
input[type="search"] {
|
247
|
+
height: 34px;
|
248
|
+
text-align: center;
|
249
|
+
background-color: rgba(0, 0, 0, .1);
|
250
|
+
border: 0;
|
251
|
+
border-radius: 6px;
|
252
|
+
}
|
253
|
+
|
254
|
+
input[type="search"]:focus {
|
255
|
+
text-align: left;
|
256
|
+
}
|
257
|
+
|
258
|
+
select,
|
259
|
+
textarea,
|
260
|
+
.input-group {
|
261
|
+
height: auto;
|
262
|
+
}
|
263
|
+
|
264
|
+
.input-group {
|
265
|
+
padding: 0;
|
266
|
+
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>"), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>");
|
267
|
+
background-repeat: no-repeat;
|
268
|
+
background-position: 0 100%, 0 0;
|
269
|
+
border: 0;
|
270
|
+
}
|
271
|
+
|
272
|
+
.input-group input {
|
273
|
+
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>");
|
274
|
+
background-repeat: no-repeat;
|
275
|
+
background-position: 15px 100%;
|
276
|
+
border: 0;
|
277
|
+
}
|
278
|
+
|
279
|
+
.input-group input:last-child {
|
280
|
+
background-image: none;
|
281
|
+
}
|
282
|
+
|
283
|
+
.input-row {
|
284
|
+
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>");
|
285
|
+
background-repeat: no-repeat;
|
286
|
+
background-position: 15px 100%;
|
287
|
+
border-bottom: 0;
|
288
|
+
}
|
289
|
+
|
290
|
+
.input-row:last-child,
|
291
|
+
.input-row label + input {
|
292
|
+
background-image: none;
|
293
|
+
}
|
294
|
+
|
295
|
+
.segmented-control {
|
296
|
+
background-color: transparent;
|
297
|
+
border: 1px solid #929292;
|
298
|
+
}
|
299
|
+
.segmented-control .control-item {
|
300
|
+
color: #929292;
|
301
|
+
border-color: #929292;
|
302
|
+
-webkit-transition: background-color .1s linear;
|
303
|
+
-moz-transition: background-color .1s linear;
|
304
|
+
transition: background-color .1s linear;
|
305
|
+
}
|
306
|
+
.segmented-control .control-item:active {
|
307
|
+
background-color: #ebebeb;
|
308
|
+
}
|
309
|
+
.segmented-control .control-item.active {
|
310
|
+
color: #fff;
|
311
|
+
background-color: #929292;
|
312
|
+
}
|
313
|
+
|
314
|
+
.segmented-control-primary {
|
315
|
+
border: 1px solid #007aff;
|
316
|
+
}
|
317
|
+
.segmented-control-primary .control-item {
|
318
|
+
color: #007aff;
|
319
|
+
border-color: inherit;
|
320
|
+
}
|
321
|
+
.segmented-control-primary .control-item:active {
|
322
|
+
background-color: #b3d7ff;
|
323
|
+
}
|
324
|
+
.segmented-control-primary .control-item.active {
|
325
|
+
color: #fff;
|
326
|
+
background-color: #007aff;
|
327
|
+
}
|
328
|
+
|
329
|
+
.segmented-control-positive {
|
330
|
+
border: 1px solid #4cd964;
|
331
|
+
}
|
332
|
+
.segmented-control-positive .control-item {
|
333
|
+
color: #4cd964;
|
334
|
+
border-color: inherit;
|
335
|
+
}
|
336
|
+
.segmented-control-positive .control-item:active {
|
337
|
+
background-color: #dff8e3;
|
338
|
+
}
|
339
|
+
.segmented-control-positive .control-item.active {
|
340
|
+
color: #fff;
|
341
|
+
background-color: #4cd964;
|
342
|
+
}
|
343
|
+
|
344
|
+
.segmented-control-negative {
|
345
|
+
border: 1px solid #dd524d;
|
346
|
+
}
|
347
|
+
.segmented-control-negative .control-item {
|
348
|
+
color: #dd524d;
|
349
|
+
border-color: inherit;
|
350
|
+
}
|
351
|
+
.segmented-control-negative .control-item:active {
|
352
|
+
background-color: #fae4e3;
|
353
|
+
}
|
354
|
+
.segmented-control-negative .control-item.active {
|
355
|
+
color: #fff;
|
356
|
+
background-color: #dd524d;
|
357
|
+
}
|
358
|
+
|
359
|
+
.popover {
|
360
|
+
border-radius: 12px;
|
361
|
+
-webkit-transition: -webkit-transform .2s ease-in-out, opacity .2s ease-in-out;
|
362
|
+
-moz-transition: -webkit-transform .2s ease-in-out, opacity .2s ease-in-out;
|
363
|
+
transition: -webkit-transform .2s ease-in-out, opacity .2s ease-in-out;
|
364
|
+
}
|
365
|
+
.popover:before {
|
366
|
+
border-bottom: 15px solid rgba(247, 247, 247, .98);
|
367
|
+
}
|
368
|
+
|
369
|
+
.popover .bar {
|
370
|
+
-webkit-box-shadow: none;
|
371
|
+
box-shadow: none;
|
372
|
+
}
|
373
|
+
|
374
|
+
.popover .bar-nav {
|
375
|
+
border-bottom: 1px solid rgba(0, 0, 0, .15);
|
376
|
+
}
|
377
|
+
|
378
|
+
.popover .table-view {
|
379
|
+
background-image: none;
|
380
|
+
border-radius: 12px;
|
381
|
+
}
|
382
|
+
|
383
|
+
.modal {
|
384
|
+
-webkit-transition-timing-function: cubic-bezier(.1, .5, .1, 1);
|
385
|
+
-moz-transition-timing-function: cubic-bezier(.1, .5, .1, 1);
|
386
|
+
transition-timing-function: cubic-bezier(.1, .5, .1, 1);
|
387
|
+
}
|
388
|
+
.modal.active {
|
389
|
+
-webkit-transition-timing-function: cubic-bezier(.1, .5, .1, 1);
|
390
|
+
-moz-transition-timing-function: cubic-bezier(.1, .5, .1, 1);
|
391
|
+
transition-timing-function: cubic-bezier(.1, .5, .1, 1);
|
392
|
+
}
|
393
|
+
|
394
|
+
.toggle {
|
395
|
+
width: 47px;
|
396
|
+
border: 2px solid #e6e6e6;
|
397
|
+
-webkit-box-shadow: inset 0 0 0 0 #e1e1e1;
|
398
|
+
box-shadow: inset 0 0 0 0 #e1e1e1;
|
399
|
+
-webkit-transition-duration: .2s;
|
400
|
+
-moz-transition-duration: .2s;
|
401
|
+
transition-duration: .2s;
|
402
|
+
-webkit-transition-property: box-shadow, border;
|
403
|
+
-moz-transition-property: box-shadow, border;
|
404
|
+
transition-property: box-shadow, border;
|
405
|
+
}
|
406
|
+
.toggle .toggle-handle {
|
407
|
+
border: 1px solid rgba(0, 0, 0, .2);
|
408
|
+
-webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, .08);
|
409
|
+
box-shadow: 0 3px 3px rgba(0, 0, 0, .08);
|
410
|
+
-webkit-transition-property: -webkit-transform, border, width;
|
411
|
+
-moz-transition-property: -moz-transform, border, width;
|
412
|
+
transition-property: transform, border, width;
|
413
|
+
}
|
414
|
+
.toggle:before {
|
415
|
+
display: none;
|
416
|
+
}
|
417
|
+
.toggle.active {
|
418
|
+
background-color: transparent;
|
419
|
+
border: 2px solid #4cd964;
|
420
|
+
-webkit-box-shadow: inset 0 0 0 13px #4cd964;
|
421
|
+
box-shadow: inset 0 0 0 13px #4cd964;
|
422
|
+
}
|
423
|
+
.toggle.active .toggle-handle {
|
424
|
+
-webkit-transform: translate3d(17px, 0, 0);
|
425
|
+
-ms-transform: translate3d(17px, 0, 0);
|
426
|
+
transform: translate3d(17px, 0, 0);
|
427
|
+
}
|
428
|
+
.toggle.active .toggle-handle {
|
429
|
+
border-color: #4cd964;
|
430
|
+
}
|
431
|
+
|
432
|
+
.content.fade {
|
433
|
+
-webkit-transition: opacity .2s ease-in-out;
|
434
|
+
-moz-transition: opacity .2s ease-in-out;
|
435
|
+
transition: opacity .2s ease-in-out;
|
436
|
+
}
|
437
|
+
.content.sliding {
|
438
|
+
-webkit-transition-timing-function: cubic-bezier(.1, .5, .1, 1);
|
439
|
+
-moz-transition-timing-function: cubic-bezier(.1, .5, .1, 1);
|
440
|
+
transition-timing-function: cubic-bezier(.1, .5, .1, 1);
|
441
|
+
}
|
442
|
+
.content.sliding.sliding-in, .content.sliding.right:not([class*="sliding-in"]) {
|
443
|
+
-webkit-animation-name: fadeOverlay;
|
444
|
+
-moz-animation-name: fadeOverlay;
|
445
|
+
animation-name: fadeOverlay;
|
446
|
+
-webkit-animation-duration: .4s;
|
447
|
+
-moz-animation-duration: .4s;
|
448
|
+
animation-duration: .4s;
|
449
|
+
}
|
450
|
+
.content.sliding.right:not([class*="sliding-in"]) {
|
451
|
+
-webkit-animation-direction: reverse;
|
452
|
+
-moz-animation-direction: reverse;
|
453
|
+
animation-direction: reverse;
|
454
|
+
}
|
455
|
+
.content.sliding.left {
|
456
|
+
-webkit-transform: translate3d(-20%, 0, 0);
|
457
|
+
-ms-transform: translate3d(-20%, 0, 0);
|
458
|
+
transform: translate3d(-20%, 0, 0);
|
459
|
+
}
|
460
|
+
|
461
|
+
@-webkit-keyframes fadeOverlay {
|
462
|
+
from {
|
463
|
+
-webkit-box-shadow: 0 0 10px transparent, -320px 0 0 transparent;
|
464
|
+
box-shadow: 0 0 10px transparent, -320px 0 0 transparent;
|
465
|
+
}
|
466
|
+
to {
|
467
|
+
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .3), -320px 0 0 rgba(0, 0, 0, .1);
|
468
|
+
box-shadow: 0 0 10px rgba(0, 0, 0, .3), -320px 0 0 rgba(0, 0, 0, .1);
|
469
|
+
}
|
470
|
+
}
|