Skip to content

Commit 1b3a354

Browse files
committed
Fix indents in modules
1 parent b35f315 commit 1b3a354

21 files changed

+226
-227
lines changed

js/flatui-checkbox.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -93,20 +93,20 @@
9393
/* CHECKBOX DATA-API
9494
* =============== */
9595

96-
$(document).on('click.checkbox.data-api', '[data-toggle^=checkbox], .checkbox', function (e) {
97-
var $checkbox = $(e.target);
98-
if (e.target.tagName != "A") {
99-
e && e.preventDefault() && e.stopPropagation();
100-
if (!$checkbox.hasClass('checkbox')) $checkbox = $checkbox.closest('.checkbox');
101-
$checkbox.find(':checkbox').checkbox('toggle');
102-
}
103-
});
104-
105-
$(function () {
106-
$('[data-toggle="checkbox"]').each(function () {
107-
var $checkbox = $(this);
108-
$checkbox.checkbox();
109-
});
110-
});
96+
$(document).on('click.checkbox.data-api', '[data-toggle^=checkbox], .checkbox', function (e) {
97+
var $checkbox = $(e.target);
98+
if (e.target.tagName != "A") {
99+
e && e.preventDefault() && e.stopPropagation();
100+
if (!$checkbox.hasClass('checkbox')) $checkbox = $checkbox.closest('.checkbox');
101+
$checkbox.find(':checkbox').checkbox('toggle');
102+
}
103+
});
104+
105+
$(function () {
106+
$('[data-toggle="checkbox"]').each(function () {
107+
var $checkbox = $(this);
108+
$checkbox.checkbox();
109+
});
110+
});
111111

112112
}(window.jQuery);

less/demo.less

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@import "mixins";
99

1010
.container {
11-
width: 970px !important;
11+
width: 970px !important;
1212
}
1313

1414
// For demo purposes only
@@ -17,7 +17,7 @@
1717
text-align: center;
1818
}
1919
.demo-logo {
20-
font: 900 90px/100px @font-family-demo;
20+
font: 900 90px/100px @font-family-demo;
2121
letter-spacing: -2px;
2222
margin: 10px 0;
2323

@@ -61,21 +61,21 @@
6161
}
6262

6363
&.typography-row {
64-
.demo-content {
64+
.demo-content {
6565
float: none;
6666
width: auto;
6767
clear: both;
6868
}
6969
.demo-type-example {
70-
padding-left: 25%;
71-
margin-bottom: 40px;
72-
position: relative;
70+
padding-left: 25%;
71+
margin-bottom: 40px;
72+
position: relative;
7373
}
7474
}
7575
}
7676
.demo-section-title {
77-
font: 900 32px/40px @font-family-demo;
78-
margin: 10px 0;
77+
font: 900 32px/40px @font-family-demo;
78+
margin: 10px 0;
7979
}
8080
.demo-panel-title {
8181
padding-top: 20px;
@@ -221,8 +221,8 @@
221221
width: 151px;
222222

223223
> h5 {
224-
font-size: 16px;
225-
margin-top: 4px;
224+
font-size: 16px;
225+
margin-top: 4px;
226226
margin-bottom: 3px;
227227
text-transform: none;
228228
font-weight: 400;
@@ -291,16 +291,16 @@
291291

292292
// Shatches
293293
.demo-swatches-row {
294-
[class*="col"] {
295-
float: left;
296-
min-height: 1px;
297-
}
298-
.swatches-col {
299-
width: 800px;
300-
margin-left: -5px;
301-
}
302-
.swatches-desc-col {
303-
width: 140px;
304-
margin-left: 20px;
305-
}
294+
[class*="col"] {
295+
float: left;
296+
min-height: 1px;
297+
}
298+
.swatches-col {
299+
width: 800px;
300+
margin-left: -5px;
301+
}
302+
.swatches-desc-col {
303+
width: 140px;
304+
margin-left: 20px;
305+
}
306306
}

less/docs.less

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,17 @@
5656
padding: 50px 20px 10px;
5757
}
5858
&.typography-row {
59-
.demo-content {
59+
.demo-content {
6060
float: none;
6161
margin-left: 20px;
6262
padding-top: 0;
6363
width: auto;
6464
clear: both;
6565
}
6666
.demo-type-example {
67-
padding-left: 265px;
68-
margin-bottom: 40px;
69-
position: relative;
67+
padding-left: 265px;
68+
margin-bottom: 40px;
69+
position: relative;
7070
}
7171
}
7272
}
@@ -217,17 +217,17 @@
217217
}
218218

219219
.demo-labels {
220-
font-size: ceil(@font-size-base * 1.357);
221-
222-
.visible-lg {
223-
display: inline !important;
224-
225-
@media (max-width: 767px) {
226-
& {
227-
display: none !important;
228-
}
229-
}
230-
}
220+
font-size: ceil(@font-size-base * 1.357);
221+
222+
.visible-lg {
223+
display: inline !important;
224+
225+
@media (max-width: 767px) {
226+
& {
227+
display: none !important;
228+
}
229+
}
230+
}
231231
}
232232

233233

@@ -263,7 +263,7 @@
263263
padding: 13px 20px 15px;
264264

265265
.flat {
266-
width: 300px;
266+
width: 300px;
267267
}
268268
}
269269

@@ -275,7 +275,7 @@
275275
width: 100%;
276276

277277
.modal {
278-
bottom: auto;
278+
bottom: auto;
279279
display: block;
280280
left: auto;
281281
position: relative;
@@ -286,13 +286,13 @@
286286
padding-bottom: 20px;
287287
}
288288
.modal-dialog {
289-
padding: 0;
289+
padding: 0;
290290
}
291291
}
292292

293293
.components-static-modal {
294-
.modal {
295-
bottom: auto;
294+
.modal {
295+
bottom: auto;
296296
display: block;
297297
left: auto;
298298
position: relative;
@@ -303,17 +303,17 @@
303303
}
304304
.modal-dialog,
305305
.modal-content {
306-
width: auto;
306+
width: auto;
307307
}
308308
.modal-dialog {
309-
padding: 0;
309+
padding: 0;
310310
}
311311
}
312312

313313
// Sidebar for Components navigation
314314
.demo-sidebar {
315315
font-size: floor(@font-size-base * 0.778); // ~14px
316-
line-height: 1.214; // ~17px
316+
line-height: 1.214; // ~17px
317317
height: 100%;
318318
left: 0;
319319
margin: 0;
@@ -383,29 +383,29 @@
383383
}
384384
}
385385
.typography-row {
386-
.demo-type-example {
387-
padding-left: 0 !important;
388-
}
386+
.demo-type-example {
387+
padding-left: 0 !important;
388+
}
389389
.demo-heading-note,
390390
.demo-text-note {
391391
position: static !important;
392392
margin: 0 0 10px;
393393
}
394394
}
395395
.demo-illustrations .demo-content-wide > div {
396-
margin-left: 67px;
396+
margin-left: 67px;
397397
}
398398
}
399399

400400
@media (max-width: 480px) {
401-
.demo-illustrations .demo-content-wide > div {
402-
margin-left: 23px;
403-
}
404-
.demo-navigation {
405-
.mll.pvl {
406-
padding: 0;
407-
margin-left: 0 !important;
408-
margin-bottom: 20px;
409-
}
410-
}
401+
.demo-illustrations .demo-content-wide > div {
402+
margin-left: 23px;
403+
}
404+
.demo-navigation {
405+
.mll.pvl {
406+
padding: 0;
407+
margin-left: 0 !important;
408+
margin-bottom: 20px;
409+
}
410+
}
411411
}

less/flat-ui.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@
4747
@import "modules/footer";
4848

4949
// Spaces
50-
@import "spaces";
50+
@import "spaces";

less/mixins.less

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
&::-moz-placeholder { color: @color; opacity: 1; } // Firefox 19+
5858
&:-ms-input-placeholder { color: @color; } // Internet Explorer 10+
5959
&::-webkit-input-placeholder { color: @color; } // Safari and Chrome
60-
&.placeholder { color: @color; } // Fallback
60+
&.placeholder { color: @color; } // Fallback
6161
}
6262

6363
.placeholder-height(@height) {
@@ -598,7 +598,7 @@
598598
// Social button variants
599599
// -------------------------
600600
.social-button-variant(@color; @background) {
601-
color: @color;
601+
color: @color;
602602
background-color: @background;
603603

604604
&:hover,
@@ -714,7 +714,7 @@
714714
}
715715
// Set the border and box shadow on specific inputs to match
716716
.form-control {
717-
color: @text-color;
717+
color: @text-color;
718718
border-color: @border-color;
719719
.box-shadow(none);
720720
.placeholder(@text-color);
@@ -746,7 +746,7 @@
746746
// contrast against a dark gray background.
747747

748748
.form-control-focus(@color: @brand-secondary) {
749-
.form-group.focus &,
749+
.form-group.focus &,
750750
&:focus {
751751
border-color: @color;
752752
outline: 0;
@@ -780,20 +780,20 @@
780780
// Reset rounded corners for form controls
781781
//
782782
.form-controls-corners-reset() {
783-
.input-group .form-control:first-child,
784-
.input-group-addon:first-child,
785-
.input-group-btn:first-child > .btn,
786-
.input-group-btn:first-child > .dropdown-toggle,
787-
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
788-
.border-right-radius(0);
789-
}
790-
.input-group .form-control:last-child,
791-
.input-group-addon:last-child,
792-
.input-group-btn:last-child > .btn,
793-
.input-group-btn:last-child > .dropdown-toggle,
794-
.input-group-btn:first-child > .btn:not(:first-child) {
795-
.border-left-radius(0);
796-
}
783+
.input-group .form-control:first-child,
784+
.input-group-addon:first-child,
785+
.input-group-btn:first-child > .btn,
786+
.input-group-btn:first-child > .dropdown-toggle,
787+
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
788+
.border-right-radius(0);
789+
}
790+
.input-group .form-control:last-child,
791+
.input-group-addon:last-child,
792+
.input-group-btn:last-child > .btn,
793+
.input-group-btn:last-child > .dropdown-toggle,
794+
.input-group-btn:first-child > .btn:not(:first-child) {
795+
.border-left-radius(0);
796+
}
797797
}
798798

799799
// Spinner variants

less/modules/button-groups.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@
7474
}
7575

7676
.dropdown-toggle {
77-
.caret {
78-
margin-left: 8px;
79-
}
77+
.caret {
78+
margin-left: 8px;
79+
}
8080
}
8181

8282
.btn-group > .btn,

0 commit comments

Comments
 (0)