zurb-foundation 4.2.1 → 4.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +2 -2
- data/README.md +9 -1
- data/composer.json +9 -0
- data/docs/CHANGELOG.md +19 -5
- data/docs/components/alert-boxes.html.erb +19 -19
- data/docs/components/breadcrumbs.html.erb +15 -15
- data/docs/components/buttons.html.erb +19 -19
- data/docs/components/clearing.html.erb +13 -13
- data/docs/components/dropdown-buttons.html.erb +13 -13
- data/docs/components/dropdown.html.erb +18 -18
- data/docs/components/flex-video.html.erb +3 -3
- data/docs/components/forms.html.erb +39 -39
- data/docs/components/grid.html.erb +1 -1
- data/docs/components/inline-lists.html.erb +5 -5
- data/docs/components/joyride.html.erb +18 -18
- data/docs/components/keystrokes.html.erb +10 -10
- data/docs/components/kitchen-sink.html.erb +1 -1
- data/docs/components/labels.html.erb +2 -2
- data/docs/components/pagination.html.erb +17 -17
- data/docs/components/panels.html.erb +13 -10
- data/docs/components/pricing-tables.html.erb +30 -30
- data/docs/components/reveal.html.erb +14 -14
- data/docs/components/section.html.erb +15 -15
- data/docs/components/side-nav.html.erb +9 -9
- data/docs/components/split-buttons.html.erb +23 -23
- data/docs/components/sub-nav.html.erb +11 -11
- data/docs/components/switch.html.erb +24 -24
- data/docs/components/tables.html.erb +15 -15
- data/docs/components/thumbnails.html.erb +5 -5
- data/docs/components/tooltips.html.erb +18 -18
- data/docs/components/top-bar.html.erb +39 -39
- data/docs/components/type.html.erb +63 -63
- data/docs/css/docs.scss +3 -1
- data/docs/img/favicons/apple-touch-icon-114x114-precomposed.png +0 -0
- data/docs/img/favicons/apple-touch-icon-144x144-precomposed.png +0 -0
- data/docs/img/favicons/apple-touch-icon-72x72-precomposed.png +0 -0
- data/docs/img/favicons/apple-touch-icon-precomposed.png +0 -0
- data/docs/img/favicons/favicon.ico +0 -0
- data/docs/layout.html.erb +10 -1
- data/docs/sass.html.erb +258 -292
- data/js/foundation/foundation.alerts.js +3 -3
- data/js/foundation/foundation.clearing.js +5 -5
- data/js/foundation/foundation.dropdown.js +1 -1
- data/js/foundation/foundation.forms.js +23 -14
- data/js/foundation/foundation.interchange.js +8 -8
- data/js/foundation/foundation.joyride.js +2 -2
- data/js/foundation/foundation.js +2 -2
- data/js/foundation/foundation.magellan.js +4 -2
- data/js/foundation/foundation.orbit.js +2 -2
- data/js/foundation/foundation.placeholder.js +21 -1
- data/js/foundation/foundation.reveal.js +3 -3
- data/js/foundation/foundation.section.js +4 -3
- data/js/foundation/foundation.tooltips.js +2 -2
- data/js/foundation/foundation.topbar.js +8 -8
- data/js/foundation/index.js +1 -1
- data/js/vendor/jquery.js +4412 -4202
- data/js/vendor/zepto.js +116 -0
- data/lib/foundation/sprockets.rb +4 -0
- data/lib/foundation/version.rb +1 -1
- data/lib/zurb-foundation.rb +6 -2
- data/scss/foundation/_variables.scss +56 -55
- data/scss/foundation/components/_alert-boxes.scss +20 -20
- data/scss/foundation/components/_block-grid.scss +1 -1
- data/scss/foundation/components/_breadcrumbs.scss +15 -15
- data/scss/foundation/components/_buttons.scss +23 -21
- data/scss/foundation/components/_clearing.scss +14 -13
- data/scss/foundation/components/_custom-forms.scss +35 -35
- data/scss/foundation/components/_dropdown-buttons.scss +13 -13
- data/scss/foundation/components/_dropdown.scss +19 -18
- data/scss/foundation/components/_flex-video.scss +3 -3
- data/scss/foundation/components/_forms.scss +40 -40
- data/scss/foundation/components/_grid.scss +1 -1
- data/scss/foundation/components/_inline-lists.scss +4 -4
- data/scss/foundation/components/_joyride.scss +16 -16
- data/scss/foundation/components/_keystrokes.scss +10 -10
- data/scss/foundation/components/_labels.scss +3 -3
- data/scss/foundation/components/_pagination.scss +17 -17
- data/scss/foundation/components/_panels.scss +21 -18
- data/scss/foundation/components/_pricing-tables.scss +30 -30
- data/scss/foundation/components/_reveal.scss +14 -14
- data/scss/foundation/components/_section.scss +16 -16
- data/scss/foundation/components/_side-nav.scss +9 -9
- data/scss/foundation/components/_split-buttons.scss +23 -23
- data/scss/foundation/components/_sub-nav.scss +11 -11
- data/scss/foundation/components/_switch.scss +23 -23
- data/scss/foundation/components/_tables.scss +15 -15
- data/scss/foundation/components/_thumbs.scss +5 -5
- data/scss/foundation/components/_tooltips.scss +17 -17
- data/scss/foundation/components/_top-bar.scss +37 -37
- data/scss/foundation/components/_type.scss +63 -63
- data/templates/upgrade/manifest.rb +2 -3
- metadata +11 -4
@@ -65,15 +65,15 @@
|
|
65
65
|
|
66
66
|
<%= code_example '
|
67
67
|
/* We use this to control the margins and padding of the inline list. */
|
68
|
-
$inline-list-margin-bottom:
|
69
|
-
$inline-list-margin:
|
70
|
-
$inline-list-padding:
|
68
|
+
$inline-list-margin-bottom: emCalc(17px) emCalc(-22px );
|
69
|
+
$inline-list-margin: 0 0;
|
70
|
+
$inline-list-padding: 0;
|
71
71
|
|
72
72
|
/* We use this to control the overflow of the inline list. */
|
73
|
-
$inline-list-overflow:
|
73
|
+
$inline-list-overflow: hidden;
|
74
74
|
|
75
75
|
/* We use this to control the list items */
|
76
|
-
$inline-list-display:
|
76
|
+
$inline-list-display: block;
|
77
77
|
|
78
78
|
/* We use this to control any elements within list items */
|
79
79
|
$inline-list-children-display: block;', :css %>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
|
2
|
-
<%
|
3
|
-
@side_nav = "js"
|
2
|
+
<%
|
3
|
+
@side_nav = "js"
|
4
4
|
@joyride = true
|
5
5
|
%>
|
6
6
|
<div class="row">
|
@@ -66,33 +66,33 @@
|
|
66
66
|
|
67
67
|
<%= code_example '
|
68
68
|
/* Controlling default Joyride styles */
|
69
|
-
$joyride-tip-bg:
|
70
|
-
$joyride-tip-default-width:
|
71
|
-
$joyride-tip-padding:
|
72
|
-
$joyride-tip-border:
|
73
|
-
$joyride-tip-radius:
|
69
|
+
$joyride-tip-bg: rgb(0,0,0);
|
70
|
+
$joyride-tip-default-width: 300px;
|
71
|
+
$joyride-tip-padding: emCalc(18px) emCalc(20px) emCalc(24px);
|
72
|
+
$joyride-tip-border: solid 1px #555;
|
73
|
+
$joyride-tip-radius: 4px;
|
74
74
|
$joyride-tip-position-offset: 22px;
|
75
75
|
|
76
76
|
/* Here, we are setting the tip dont styles */
|
77
|
-
$joyride-tip-font-color:
|
78
|
-
$joyride-tip-font-size:
|
79
|
-
$joyride-tip-header-weight:
|
77
|
+
$joyride-tip-font-color: #fff;
|
78
|
+
$joyride-tip-font-size: emCalc(14px);
|
79
|
+
$joyride-tip-header-weight: bold;
|
80
80
|
|
81
81
|
/* This changes the nub size */
|
82
|
-
$joyride-tip-nub-size:
|
82
|
+
$joyride-tip-nub-size: 14px;
|
83
83
|
|
84
84
|
/* This adjusts the styles for the timer when its enabled */
|
85
|
-
$joyride-tip-timer-width:
|
86
|
-
$joyride-tip-timer-height:
|
87
|
-
$joyride-tip-timer-color:
|
85
|
+
$joyride-tip-timer-width: 50px;
|
86
|
+
$joyride-tip-timer-height: 3px;
|
87
|
+
$joyride-tip-timer-color: #666;
|
88
88
|
|
89
89
|
/* This changes up the styles for the close button */
|
90
|
-
$joyride-tip-close-color:
|
91
|
-
$joyride-tip-close-size:
|
92
|
-
$joyride-tip-close-weight:
|
90
|
+
$joyride-tip-close-color: #777;
|
91
|
+
$joyride-tip-close-size: 30px;
|
92
|
+
$joyride-tip-close-weight: normal;
|
93
93
|
|
94
94
|
/* When Joyride is filling the screen, we use this style for the bg */
|
95
|
-
$joyride-screenfill:
|
95
|
+
$joyride-screenfill: rgba(0,0,0,0.5);
|
96
96
|
', :css %>
|
97
97
|
|
98
98
|
<hr>
|
@@ -49,21 +49,21 @@ $bg: $keystroke-bg', :css %>
|
|
49
49
|
|
50
50
|
<%= code_example '
|
51
51
|
/* We use these to control text styles. */
|
52
|
-
$keystroke-font:
|
53
|
-
$keystroke-font-size:
|
54
|
-
$keystroke-font-color:
|
55
|
-
$keystroke-font-color-alt:
|
52
|
+
$keystroke-font: "Consolas", "Menlo", "Courier", monospace;
|
53
|
+
$keystroke-font-size: emCalc(15px);
|
54
|
+
$keystroke-font-color: #222;
|
55
|
+
$keystroke-font-color-alt: #fff;
|
56
56
|
$keystroke-function-factor: 7%;
|
57
57
|
|
58
58
|
/* We use this to control keystroke padding. */
|
59
|
-
$keystroke-padding:
|
59
|
+
$keystroke-padding: emCalc(2px) emCalc(4px) emCalc(0px);
|
60
60
|
|
61
61
|
/* We use these to control background and border styles. */
|
62
|
-
$keystroke-bg:
|
63
|
-
$keystroke-border-style:
|
64
|
-
$keystroke-border-width:
|
65
|
-
$keystroke-border-color:
|
66
|
-
$keystroke-radius:
|
62
|
+
$keystroke-bg: darken(#fff, $keystroke-function-factor);
|
63
|
+
$keystroke-border-style: solid;
|
64
|
+
$keystroke-border-width: 1px;
|
65
|
+
$keystroke-border-color: darken($keystroke-bg, $keystroke-function-factor);
|
66
|
+
$keystroke-radius: $global-radius;', :css %>
|
67
67
|
|
68
68
|
<p><strong>Note:</strong> <code>emCalc();</code> is a function we wrote to convert <code>px</code> to <code>em</code>. It is included in <strong>_variables.scss</strong>.</p>
|
69
69
|
|
@@ -81,8 +81,8 @@ $radius: false
|
|
81
81
|
|
82
82
|
<%= code_example '
|
83
83
|
/* We use these to style the labels */
|
84
|
-
$label-padding:
|
85
|
-
$label-radius:
|
84
|
+
$label-padding: emCalc(3px) emCalc(6px) emCalc(4px);
|
85
|
+
$label-radius: $global-radius;
|
86
86
|
|
87
87
|
/* We use these to style the label text */
|
88
88
|
$label-font-sizing: emCalc(14px);
|
@@ -145,32 +145,32 @@ $base-style: true
|
|
145
145
|
|
146
146
|
<%= code_example '
|
147
147
|
/* We use these to control the pagination container */
|
148
|
-
$pagination-height:
|
149
|
-
$pagination-margin:
|
148
|
+
$pagination-height: emCalc(24px);
|
149
|
+
$pagination-margin: emCalc(-5px);
|
150
150
|
|
151
151
|
/* We use these to set the list-item properties */
|
152
|
-
$pagination-li-float:
|
153
|
-
$pagination-li-height:
|
154
|
-
$pagination-li-font-color:
|
155
|
-
$pagination-li-font-size:
|
156
|
-
$pagination-li-margin:
|
152
|
+
$pagination-li-float: $default-float;
|
153
|
+
$pagination-li-height: emCalc(24px);
|
154
|
+
$pagination-li-font-color: #222;
|
155
|
+
$pagination-li-font-size: emCalc(14px);
|
156
|
+
$pagination-li-margin: emCalc(5px);
|
157
157
|
|
158
158
|
/* We use these for the pagination anchor links */
|
159
|
-
$pagination-link-pad:
|
160
|
-
$pagination-link-font-color:
|
161
|
-
$pagination-link-active-bg:
|
159
|
+
$pagination-link-pad: emCalc(1px) emCalc(7px) emCalc(1px);
|
160
|
+
$pagination-link-font-color: #999;
|
161
|
+
$pagination-link-active-bg: darken(#fff, 10%);
|
162
162
|
|
163
163
|
/* We use these for disabled anchor links */
|
164
|
-
$pagination-link-unavailable-cursor:
|
164
|
+
$pagination-link-unavailable-cursor: $cursor-default-value;
|
165
165
|
$pagination-link-unavailable-font-color: #999;
|
166
|
-
$pagination-link-unavailable-bg-active:
|
166
|
+
$pagination-link-unavailable-bg-active: transparent;
|
167
167
|
|
168
168
|
/* We use these for currently selected anchor links */
|
169
|
-
$pagination-link-current-background:
|
170
|
-
$pagination-link-current-font-color:
|
171
|
-
$pagination-link-current-font-weight:
|
172
|
-
$pagination-link-current-cursor:
|
173
|
-
$pagination-link-current-active-bg:
|
169
|
+
$pagination-link-current-background: $primary-color;
|
170
|
+
$pagination-link-current-font-color: #fff;
|
171
|
+
$pagination-link-current-font-weight: bold;
|
172
|
+
$pagination-link-current-cursor: $cursor-default-value;
|
173
|
+
$pagination-link-current-active-bg: $primary-color;', :css %>
|
174
174
|
|
175
175
|
<p><strong>Note:</strong> <code>emCalc();</code> is a function we wrote to convert <code>px</code> to <code>em</code>. It is included in <strong>_variables.scss</strong>.</p>
|
176
176
|
|
@@ -75,16 +75,19 @@
|
|
75
75
|
Panel content goes here...
|
76
76
|
</div>
|
77
77
|
|
78
|
-
<p>You also have <strong>
|
78
|
+
<p>You also have <strong>three options</strong> available to customize the panel within the mixin. These control the background color (which also effect border and font color) and the interior padding of the panel itself.</p>
|
79
79
|
|
80
80
|
<%= code_example '
|
81
|
-
.your-class-name { @include panel($bg, $padding); }
|
81
|
+
.your-class-name { @include panel($bg, $padding, $adjust); }
|
82
82
|
|
83
83
|
/* This controls the background color, border color and type color based on brightness of the bg. */
|
84
84
|
$bg: $secondary-color
|
85
85
|
|
86
86
|
/* This controls the interior padding */
|
87
87
|
$padding: $panel-padding
|
88
|
+
|
89
|
+
/* Control whether panel mixin adjusts header styles */
|
90
|
+
$adjust: true
|
88
91
|
', :css %>
|
89
92
|
|
90
93
|
<div class="panel-custom">
|
@@ -95,21 +98,21 @@ $padding: $panel-padding
|
|
95
98
|
|
96
99
|
<%= code_example '
|
97
100
|
/* We use these to control the background and border styles */
|
98
|
-
$panel-bg:
|
99
|
-
$panel-border-style:
|
100
|
-
$panel-border-size:
|
101
|
+
$panel-bg: darken(#fff, 5%);
|
102
|
+
$panel-border-style: solid;
|
103
|
+
$panel-border-size: 1px;
|
101
104
|
|
102
105
|
/* We use this % to control how much we darken things on hover */
|
103
106
|
$panel-function-factor: 10%;
|
104
|
-
$panel-border-color:
|
107
|
+
$panel-border-color: darken($panel-bg, $panel-function-factor);
|
105
108
|
|
106
109
|
/* We use these to set default inner padding and bottom margin */
|
107
|
-
$panel-margin-bottom:
|
108
|
-
$panel-padding:
|
110
|
+
$panel-margin-bottom: emCalc(20px);
|
111
|
+
$panel-padding: emCalc(20px);
|
109
112
|
|
110
113
|
/* We use these to set default font colors */
|
111
|
-
$panel-font-color:
|
112
|
-
$panel-font-color-alt:
|
114
|
+
$panel-font-color: #333;
|
115
|
+
$panel-font-color-alt: #fff;', :css %>
|
113
116
|
|
114
117
|
<p><strong>Note:</strong> <code>emCalc();</code> is a function we wrote to convert <code>px</code> to <code>em</code>. It is included in <strong>_variables.scss</strong>.</p>
|
115
118
|
|
@@ -101,49 +101,49 @@
|
|
101
101
|
|
102
102
|
<%= code_example '
|
103
103
|
/* We use this to control the border color */
|
104
|
-
$price-table-border:
|
104
|
+
$price-table-border: solid 1px #ddd;
|
105
105
|
|
106
106
|
/* We use this to control the bottom margin of the pricing table */
|
107
107
|
$price-table-margin-bottom: emCalc(20px);
|
108
108
|
|
109
109
|
/* We use these to control the title styles */
|
110
|
-
$price-title-bg:
|
111
|
-
$price-title-padding:
|
112
|
-
$price-title-align:
|
113
|
-
$price-title-color:
|
114
|
-
$price-title-weight:
|
115
|
-
$price-title-size:
|
110
|
+
$price-title-bg: #ddd;
|
111
|
+
$price-title-padding: emCalc(15px) emCalc(20px);
|
112
|
+
$price-title-align: center;
|
113
|
+
$price-title-color: #333;
|
114
|
+
$price-title-weight: bold;
|
115
|
+
$price-title-size: emCalc(16px);
|
116
116
|
|
117
117
|
/* We use these to control the price styles */
|
118
|
-
$price-money-bg:
|
119
|
-
$price-money-padding:
|
120
|
-
$price-money-align:
|
121
|
-
$price-money-color:
|
122
|
-
$price-money-weight:
|
123
|
-
$price-money-size:
|
118
|
+
$price-money-bg: #eee;
|
119
|
+
$price-money-padding: emCalc(15px) emCalc(20px);
|
120
|
+
$price-money-align: center;
|
121
|
+
$price-money-color: #333;
|
122
|
+
$price-money-weight: normal;
|
123
|
+
$price-money-size: emCalc(20px);
|
124
124
|
|
125
125
|
/* We use these to control the description styles */
|
126
|
-
$price-bg:
|
127
|
-
$price-desc-color:
|
128
|
-
$price-desc-padding:
|
129
|
-
$price-desc-align:
|
130
|
-
$price-desc-font-size:
|
131
|
-
$price-desc-weight:
|
132
|
-
$price-desc-line-height:
|
133
|
-
$price-desc-bottom-border:
|
126
|
+
$price-bg: #fff;
|
127
|
+
$price-desc-color: #777;
|
128
|
+
$price-desc-padding: emCalc(15px);
|
129
|
+
$price-desc-align: center;
|
130
|
+
$price-desc-font-size: emCalc(12px);
|
131
|
+
$price-desc-weight: normal;
|
132
|
+
$price-desc-line-height: 1.4;
|
133
|
+
$price-desc-bottom-border: dotted 1px #ddd;
|
134
134
|
|
135
135
|
/* We use these to control the list item styles */
|
136
|
-
$price-item-color:
|
137
|
-
$price-item-padding:
|
138
|
-
$price-item-align:
|
139
|
-
$price-item-font-size:
|
140
|
-
$price-item-weight:
|
141
|
-
$price-item-bottom-border:
|
136
|
+
$price-item-color: #333;
|
137
|
+
$price-item-padding: emCalc(15px);
|
138
|
+
$price-item-align: center;
|
139
|
+
$price-item-font-size: emCalc(14px);
|
140
|
+
$price-item-weight: normal;
|
141
|
+
$price-item-bottom-border: dotted 1px #ddd;
|
142
142
|
|
143
143
|
/* We use these to control the CTA area styles */
|
144
|
-
$price-cta-bg:
|
145
|
-
$price-cta-align:
|
146
|
-
$price-cta-padding:
|
144
|
+
$price-cta-bg: #f5f5f5;
|
145
|
+
$price-cta-align: center;
|
146
|
+
$price-cta-padding: emCalc(20px) emCalc(20px) 0;', :css %>
|
147
147
|
|
148
148
|
<p><strong>Note:</strong> <code>emCalc();</code> is a function we wrote to convert <code>px</code> to <code>em</code>. It is included in <strong>_variables.scss</strong>.</p>
|
149
149
|
|
@@ -182,27 +182,27 @@ $color: $reveal-close-color;
|
|
182
182
|
|
183
183
|
<%= code_example '
|
184
184
|
/* We use these to control the style of the reveal overlay. */
|
185
|
-
$reveal-overlay-bg:
|
186
|
-
$reveal-overlay-bg-old:
|
185
|
+
$reveal-overlay-bg: rgba(#000, .45);
|
186
|
+
$reveal-overlay-bg-old: #000;
|
187
187
|
|
188
188
|
/* We use these to control the style of the modal itself. */
|
189
|
-
$reveal-modal-bg:
|
190
|
-
$reveal-position-top:
|
191
|
-
$reveal-default-width:
|
192
|
-
$reveal-modal-padding:
|
193
|
-
$reveal-box-shadow:
|
189
|
+
$reveal-modal-bg: #fff;
|
190
|
+
$reveal-position-top: emCalc(15px);
|
191
|
+
$reveal-default-width: 80%;
|
192
|
+
$reveal-modal-padding: emCalc(20px);
|
193
|
+
$reveal-box-shadow: 0 0 10px rgba(#000,.4);
|
194
194
|
|
195
195
|
/* We use these to style the reveal close button */
|
196
196
|
$reveal-close-font-size: emCalc(22px);
|
197
|
-
$reveal-close-top:
|
198
|
-
$reveal-close-side:
|
199
|
-
$reveal-close-color:
|
200
|
-
$reveal-close-weight:
|
197
|
+
$reveal-close-top: emCalc(8px);
|
198
|
+
$reveal-close-side: emCalc(11px);
|
199
|
+
$reveal-close-color: #aaa;
|
200
|
+
$reveal-close-weight: bold;
|
201
201
|
|
202
202
|
/* We use these to control the modal border */
|
203
|
-
$reveal-border-style:
|
204
|
-
$reveal-border-width:
|
205
|
-
$reveal-border-color:
|
203
|
+
$reveal-border-style: solid;
|
204
|
+
$reveal-border-width: 1px;
|
205
|
+
$reveal-border-color: #666;
|
206
206
|
|
207
207
|
$reveal-modal-class: "reveal-modal";
|
208
208
|
$close-reveal-modal-class: "close-reveal-modal";', :css %>
|
@@ -965,30 +965,30 @@ $section-border-color: $section-border-color', :css %>
|
|
965
965
|
$include-html-section-classes: $include-html-classes !default;
|
966
966
|
|
967
967
|
/* We use these to set padding and hover factor */
|
968
|
-
$section-title-padding:
|
969
|
-
$section-content-padding:
|
970
|
-
$section-function-factor:
|
968
|
+
$section-title-padding: emCalc(15px);
|
969
|
+
$section-content-padding: emCalc(15px);
|
970
|
+
$section-function-factor: 10%;
|
971
971
|
|
972
972
|
/* These style the titles */
|
973
|
-
$section-title-color:
|
974
|
-
$section-title-bg:
|
975
|
-
$section-title-bg-active:
|
976
|
-
$section-title-bg-active-tabs:
|
977
|
-
$section-title-bg-hover:
|
973
|
+
$section-title-color: #333;
|
974
|
+
$section-title-bg: #efefef;
|
975
|
+
$section-title-bg-active: darken($section-title-bg, $section-function-factor);
|
976
|
+
$section-title-bg-active-tabs: #fff;
|
977
|
+
$section-title-bg-hover: darken($section-title-bg, $section-function-factor/2);
|
978
978
|
|
979
979
|
/* Want to control border size, here ya go! */
|
980
|
-
$section-border-size:
|
981
|
-
$section-border-style:
|
982
|
-
$section-border-color:
|
980
|
+
$section-border-size: 1px;
|
981
|
+
$section-border-style: solid;
|
982
|
+
$section-border-color: #ccc;
|
983
983
|
|
984
984
|
/* Font controls */
|
985
|
-
$section-font-size:
|
985
|
+
$section-font-size: emCalc(14px);
|
986
986
|
|
987
987
|
/* Control the color of the background and some size options */
|
988
|
-
$section-content-bg:
|
989
|
-
$section-vertical-nav-min-width:
|
988
|
+
$section-content-bg: #fff;
|
989
|
+
$section-vertical-nav-min-width: emCalc(200px);
|
990
990
|
$section-vertical-tabs-title-width: emCalc(200px);
|
991
|
-
$section-bottom-margin:
|
991
|
+
$section-bottom-margin: emCalc(20px);
|
992
992
|
|
993
993
|
$title-selector: ".title";
|
994
994
|
$content-selector: ".content";
|
@@ -95,23 +95,23 @@ $link-color: $side-nav-link-color
|
|
95
95
|
|
96
96
|
<%= code_example '
|
97
97
|
/* We use this to control padding. */
|
98
|
-
$side-nav-padding:
|
98
|
+
$side-nav-padding: emCalc(14px) 0;
|
99
99
|
|
100
100
|
/* We use these to control list styles. */
|
101
|
-
$side-nav-list-type:
|
102
|
-
$side-nav-list-position:
|
103
|
-
$side-nav-list-margin:
|
101
|
+
$side-nav-list-type: none;
|
102
|
+
$side-nav-list-position: inside;
|
103
|
+
$side-nav-list-margin: 0 0 emCalc(7px) 0;
|
104
104
|
|
105
105
|
/* We use these to control link styles. */
|
106
106
|
$side-nav-link-color: $primary-color;
|
107
107
|
$side-nav-link-color-active: lighten(#000, 30%);
|
108
|
-
$side-nav-font-size:
|
109
|
-
$side-nav-font-weight:
|
108
|
+
$side-nav-font-size: emCalc(14px);
|
109
|
+
$side-nav-font-weight: bold;
|
110
110
|
|
111
111
|
/* We use these to control border styles */
|
112
|
-
$side-nav-divider-size:
|
113
|
-
$side-nav-divider-style:
|
114
|
-
$side-nav-divider-color:
|
112
|
+
$side-nav-divider-size: 1px;
|
113
|
+
$side-nav-divider-style: solid;
|
114
|
+
$side-nav-divider-color: darken(#fff, 10%);', :css %>
|
115
115
|
|
116
116
|
<p><strong>Note:</strong> <code>emCalc();</code> is a function we wrote to convert <code>px</code> to <code>em</code>. It is included in <strong>_variables.scss</strong>.</p>
|
117
117
|
|