paint-rails 0.6.7 → 0.7.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/lib/paint-rails/version.rb +1 -1
- data/paint-rails.gemspec +2 -2
- data/vendor/assets/stylesheets/Brocfile.js +3 -0
- data/vendor/assets/stylesheets/Gemfile +3 -0
- data/vendor/assets/stylesheets/Gemfile.lock +14 -0
- data/vendor/assets/stylesheets/bin/ci +6 -0
- data/vendor/assets/stylesheets/bin/lint +5 -0
- data/vendor/assets/stylesheets/bin/setup +7 -0
- data/vendor/assets/stylesheets/bower_components/fontawesome/.bower.json +5 -5
- data/vendor/assets/stylesheets/bower_components/fontawesome/.gitignore +1 -0
- data/vendor/assets/stylesheets/bower_components/fontawesome/bower.json +1 -1
- data/vendor/assets/stylesheets/bower_components/fontawesome/css/font-awesome.css +133 -4
- data/vendor/assets/stylesheets/bower_components/fontawesome/css/font-awesome.css.map +7 -0
- data/vendor/assets/stylesheets/bower_components/fontawesome/css/font-awesome.min.css +2 -2
- data/vendor/assets/stylesheets/bower_components/fontawesome/fonts/FontAwesome.otf +0 -0
- data/vendor/assets/stylesheets/bower_components/fontawesome/fonts/fontawesome-webfont.eot +0 -0
- data/vendor/assets/stylesheets/bower_components/fontawesome/fonts/fontawesome-webfont.svg +53 -8
- data/vendor/assets/stylesheets/bower_components/fontawesome/fonts/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/stylesheets/bower_components/fontawesome/fonts/fontawesome-webfont.woff +0 -0
- data/vendor/assets/stylesheets/bower_components/fontawesome/fonts/fontawesome-webfont.woff2 +0 -0
- data/vendor/assets/stylesheets/bower_components/fontawesome/less/{spinning.less → animated.less} +6 -1
- data/vendor/assets/stylesheets/bower_components/fontawesome/less/core.less +3 -1
- data/vendor/assets/stylesheets/bower_components/fontawesome/less/font-awesome.less +2 -2
- data/vendor/assets/stylesheets/bower_components/fontawesome/less/icons.less +45 -1
- data/vendor/assets/stylesheets/bower_components/fontawesome/less/mixins.less +3 -1
- data/vendor/assets/stylesheets/bower_components/fontawesome/less/path.less +1 -0
- data/vendor/assets/stylesheets/bower_components/fontawesome/less/variables.less +47 -2
- data/vendor/assets/stylesheets/bower_components/fontawesome/scss/{_spinning.scss → _animated.scss} +5 -0
- data/vendor/assets/stylesheets/bower_components/fontawesome/scss/_core.scss +3 -1
- data/vendor/assets/stylesheets/bower_components/fontawesome/scss/_icons.scss +45 -1
- data/vendor/assets/stylesheets/bower_components/fontawesome/scss/_mixins.scss +3 -1
- data/vendor/assets/stylesheets/bower_components/fontawesome/scss/_path.scss +2 -1
- data/vendor/assets/stylesheets/bower_components/fontawesome/scss/_variables.scss +47 -2
- data/vendor/assets/stylesheets/bower_components/fontawesome/scss/font-awesome.scss +2 -2
- data/vendor/assets/stylesheets/bower_components/foundation/.bower.json +5 -5
- data/vendor/assets/stylesheets/bower_components/foundation/bower.json +1 -1
- data/vendor/assets/stylesheets/bower_components/foundation/css/foundation.css +1855 -1667
- data/vendor/assets/stylesheets/bower_components/foundation/css/foundation.css.map +7 -0
- data/vendor/assets/stylesheets/bower_components/foundation/css/foundation.min.css +1 -0
- data/vendor/assets/stylesheets/bower_components/foundation/css/normalize.css +11 -12
- data/vendor/assets/stylesheets/bower_components/foundation/css/normalize.css.map +7 -0
- data/vendor/assets/stylesheets/bower_components/foundation/css/normalize.min.css +1 -0
- data/vendor/assets/stylesheets/bower_components/foundation/js/foundation/foundation.abide.js +156 -62
- data/vendor/assets/stylesheets/bower_components/foundation/js/foundation/foundation.accordion.js +35 -13
- data/vendor/assets/stylesheets/bower_components/foundation/js/foundation/foundation.alert.js +8 -8
- data/vendor/assets/stylesheets/bower_components/foundation/js/foundation/foundation.clearing.js +93 -65
- data/vendor/assets/stylesheets/bower_components/foundation/js/foundation/foundation.dropdown.js +203 -66
- data/vendor/assets/stylesheets/bower_components/foundation/js/foundation/foundation.equalizer.js +57 -27
- data/vendor/assets/stylesheets/bower_components/foundation/js/foundation/foundation.interchange.js +61 -46
- data/vendor/assets/stylesheets/bower_components/foundation/js/foundation/foundation.joyride.js +93 -78
- data/vendor/assets/stylesheets/bower_components/foundation/js/foundation/foundation.js +177 -77
- data/vendor/assets/stylesheets/bower_components/foundation/js/foundation/foundation.magellan.js +81 -55
- data/vendor/assets/stylesheets/bower_components/foundation/js/foundation/foundation.offcanvas.js +28 -28
- data/vendor/assets/stylesheets/bower_components/foundation/js/foundation/foundation.orbit.js +135 -131
- data/vendor/assets/stylesheets/bower_components/foundation/js/foundation/foundation.reveal.js +119 -65
- data/vendor/assets/stylesheets/bower_components/foundation/js/foundation/foundation.slider.js +113 -71
- data/vendor/assets/stylesheets/bower_components/foundation/js/foundation/foundation.tab.js +67 -35
- data/vendor/assets/stylesheets/bower_components/foundation/js/foundation/foundation.tooltip.js +76 -37
- data/vendor/assets/stylesheets/bower_components/foundation/js/foundation/foundation.topbar.js +71 -58
- data/vendor/assets/stylesheets/bower_components/foundation/js/foundation.js +1570 -919
- data/vendor/assets/stylesheets/bower_components/foundation/js/foundation.min.js +5 -4
- data/vendor/assets/stylesheets/bower_components/foundation/js/vendor/fastclick.js +8 -9
- data/vendor/assets/stylesheets/bower_components/foundation/js/vendor/jquery.js +10 -9
- data/vendor/assets/stylesheets/bower_components/foundation/js/vendor/modernizr.js +1 -1
- data/vendor/assets/stylesheets/bower_components/foundation/js/vendor/placeholder.js +2 -2
- data/vendor/assets/stylesheets/bower_components/foundation/package.json +53 -0
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/_functions.scss +76 -22
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/_settings.scss +152 -107
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_accordion.scss +8 -8
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_alert-boxes.scss +12 -12
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_block-grid.scss +14 -13
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_breadcrumbs.scss +18 -19
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_button-groups.scss +35 -25
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_buttons.scss +16 -19
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_clearing.scss +60 -47
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_dropdown-buttons.scss +15 -15
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_dropdown.scss +42 -36
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_flex-video.scss +7 -7
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_forms.scss +103 -79
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_global.scss +95 -53
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_grid.scss +42 -25
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_icon-bar.scss +371 -204
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_inline-lists.scss +8 -8
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_joyride.scss +40 -42
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_keystrokes.scss +2 -3
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_labels.scss +7 -7
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_magellan.scss +2 -2
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_offcanvas.scss +184 -179
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_orbit.scss +90 -70
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_pagination.scss +15 -15
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_panels.scss +27 -15
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_pricing-tables.scss +16 -16
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_progress-bars.scss +4 -4
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_range-slider.scss +28 -19
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_reveal.scss +37 -50
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_side-nav.scss +15 -11
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_split-buttons.scss +26 -14
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_sub-nav.scss +14 -12
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_switches.scss +32 -21
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_tables.scss +8 -8
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_tabs.scss +50 -31
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_thumbs.scss +8 -8
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_tooltips.scss +25 -25
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_top-bar.scss +197 -145
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_type.scss +20 -81
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_visibility.scss +99 -15
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation.scss +37 -38
- data/vendor/assets/stylesheets/bower_components/foundation/scss/normalize.scss +8 -11
- data/vendor/assets/stylesheets/bower_components/jquery/.bower.json +5 -4
- data/vendor/assets/stylesheets/bower_components/jquery/bower.json +2 -1
- data/vendor/assets/stylesheets/bower_components/jquery/dist/jquery.js +9 -4
- data/vendor/assets/stylesheets/bower_components/jquery/dist/jquery.min.js +4 -4
- data/vendor/assets/stylesheets/bower_components/jquery/dist/jquery.min.map +1 -1
- data/vendor/assets/stylesheets/bower_components/jquery/src/core.js +6 -1
- data/vendor/assets/stylesheets/circle.yml +17 -0
- data/vendor/assets/stylesheets/components/_button.scss +120 -21
- data/vendor/assets/stylesheets/components/_dropdown.scss +316 -14
- data/vendor/assets/stylesheets/components/_flip-panel.scss +191 -0
- data/vendor/assets/stylesheets/components/_form.scss +346 -0
- data/vendor/assets/stylesheets/components/_layout.scss +261 -121
- data/vendor/assets/stylesheets/components/_panel.scss +91 -0
- data/vendor/assets/stylesheets/components/_quick-jump.scss +267 -0
- data/vendor/assets/stylesheets/components/_side-panel.scss +154 -0
- data/vendor/assets/stylesheets/components/_table.scss +105 -0
- data/vendor/assets/stylesheets/components/_typography.scss +34 -3
- data/vendor/assets/stylesheets/components/_vertical-align.scss +9 -0
- data/vendor/assets/stylesheets/globals/_functions.scss +69 -0
- data/vendor/assets/stylesheets/globals/_mixins.scss +23 -1
- data/vendor/assets/stylesheets/globals/_settings.scss +35 -36
- data/vendor/assets/stylesheets/paint.scss +22 -14
- metadata +29 -8
- data/vendor/assets/stylesheets/bower_components/fontawesome/less/extras.less +0 -2
- data/vendor/assets/stylesheets/bower_components/fontawesome/scss/_extras.scss +0 -44
- data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_toolbar.scss +0 -70
data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_switches.scss
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
// foundation.zurb.com
|
3
3
|
// Licensed under MIT Open Source
|
4
4
|
|
5
|
-
@import
|
5
|
+
@import 'global';
|
6
6
|
|
7
7
|
//
|
8
8
|
// @name
|
@@ -44,24 +44,26 @@ $switch-active-color: $primary-color !default;
|
|
44
44
|
$transition-speed:$switch-paddle-transition-speed,
|
45
45
|
$transition-ease:$switch-paddle-transition-ease) {
|
46
46
|
|
47
|
-
padding: 0;
|
48
47
|
border: none;
|
49
|
-
|
48
|
+
margin-bottom: $switch-bottom-margin;
|
50
49
|
outline: 0;
|
50
|
+
padding: 0;
|
51
|
+
position: relative;
|
51
52
|
-webkit-user-select: none;
|
52
|
-
|
53
|
-
|
53
|
+
-moz-user-select: none;
|
54
|
+
-ms-user-select: none;
|
55
|
+
user-select: none;
|
54
56
|
|
55
57
|
// Default label styles for type and transition
|
56
58
|
label {
|
59
|
+
background: $switch-bg;
|
60
|
+
color: transparent;
|
61
|
+
cursor: pointer;
|
57
62
|
display: block;
|
58
|
-
margin-bottom: $switch-height-med / 2;
|
63
|
+
margin-bottom: ($switch-height-med / 2);
|
59
64
|
position: relative;
|
60
|
-
color: transparent;
|
61
|
-
background: $switch-bg;
|
62
65
|
text-indent: 100%;
|
63
66
|
width: $switch-height-med * 2; height: $switch-height-med;
|
64
|
-
cursor: pointer;
|
65
67
|
|
66
68
|
// Transition for the switch label to follow paddle
|
67
69
|
@include single-transition(left, $transition-speed, $transition-ease);
|
@@ -70,11 +72,11 @@ $switch-active-color: $primary-color !default;
|
|
70
72
|
// So that we don't need to recreate the form with any JS, we use the
|
71
73
|
// existing checkbox or radio button, but we cleverly position and hide it.
|
72
74
|
input {
|
75
|
+
left: 10px;
|
73
76
|
opacity: 0;
|
77
|
+
padding:0;
|
74
78
|
position: absolute;
|
75
79
|
top: 9px;
|
76
|
-
left: 10px;
|
77
|
-
padding:0;
|
78
80
|
|
79
81
|
& + label { margin-left: 0; margin-right: 0; }
|
80
82
|
}
|
@@ -84,18 +86,24 @@ $switch-active-color: $primary-color !default;
|
|
84
86
|
// the state of the input.
|
85
87
|
|
86
88
|
label:after {
|
89
|
+
background: $switch-paddle-bg;
|
87
90
|
content: "";
|
88
91
|
display: block;
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
+
height: $switch-height-med - .5rem;
|
93
|
+
left: .25rem;
|
94
|
+
position: absolute;
|
95
|
+
top: .25rem;
|
96
|
+
width: $switch-height-med - .5rem;
|
92
97
|
|
93
98
|
-webkit-transition: left $transition-speed $transition-ease;
|
94
99
|
-moz-transition: left $transition-speed $transition-ease;
|
100
|
+
-o-transition: translate3d(0,0,0);
|
95
101
|
transition: left $transition-speed $transition-ease;
|
96
102
|
|
97
103
|
-webkit-transform: translate3d(0,0,0);
|
98
104
|
-moz-transform: translate3d(0,0,0);
|
105
|
+
-ms-transform: translate3d(0,0,0);
|
106
|
+
-o-transform: translate3d(0,0,0);
|
99
107
|
transform: translate3d(0,0,0);
|
100
108
|
}
|
101
109
|
|
@@ -104,7 +112,7 @@ $switch-active-color: $primary-color !default;
|
|
104
112
|
}
|
105
113
|
|
106
114
|
input:checked + label:after {
|
107
|
-
left: $switch-height-med +
|
115
|
+
left: $switch-height-med + .25rem;
|
108
116
|
}
|
109
117
|
}
|
110
118
|
|
@@ -116,15 +124,17 @@ $switch-active-color: $primary-color !default;
|
|
116
124
|
@mixin switch-size($height: $switch-height-med) {
|
117
125
|
|
118
126
|
label {
|
119
|
-
|
127
|
+
height: $height;
|
128
|
+
width: $height * 2;
|
120
129
|
}
|
121
130
|
|
122
131
|
label:after {
|
123
|
-
|
132
|
+
height: $height - .5rem;
|
133
|
+
width: $height - .5rem;
|
124
134
|
}
|
125
135
|
|
126
136
|
input:checked + label:after {
|
127
|
-
left: $height +
|
137
|
+
left: $height + .25rem;
|
128
138
|
}
|
129
139
|
|
130
140
|
}
|
@@ -138,6 +148,7 @@ $switch-active-color: $primary-color !default;
|
|
138
148
|
// $base-style - Apply base styles? Default: true.
|
139
149
|
@mixin switch-style(
|
140
150
|
$paddle-bg:$switch-paddle-bg,
|
151
|
+
$active-color:$switch-active-color,
|
141
152
|
$radius:false,
|
142
153
|
$base-style:true) {
|
143
154
|
|
@@ -153,7 +164,7 @@ $switch-active-color: $primary-color !default;
|
|
153
164
|
}
|
154
165
|
|
155
166
|
input:checked + label {
|
156
|
-
background: $
|
167
|
+
background: $active-color;
|
157
168
|
}
|
158
169
|
}
|
159
170
|
|
@@ -196,7 +207,7 @@ $switch-active-color: $primary-color !default;
|
|
196
207
|
$base-style:true) {
|
197
208
|
@include switch-base($transition-speed, $transition-ease);
|
198
209
|
@include switch-size($height);
|
199
|
-
@include switch-style($paddle-bg, $radius, $base-style);
|
210
|
+
@include switch-style($paddle-bg, $active-color, $radius, $base-style);
|
200
211
|
}
|
201
212
|
|
202
213
|
@include exports("switch") {
|
@@ -214,7 +225,7 @@ $switch-active-color: $primary-color !default;
|
|
214
225
|
&.tiny { @include switch-size($switch-height-tny); }
|
215
226
|
|
216
227
|
// Add a radius to the switch
|
217
|
-
&.radius {
|
228
|
+
&.radius {
|
218
229
|
label { @include radius(4px); }
|
219
230
|
label:after { @include radius(3px); }
|
220
231
|
}
|
data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_tables.scss
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
// foundation.zurb.com
|
3
3
|
// Licensed under MIT Open Source
|
4
4
|
|
5
|
-
@import
|
5
|
+
@import 'global';
|
6
6
|
|
7
7
|
//
|
8
8
|
// @name _tables.scss
|
@@ -62,8 +62,8 @@ $table-margin-bottom: rem-calc(20) !default;
|
|
62
62
|
|
63
63
|
@mixin table {
|
64
64
|
background: $table-bg;
|
65
|
-
margin-bottom: $table-margin-bottom;
|
66
65
|
border: $table-border-style $table-border-size $table-border-color;
|
66
|
+
margin-bottom: $table-margin-bottom;
|
67
67
|
table-layout: $table-layout;
|
68
68
|
|
69
69
|
caption {
|
@@ -81,10 +81,10 @@ $table-margin-bottom: rem-calc(20) !default;
|
|
81
81
|
tr {
|
82
82
|
th,
|
83
83
|
td {
|
84
|
-
|
84
|
+
color: $table-head-font-color;
|
85
85
|
font-size: $table-head-font-size;
|
86
86
|
font-weight: $table-head-font-weight;
|
87
|
-
|
87
|
+
padding: $table-head-padding;
|
88
88
|
}
|
89
89
|
}
|
90
90
|
}
|
@@ -95,10 +95,10 @@ $table-margin-bottom: rem-calc(20) !default;
|
|
95
95
|
tr {
|
96
96
|
th,
|
97
97
|
td {
|
98
|
-
|
98
|
+
color: $table-foot-font-color;
|
99
99
|
font-size: $table-foot-font-size;
|
100
100
|
font-weight: $table-foot-font-weight;
|
101
|
-
|
101
|
+
padding: $table-foot-padding;
|
102
102
|
}
|
103
103
|
}
|
104
104
|
}
|
@@ -106,9 +106,9 @@ $table-margin-bottom: rem-calc(20) !default;
|
|
106
106
|
tr {
|
107
107
|
th,
|
108
108
|
td {
|
109
|
-
padding: $table-row-padding;
|
110
|
-
font-size: $table-row-font-size;
|
111
109
|
color: $table-row-font-color;
|
110
|
+
font-size: $table-row-font-size;
|
111
|
+
padding: $table-row-padding;
|
112
112
|
text-align: $default-float;
|
113
113
|
}
|
114
114
|
|
data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_tabs.scss
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
// foundation.zurb.com
|
3
3
|
// Licensed under MIT Open Source
|
4
4
|
|
5
|
-
@import
|
6
|
-
@import
|
5
|
+
@import 'global';
|
6
|
+
@import 'grid';
|
7
7
|
|
8
8
|
//
|
9
9
|
// @variables
|
@@ -21,7 +21,7 @@ $tabs-navigation-font-size: rem-calc(16) !default;
|
|
21
21
|
$tabs-navigation-font-family: $body-font-family !default;
|
22
22
|
|
23
23
|
$tabs-content-margin-bottom: rem-calc(24) !default;
|
24
|
-
$tabs-content-padding: $column-gutter/2 !default;
|
24
|
+
$tabs-content-padding: ($column-gutter/2) !default;
|
25
25
|
|
26
26
|
$tabs-vertical-navigation-margin-bottom: 1.25rem !default;
|
27
27
|
|
@@ -31,44 +31,48 @@ $tabs-vertical-navigation-margin-bottom: 1.25rem !default;
|
|
31
31
|
@include clearfix;
|
32
32
|
margin-bottom: 0 !important;
|
33
33
|
margin-left: 0;
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
list-style: none;
|
34
|
+
|
35
|
+
dd,
|
36
|
+
.tab-title {
|
38
37
|
float: $default-float;
|
38
|
+
list-style: none;
|
39
|
+
margin-bottom: 0 !important;
|
40
|
+
position: relative;
|
41
|
+
|
39
42
|
> a {
|
40
|
-
outline: none;
|
41
43
|
display: block;
|
42
|
-
background:
|
43
|
-
color: $tabs-navigation-bg-color;
|
44
|
-
}
|
44
|
+
background-color: $tabs-navigation-bg-color;
|
45
45
|
color: $tabs-navigation-font-color;
|
46
|
-
padding: $tabs-navigation-padding $tabs-navigation-padding * 2;
|
47
46
|
font-family: $tabs-navigation-font-family;
|
48
47
|
font-size: $tabs-navigation-font-size;
|
48
|
+
padding: $tabs-navigation-padding $tabs-navigation-padding * 2;
|
49
|
+
|
49
50
|
&:hover {
|
50
|
-
background:
|
51
|
-
color: $tabs-navigation-hover-bg-color;
|
52
|
-
}
|
51
|
+
background-color: $tabs-navigation-hover-bg-color;
|
53
52
|
}
|
54
53
|
}
|
54
|
+
|
55
55
|
&.active a {
|
56
|
-
background:
|
57
|
-
|
58
|
-
|
59
|
-
color:$tabs-navigation-active-font-color;
|
60
|
-
}
|
56
|
+
background-color: $tabs-navigation-active-bg-color;
|
57
|
+
color: $tabs-navigation-active-font-color;
|
58
|
+
}
|
61
59
|
}
|
60
|
+
|
62
61
|
&.radius {
|
63
|
-
dd:first-child,
|
62
|
+
dd:first-child,
|
63
|
+
.tab:first-child {
|
64
64
|
a { @include side-radius($default-float, $global-radius); }
|
65
65
|
}
|
66
|
-
|
66
|
+
|
67
|
+
dd:last-child,
|
68
|
+
.tab:last-child {
|
67
69
|
a { @include side-radius($opposite-direction, $global-radius); }
|
68
70
|
}
|
69
71
|
}
|
72
|
+
|
70
73
|
&.vertical {
|
71
|
-
dd,
|
74
|
+
dd,
|
75
|
+
.tab-title {
|
72
76
|
position: inherit;
|
73
77
|
float: none;
|
74
78
|
display: block;
|
@@ -81,38 +85,53 @@ $tabs-vertical-navigation-margin-bottom: 1.25rem !default;
|
|
81
85
|
@include clearfix;
|
82
86
|
margin-bottom: $tabs-content-margin-bottom;
|
83
87
|
width: 100%;
|
88
|
+
|
84
89
|
> .content {
|
85
90
|
display: none;
|
86
91
|
float: $default-float;
|
87
92
|
padding: $tabs-content-padding 0;
|
88
93
|
width: 100%;
|
89
|
-
|
90
|
-
&.
|
94
|
+
|
95
|
+
&.active {
|
96
|
+
display: block;
|
97
|
+
float: none;
|
98
|
+
}
|
99
|
+
&.contained {
|
100
|
+
padding: $tabs-content-padding;
|
101
|
+
}
|
91
102
|
}
|
103
|
+
|
92
104
|
&.vertical {
|
93
105
|
display: block;
|
94
|
-
|
106
|
+
|
107
|
+
> .content {
|
108
|
+
padding: 0 $tabs-content-padding;
|
109
|
+
}
|
95
110
|
}
|
96
111
|
}
|
112
|
+
|
97
113
|
@media #{$medium-up} {
|
98
114
|
.tabs {
|
99
115
|
&.vertical {
|
100
|
-
width: 20%;
|
101
|
-
max-width: 20%;
|
102
116
|
float: $default-float;
|
103
|
-
margin: 0
|
117
|
+
margin: 0;
|
118
|
+
margin-bottom: $tabs-vertical-navigation-margin-bottom !important;
|
119
|
+
max-width: 20%;
|
120
|
+
width: 20%;
|
104
121
|
}
|
105
122
|
}
|
123
|
+
|
106
124
|
.tabs-content {
|
107
125
|
&.vertical {
|
108
|
-
width: 80%;
|
109
|
-
max-width: 80%;
|
110
126
|
float: $default-float;
|
111
127
|
margin-#{$default-float}: -1px;
|
128
|
+
max-width: 80%;
|
112
129
|
padding-#{$default-float}: 1rem;
|
130
|
+
width: 80%;
|
113
131
|
}
|
114
132
|
}
|
115
133
|
}
|
134
|
+
|
116
135
|
.no-js {
|
117
136
|
.tabs-content > .content {
|
118
137
|
display: block;
|
data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_thumbs.scss
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
// foundation.zurb.com
|
3
3
|
// Licensed under MIT Open Source
|
4
4
|
|
5
|
-
@import
|
5
|
+
@import 'global';
|
6
6
|
|
7
7
|
//
|
8
8
|
// @name _thumbs.scss
|
@@ -36,14 +36,14 @@ $thumb-transition-speed: 200ms !default;
|
|
36
36
|
// $box-shadow - Box shadow to apply to thumbnail. Default: $thumb-box-shadow.
|
37
37
|
// $box-shadow-hover - Box shadow to apply on hover. Default: $thumb-box-shadow-hover.
|
38
38
|
@mixin thumb(
|
39
|
-
$border-width:$thumb-border-width,
|
40
|
-
$box-shadow:$thumb-box-shadow,
|
39
|
+
$border-width:$thumb-border-width,
|
40
|
+
$box-shadow:$thumb-box-shadow,
|
41
41
|
$box-shadow-hover:$thumb-box-shadow-hover) {
|
42
|
-
line-height: 0;
|
43
|
-
display: inline-block;
|
44
42
|
border: $thumb-border-style $border-width $thumb-border-color;
|
45
|
-
max-width: 100%;
|
46
43
|
box-shadow: $box-shadow;
|
44
|
+
display: inline-block;
|
45
|
+
line-height: 0;
|
46
|
+
max-width: 100%;
|
47
47
|
|
48
48
|
&:hover,
|
49
49
|
&:focus {
|
@@ -58,9 +58,9 @@ $thumb-transition-speed: 200ms !default;
|
|
58
58
|
/* Image Thumbnails */
|
59
59
|
.th {
|
60
60
|
@include thumb;
|
61
|
-
@include single-transition(all
|
61
|
+
@include single-transition(all, $thumb-transition-speed, ease-out);
|
62
62
|
|
63
63
|
&.radius { @include radius($thumb-radius); }
|
64
64
|
}
|
65
65
|
}
|
66
|
-
}
|
66
|
+
}
|
data/vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_tooltips.scss
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
// foundation.zurb.com
|
3
3
|
// Licensed under MIT Open Source
|
4
4
|
|
5
|
-
@import
|
5
|
+
@import 'global';
|
6
6
|
|
7
7
|
//
|
8
8
|
// Tooltip Variables
|
@@ -37,9 +37,9 @@ $tooltip-max-width: 300px !default;
|
|
37
37
|
/* Tooltips */
|
38
38
|
.has-tip {
|
39
39
|
border-bottom: $has-tip-border-bottom;
|
40
|
+
color: $has-tip-font-color;
|
40
41
|
cursor: $has-tip-cursor-type;
|
41
42
|
font-weight: $has-tip-font-weight;
|
42
|
-
color: $has-tip-font-color;
|
43
43
|
|
44
44
|
&:hover,
|
45
45
|
&:focus {
|
@@ -52,29 +52,29 @@ $tooltip-max-width: 300px !default;
|
|
52
52
|
}
|
53
53
|
|
54
54
|
.tooltip {
|
55
|
+
background: $tooltip-bg;
|
56
|
+
color: $tooltip-font-color;
|
55
57
|
display: none;
|
56
|
-
position: absolute;
|
57
|
-
z-index: 1006;
|
58
|
-
font-weight: $tooltip-font-weight;
|
59
58
|
font-size: $tooltip-font-size;
|
59
|
+
font-weight: $tooltip-font-weight;
|
60
60
|
line-height: $tooltip-line-height;
|
61
|
-
padding: $tooltip-padding;
|
62
61
|
max-width: $tooltip-max-width;
|
63
|
-
|
62
|
+
padding: $tooltip-padding;
|
63
|
+
position: absolute;
|
64
64
|
width: 100%;
|
65
|
-
|
66
|
-
|
65
|
+
z-index: 1006;
|
66
|
+
#{$default-float}: 50%;
|
67
67
|
|
68
|
-
|
68
|
+
> .nub {
|
69
|
+
border-color: transparent transparent $tooltip-bg transparent;
|
70
|
+
border: solid $tooltip-pip-size;
|
69
71
|
display: block;
|
70
|
-
#{$default-float}: $tooltip-pip-size;
|
71
|
-
position: absolute;
|
72
|
-
width: 0;
|
73
72
|
height: 0;
|
74
|
-
border: solid $tooltip-pip-size;
|
75
|
-
border-color: transparent transparent $tooltip-bg transparent;
|
76
|
-
top: -($tooltip-pip-size * 2);
|
77
73
|
pointer-events: none;
|
74
|
+
position: absolute;
|
75
|
+
top: -($tooltip-pip-size * 2);
|
76
|
+
width: 0;
|
77
|
+
#{$default-float}: $tooltip-pip-size;
|
78
78
|
|
79
79
|
&.rtl {
|
80
80
|
left: auto;
|
@@ -87,34 +87,34 @@ $tooltip-max-width: 300px !default;
|
|
87
87
|
}
|
88
88
|
&.round {
|
89
89
|
@include radius($tooltip-rounded);
|
90
|
-
|
90
|
+
> .nub {
|
91
91
|
left: 2rem;
|
92
92
|
}
|
93
93
|
}
|
94
94
|
|
95
95
|
&.opened {
|
96
|
-
color: $has-tip-font-color-hover !important;
|
97
96
|
border-bottom: $has-tip-border-bottom-hover !important;
|
97
|
+
color: $has-tip-font-color-hover !important;
|
98
98
|
}
|
99
99
|
}
|
100
100
|
|
101
101
|
.tap-to-close {
|
102
|
+
color: $tooltip-close-font-color;
|
102
103
|
display: block;
|
103
104
|
font-size: $tooltip-close-font-size;
|
104
|
-
color: $tooltip-close-font-color;
|
105
105
|
font-weight: $tooltip-close-font-weight;
|
106
106
|
}
|
107
107
|
|
108
108
|
@media #{$small} {
|
109
109
|
.tooltip {
|
110
|
-
|
110
|
+
> .nub {
|
111
111
|
border-color: transparent transparent $tooltip-bg transparent;
|
112
112
|
top: -($tooltip-pip-size * 2);
|
113
113
|
}
|
114
114
|
&.tip-top>.nub {
|
115
115
|
border-color: $tooltip-bg transparent transparent transparent;
|
116
|
-
top: auto;
|
117
116
|
bottom: -($tooltip-pip-size * 2);
|
117
|
+
top: auto;
|
118
118
|
}
|
119
119
|
|
120
120
|
&.tip-left,
|
@@ -122,17 +122,17 @@ $tooltip-max-width: 300px !default;
|
|
122
122
|
|
123
123
|
&.tip-left>.nub {
|
124
124
|
border-color: transparent transparent transparent $tooltip-bg;
|
125
|
-
right: -($tooltip-pip-size * 2);
|
126
125
|
left: auto;
|
127
|
-
top: 50%;
|
128
126
|
margin-top: -$tooltip-pip-size;
|
127
|
+
right: -($tooltip-pip-size * 2);
|
128
|
+
top: 50%;
|
129
129
|
}
|
130
130
|
&.tip-right>.nub {
|
131
131
|
border-color: transparent $tooltip-bg transparent transparent;
|
132
|
-
right: auto;
|
133
132
|
left: -($tooltip-pip-size * 2);
|
134
|
-
top: 50%;
|
135
133
|
margin-top: -$tooltip-pip-size;
|
134
|
+
right: auto;
|
135
|
+
top: 50%;
|
136
136
|
}
|
137
137
|
|
138
138
|
}
|