Skip to content

Commit a33f86a

Browse files
committed
update SCSS docs
1 parent b83dd64 commit a33f86a

29 files changed

Lines changed: 106 additions & 130 deletions

docs/partials/scss/accordion.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
$accordion-border: 1px solid $gray-dark;
2-
32
$accordion-title-background: $gray-light;
43
$accordion-title-background-hover: smartscale($accordion-title-background, 5%);
54
$accordion-title-background-active: smartscale($accordion-title-background, 3%);
65
$accordion-title-color: isitlight($accordion-title-background);
76
$accordion-title-color-active: isitlight($accordion-title-background);
8-
97
$accordion-title-padding: $global-padding;
10-
$accordion-content-padding: $global-padding;
8+
$accordion-content-padding: $global-padding;

docs/partials/scss/action-sheet.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
$actionsheet-shadow: 0 -3px 10px rgba(black, 0.25);
88
$actionsheet-padding: $global-padding;
99
$actionsheet-tail-size: 10px;
10-
1110
$actionsheet-popup-shadow: 0 0 10px rgba(black, 0.25);
12-
1311
$actionsheet-link-color: #000;
14-
$actionsheet-link-background-hover: smartscale($actionsheet-background);
12+
$actionsheet-link-background-hover: smartscale($actionsheet-background);

docs/partials/scss/block-list.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
11
$blocklist-background: #fff;
22
$blocklist-fullbleed: true;
33
$blocklist-fontsize: 1rem;
4-
54
$blocklist-item-padding: 0.8rem 1rem;
65
$blocklist-item-color: isitlight($blocklist-background, #000, #fff);
76
$blocklist-item-background-hover: smartscale($blocklist-background, 4.5%);
87
$blocklist-item-color-disabled: #999;
98
$blocklist-item-border: 1px solid smartscale($blocklist-background, 18.5%);
10-
119
$blocklist-item-label-color: scale-color($blocklist-item-color, $lightness: 60%);
1210
$blocklist-item-icon-size: 0.8;
13-
1411
$blocklist-header-fontsize: 0.8em;
1512
$blocklist-header-color: smartscale($blocklist-item-color, 40%);
1613
$blocklist-header-uppercase: true;
17-
18-
$blocklist-check-icons: true;
14+
$blocklist-check-icons: true;
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
// These are our named breakpoints. You can use them in our breakpoint function like this: @include breakpoint(medium) { // Medium and larger styles }
21
$breakpoints: (
32
small: rem-calc(0),
43
medium: rem-calc(640),
54
large: rem-calc(1200),
65
xlarge: rem-calc(1440),
76
xxlarge: rem-calc(1920),
87
);
9-
10-
// All of the names in this list will be output as classes in your CSS, like small-12, medium-6, and so on.
11-
$breakpoint-classes: (small medium large);
8+
$breakpoint-classes: (small medium large);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
$btngroup-background: $primary-color;
22
$btngroup-color: #fff;
3-
$btngroup-radius: $button-radius;
3+
$btngroup-radius: $button-radius;

docs/partials/scss/button.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@
1313
);
1414
$button-font-size: 0.9rem;
1515
$button-opacity-disabled: 0.5;
16-
$button-tag-selector: false;
16+
$button-tag-selector: false;
17+
$button-icon-spacing: 0.5em;

docs/partials/scss/card.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@
55
$card-shadow: 0 1px 2px rgba(#000, 0.2);
66
$card-padding: $global-padding;
77
$card-margin: 0.5rem;
8-
9-
$card-divider-background: smartscale($card-background, 7%);
8+
$card-divider-background: smartscale($card-background, 7%);
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
$nosupport-overlay: #000000;
2+
$nosupport-background: $alert-color;
3+
$nosupport-color: isitlight($nosupport-background);
4+
$nosupport-top: 15%;
5+
$nosupport-width: 50%;
6+
$nosupport-font: Arial, Helvetica, sans-serif !important;

docs/partials/scss/extras.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@
33
$closebutton-lineheight: 0.5;
44
$closebutton-color: #999;
55
$closebutton-color-hover: #333;
6-
76
$thumbnail-padding: 0.5rem;
8-
$thumbnail-shadow: 0 3px 15px rgba(black, 0.25);
7+
$thumbnail-shadow: 0 3px 15px rgba(black, 0.25);

docs/partials/scss/forms.html

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
// Basic form variables
21
$form-fontsize: 1rem;
32
$form-padding: 0.5rem;
4-
5-
// Text fields
63
$input-color: #000;
74
$input-color-hover: $input-color;
85
$input-color-focus: $input-color;
@@ -14,37 +11,27 @@
1411
$input-border-hover: 1px solid #bbb;
1512
$input-border-focus: 1px solid #999;
1613
$input-cursor-disabled: not-allowed;
17-
18-
// Select menus
1914
$select-color: #000;
2015
$select-background: #fafafa;
2116
$select-background-hover: smartscale($select-background, 4%);
2217
$select-arrow: true;
2318
$select-arrow-color: $select-color;
24-
25-
// Labels
2619
$form-label-fontsize: 0.9rem;
2720
$form-label-margin: 0.5rem;
2821
$form-label-color: #333;
29-
30-
// Inline labels
3122
$inlinelabel-color: #333;
3223
$inlinelabel-background: #eee;
3324
$inlinelabel-border: $input-border;
34-
35-
// Range slider
3625
$slider-background: #ddd;
3726
$slider-height: 1rem;
3827
$slider-radius: 0px;
3928
$slider-thumb-height: 1.5rem;
4029
$slider-thumb-color: $primary-color;
4130
$slider-thumb-radius: 0px;
42-
43-
// Progress and meter
4431
$meter-height: 1.5rem;
4532
$meter-background: #ccc;
4633
$meter-fill: $primary-color;
4734
$meter-fill-high: $success-color;
4835
$meter-fill-medium: #e7cf00;
4936
$meter-fill-low: $alert-color;
50-
$meter-radius: 0;
37+
$meter-radius: 0;

0 commit comments

Comments
 (0)