bitstyles 0.8.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/PULL_REQUEST_TEMPLATE.md +6 -10
- data/.nvmrc +1 -1
- data/.stylelintrc +1 -164
- data/.travis.yml +19 -0
- data/README.md +66 -33
- data/bitstyles.gemspec +1 -1
- data/lib/bitstyles/version.rb +1 -1
- data/package.json +21 -17
- data/scss/bitstyles.scss +53 -45
- data/scss/bitstyles/base/_all.scss +7 -0
- data/scss/bitstyles/base/_figure.scss +1 -1
- data/scss/bitstyles/base/_forms.scss +31 -26
- data/scss/bitstyles/base/_hr.scss +1 -1
- data/scss/bitstyles/base/_images.scss +1 -1
- data/scss/bitstyles/base/_link.scss +2 -14
- data/scss/bitstyles/base/_media.scss +2 -2
- data/scss/bitstyles/base/_typography.scss +37 -89
- data/scss/bitstyles/components/_expander.scss +8 -5
- data/scss/bitstyles/components/_modal.scss +41 -26
- data/scss/bitstyles/generic/_all.scss +2 -0
- data/scss/bitstyles/layout/_content.scss +7 -3
- data/scss/bitstyles/layout/_grid.scss +46 -23
- data/scss/bitstyles/layout/_topbar.scss +19 -4
- data/scss/bitstyles/layout/_width.scss +18 -11
- data/scss/bitstyles/objects/_absolute-center.scss +8 -2
- data/scss/bitstyles/objects/_absolute-cover.scss +11 -2
- data/scss/bitstyles/objects/_block.scss +5 -2
- data/scss/bitstyles/objects/_bordered-header.scss +8 -3
- data/scss/bitstyles/objects/_break-long-words.scss +6 -3
- data/scss/bitstyles/objects/_button--icon.scss +8 -4
- data/scss/bitstyles/objects/_button.scss +22 -13
- data/scss/bitstyles/objects/_clearfix.scss +7 -4
- data/scss/bitstyles/objects/_fixed-ratio.scss +24 -9
- data/scss/bitstyles/objects/_flex.scss +12 -8
- data/scss/bitstyles/objects/_hidden.scss +10 -7
- data/scss/bitstyles/objects/_icon.scss +19 -11
- data/scss/bitstyles/objects/_input.scss +16 -9
- data/scss/bitstyles/objects/_label.scss +2 -2
- data/scss/bitstyles/objects/_link.scss +18 -15
- data/scss/bitstyles/objects/_list-inline.scss +26 -0
- data/scss/bitstyles/objects/_list-reset.scss +5 -3
- data/scss/bitstyles/objects/_media.scss +9 -2
- data/scss/bitstyles/objects/_object-cover.scss +20 -0
- data/scss/bitstyles/objects/_overflow.scss +20 -0
- data/scss/bitstyles/objects/_truncate-with-ellipsis.scss +4 -3
- data/scss/bitstyles/objects/_typography.scss +8 -62
- data/scss/bitstyles/objects/_vertical-center.scss +5 -2
- data/scss/bitstyles/objects/_visuallyhidden.scss +10 -6
- data/scss/bitstyles/settings/_button.scss +1 -1
- data/scss/bitstyles/settings/_content.scss +2 -3
- data/scss/bitstyles/settings/_fixed-ratio.scss +3 -0
- data/scss/bitstyles/settings/_global.breakpoints.scss +5 -5
- data/scss/bitstyles/settings/_global.color-palette.scss +47 -0
- data/scss/bitstyles/settings/_global.layout.scss +7 -5
- data/scss/bitstyles/settings/_global.typography.scss +25 -17
- data/scss/bitstyles/settings/_grid.scss +1 -1
- data/scss/bitstyles/settings/_hidden.scss +1 -1
- data/scss/bitstyles/settings/_icon.scss +3 -3
- data/scss/bitstyles/settings/_input.scss +4 -4
- data/scss/bitstyles/settings/_link.scss +4 -0
- data/scss/bitstyles/settings/_modal.scss +2 -1
- data/scss/bitstyles/settings/_topbar.scss +4 -2
- data/scss/bitstyles/settings/_visuallyhidden.scss +1 -1
- data/scss/bitstyles/settings/_width.scss +1 -1
- data/scss/bitstyles/tools/_absolute-center.scss +8 -3
- data/scss/bitstyles/tools/_absolute-cover.scss +8 -2
- data/scss/bitstyles/tools/_all.scss +23 -0
- data/scss/bitstyles/tools/_block.scss +5 -2
- data/scss/bitstyles/tools/_break-long-words.scss +6 -2
- data/scss/bitstyles/tools/_clearfix.scss +7 -2
- data/scss/bitstyles/tools/_fixed-ratio.scss +41 -4
- data/scss/bitstyles/tools/_flex.scss +7 -3
- data/scss/bitstyles/tools/_font-face.scss +11 -2
- data/scss/bitstyles/tools/_hidden.scss +5 -2
- data/scss/bitstyles/tools/_link.scss +25 -0
- data/scss/bitstyles/tools/_list-reset.scss +7 -3
- data/scss/bitstyles/tools/_media-query.scss +14 -7
- data/scss/bitstyles/tools/_media.scss +10 -3
- data/scss/bitstyles/tools/_overflow.scss +19 -0
- data/scss/bitstyles/tools/_palette.scss +28 -0
- data/scss/bitstyles/tools/_spacing.scss +22 -0
- data/scss/bitstyles/tools/_truncate-with-ellipsis.scss +7 -3
- data/scss/bitstyles/tools/_typography-conversions.scss +20 -7
- data/scss/bitstyles/tools/_typography.scss +124 -5
- data/scss/bitstyles/tools/_vertical-center.scss +5 -2
- data/scss/bitstyles/tools/_visuallyhidden.scss +9 -6
- data/scss/bitstyles/tools/_width.scss +10 -1
- data/scss/bitstyles/tools/_zindex.scss +34 -14
- data/scss/bitstyles/trumps/_background-color.scss +8 -3
- data/scss/bitstyles/trumps/_color.scss +8 -3
- data/scss/bitstyles/trumps/_margin.scss +5 -5
- data/scss/bitstyles/trumps/_no-margin.scss +5 -5
- data/scss/bitstyles/trumps/_no-padding.scss +5 -5
- data/scss/bitstyles/trumps/_padding.scss +5 -5
- data/scss/bitstyles/trumps/_text-align.scss +3 -4
- data/scss/bitstyles/trumps/_text-style.scss +4 -2
- data/scss/bitstyles/trumps/_text-weight.scss +6 -3
- data/yarn.lock +6511 -0
- metadata +16 -14
- data/build/.gitignore +0 -4
- data/scripts/styleguide.sh +0 -16
- data/scss/bitstyles/objects/_expander.scss +0 -45
- data/scss/bitstyles/settings/_global.color-theme.scss +0 -11
data/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bitstyles",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "The Bitcrowd CSS library",
|
|
5
5
|
"main": "bitstyles.scss",
|
|
6
6
|
"scripts": {
|
|
@@ -10,25 +10,30 @@
|
|
|
10
10
|
"lint:js": "eslint .",
|
|
11
11
|
"lint": "npm run lint:scss && npm run lint:js",
|
|
12
12
|
|
|
13
|
-
"test:build": "npm run test:build:base
|
|
13
|
+
"test:build": "npm run test:build:base; npm run test:build:objects; npm run test:build:layout; npm run test:build:components; npm run test:build:trumps",
|
|
14
14
|
"test:build:base": "backstop reference --configPath=test/backstop_tests/base.json",
|
|
15
15
|
"test:build:objects": "backstop reference --configPath=test/backstop_tests/objects.json",
|
|
16
16
|
"test:build:layout": "backstop reference --configPath=test/backstop_tests/layout.json",
|
|
17
17
|
"test:build:components": "backstop reference --configPath=test/backstop_tests/components.json",
|
|
18
18
|
"test:build:trumps": "backstop reference --configPath=test/backstop_tests/trumps.json",
|
|
19
19
|
|
|
20
|
-
"test": "npm run test:base
|
|
20
|
+
"test": "npm run test:base; npm run test:layout; npm run test:objects; npm run test:components; npm run test:trumps",
|
|
21
21
|
"test:base": "backstop test --configPath=test/backstop_tests/base.json",
|
|
22
22
|
"test:objects": "backstop test --configPath=test/backstop_tests/objects.json",
|
|
23
23
|
"test:layout": "backstop test --configPath=test/backstop_tests/layout.json",
|
|
24
24
|
"test:components": "backstop test --configPath=test/backstop_tests/components.json",
|
|
25
25
|
"test:trumps": "backstop test --configPath=test/backstop_tests/trumps.json",
|
|
26
26
|
|
|
27
|
-
"checks": "npm run lint && npm run test",
|
|
27
|
+
"checks": "npm run lint && npm run css:stats && npm run test",
|
|
28
|
+
|
|
28
29
|
"prestyleguide": "npm run build && cat build/bitstyles.css styleguide/assets/stylesheets/styleguide-extras.css > build/bitstyles_styleguide.css",
|
|
29
|
-
"styleguide": "scripts/styleguide
|
|
30
|
+
"styleguide": "scripts/styleguide-server",
|
|
31
|
+
"prestyleguide:build": "npm run build && cat build/bitstyles.css styleguide/assets/stylesheets/styleguide-extras.css > build/bitstyles_styleguide.css",
|
|
32
|
+
"styleguide:build": "scripts/styleguide-build",
|
|
33
|
+
|
|
30
34
|
"watch": "npm run build && npm run build -- --watch --recursive",
|
|
31
35
|
"clean": "rimraf build/*",
|
|
36
|
+
|
|
32
37
|
"precss:stats": "npm run build",
|
|
33
38
|
"css:stats": "parker build/bitstyles.css --format=json > test/css-stats.json",
|
|
34
39
|
"precss:graph": "npm run build",
|
|
@@ -60,24 +65,23 @@
|
|
|
60
65
|
},
|
|
61
66
|
"homepage": "https://github.com/bitcrowd/bitstyles#readme",
|
|
62
67
|
"devDependencies": {
|
|
63
|
-
"autoprefixer": "^6.
|
|
64
|
-
"cssnano": "^3.
|
|
65
|
-
"eslint": "^3.
|
|
66
|
-
"eslint-config-bitcrowd": "0.0.3",
|
|
68
|
+
"autoprefixer": "^6.6.1",
|
|
69
|
+
"cssnano": "^3.10.0",
|
|
70
|
+
"eslint": "^3.13.1",
|
|
67
71
|
"eslint-config-bitcrowd-base": "^8.0.0",
|
|
68
|
-
"eslint-plugin-import": "^
|
|
69
|
-
"node-sass": "^3.
|
|
72
|
+
"eslint-plugin-import": "^2.2.0",
|
|
73
|
+
"node-sass": "^4.3.0",
|
|
70
74
|
"parker": "1.0.0-alpha.0",
|
|
71
|
-
"postcss": "^5.2.
|
|
75
|
+
"postcss": "^5.2.10",
|
|
72
76
|
"postcss-bem-linter": "^2.6.0",
|
|
73
77
|
"postcss-cli": "^2.6.0",
|
|
74
|
-
"postcss-reporter": "^
|
|
75
|
-
"postcss-scss": "^0.
|
|
78
|
+
"postcss-reporter": "^3.0.0",
|
|
79
|
+
"postcss-scss": "^0.4.0",
|
|
76
80
|
"rimraf": "^2.5.4",
|
|
77
|
-
"sc5-styleguide": "^1.
|
|
81
|
+
"sc5-styleguide": "^1.5.0",
|
|
78
82
|
"specificity-graph": "^0.1.7",
|
|
79
|
-
"stylelint": "^7.
|
|
80
|
-
"stylelint-config-
|
|
83
|
+
"stylelint": "^7.7.1",
|
|
84
|
+
"stylelint-config-bitcrowd": "^1.1.0"
|
|
81
85
|
},
|
|
82
86
|
"files": [
|
|
83
87
|
"scss"
|
data/scss/bitstyles.scss
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/* stylelint-disable max-empty-lines */
|
|
2
2
|
// SETTINGS
|
|
3
|
-
// Global settings
|
|
3
|
+
// **Global settings**.
|
|
4
|
+
//
|
|
5
|
+
// These are just the variables required at a global level. Settings for each layout,
|
|
6
|
+
// object, and component class are imported within those respective Sass files.
|
|
4
7
|
//
|
|
5
8
|
// * No CSS output *
|
|
6
9
|
|
|
@@ -12,7 +15,7 @@
|
|
|
12
15
|
@import 'bitstyles/settings/global.breakpoints';
|
|
13
16
|
@import 'bitstyles/settings/global.animation';
|
|
14
17
|
@import 'bitstyles/settings/global.color-base';
|
|
15
|
-
@import 'bitstyles/settings/global.color-
|
|
18
|
+
@import 'bitstyles/settings/global.color-palette';
|
|
16
19
|
@import 'bitstyles/settings/global.typography';
|
|
17
20
|
//
|
|
18
21
|
// ******** Add global settings for your own project here ********
|
|
@@ -21,68 +24,52 @@
|
|
|
21
24
|
|
|
22
25
|
// Tools: Functions & Mixins
|
|
23
26
|
//
|
|
24
|
-
// Mixins and functions
|
|
27
|
+
// **Mixins and functions**.
|
|
28
|
+
//
|
|
29
|
+
// Includes mixins we later use to build objects e.g. at different breakpoints,
|
|
25
30
|
// and some we use only in the background as utilities.
|
|
26
|
-
// * No CSS output *
|
|
27
31
|
//
|
|
28
|
-
//
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
@import 'bitstyles/tools/
|
|
32
|
-
@import 'bitstyles/tools/media-query';
|
|
33
|
-
@import 'bitstyles/tools/absolute-center';
|
|
34
|
-
@import 'bitstyles/tools/vertical-center';
|
|
35
|
-
@import 'bitstyles/tools/break-long-words';
|
|
36
|
-
@import 'bitstyles/tools/truncate-with-ellipsis';
|
|
37
|
-
@import 'bitstyles/tools/clearfix';
|
|
38
|
-
@import 'bitstyles/tools/hidden';
|
|
39
|
-
@import 'bitstyles/tools/visuallyhidden';
|
|
40
|
-
@import 'bitstyles/tools/list-reset';
|
|
41
|
-
@import 'bitstyles/tools/font-face';
|
|
42
|
-
@import 'bitstyles/tools/width';
|
|
43
|
-
@import 'bitstyles/tools/typography';
|
|
44
|
-
@import 'bitstyles/tools/typography-conversions';
|
|
45
|
-
@import 'bitstyles/tools/block';
|
|
46
|
-
@import 'bitstyles/tools/flex';
|
|
47
|
-
@import 'bitstyles/tools/media';
|
|
32
|
+
// **No CSS output**
|
|
33
|
+
//
|
|
34
|
+
// Styleguide 1.0
|
|
35
|
+
@import 'bitstyles/tools/all';
|
|
48
36
|
//
|
|
49
37
|
// ******** Add project-specific tools here ********
|
|
50
38
|
//
|
|
51
39
|
|
|
52
40
|
|
|
53
41
|
// ******** GENERIC
|
|
54
|
-
//
|
|
55
|
-
@import 'bitstyles/generic/
|
|
56
|
-
@import 'bitstyles/generic/normalize';
|
|
42
|
+
// These are the low-specificity, far-reaching rulesets (e.g. resets, normalise.css, box-sizing).
|
|
43
|
+
@import 'bitstyles/generic/all';
|
|
57
44
|
|
|
58
45
|
// Base
|
|
59
46
|
//
|
|
60
|
-
//
|
|
47
|
+
// Here we’re styling unclassed html elements directly e.g. `<a>`, `<blockquote>`
|
|
48
|
+
// `<address>`.
|
|
61
49
|
//
|
|
62
50
|
// sg-wrapper:
|
|
63
51
|
// <div class="object-section">
|
|
64
52
|
// <sg-wrapper-content/>
|
|
65
53
|
// </div>
|
|
66
54
|
//
|
|
67
|
-
// Styleguide
|
|
68
|
-
@import 'bitstyles/base/
|
|
69
|
-
@import 'bitstyles/base/link';
|
|
70
|
-
@import 'bitstyles/base/images';
|
|
71
|
-
@import 'bitstyles/base/forms'; // FOR TESTING ONLY - Empty of styles
|
|
72
|
-
@import 'bitstyles/base/media'; // FOR TESTING ONLY - Empty of styles
|
|
73
|
-
@import 'bitstyles/base/hr'; // FOR TESTING ONLY - Empty of styles
|
|
74
|
-
@import 'bitstyles/base/figure'; // FOR TESTING ONLY - Empty of styles
|
|
55
|
+
// Styleguide 2.0
|
|
56
|
+
@import 'bitstyles/base/all';
|
|
75
57
|
|
|
76
58
|
// Layout
|
|
77
59
|
//
|
|
78
|
-
//
|
|
60
|
+
// **Create the high-level layout of a page**.
|
|
61
|
+
//
|
|
62
|
+
// Classes that take care of common layouts e.g. centred page content with some
|
|
63
|
+
// padding at the sides so content doesn’t hit viewport edges, HTML grid system.
|
|
64
|
+
//
|
|
65
|
+
// Layout classes should be selectively imported.
|
|
79
66
|
//
|
|
80
67
|
// sg-wrapper:
|
|
81
68
|
// <div class="object-section">
|
|
82
69
|
// <sg-wrapper-content/>
|
|
83
70
|
// </div>
|
|
84
71
|
//
|
|
85
|
-
// Styleguide
|
|
72
|
+
// Styleguide 3.0
|
|
86
73
|
@import 'bitstyles/layout/content';
|
|
87
74
|
@import 'bitstyles/layout/grid';
|
|
88
75
|
@import 'bitstyles/layout/width';
|
|
@@ -90,15 +77,23 @@
|
|
|
90
77
|
|
|
91
78
|
// Objects
|
|
92
79
|
//
|
|
93
|
-
// Objects, abstractions, and design patterns
|
|
94
|
-
//
|
|
80
|
+
// **Objects, abstractions, and design patterns**
|
|
81
|
+
// (e.g. .o-media, .o-icon, .o-button).
|
|
82
|
+
//
|
|
83
|
+
// Relatively cosmetic-free (colours can be specified by overriding relevant variables),
|
|
84
|
+
// the object classes are layout patterns intended to be reused throughout the site
|
|
85
|
+
// and composed together as needed.
|
|
86
|
+
//
|
|
87
|
+
// e.g. `<button class="o-button o-truncate-with-ellipsis"></button>` to create
|
|
88
|
+
// a clickable button with interactive states, a large click area, and button-y
|
|
89
|
+
// appearance, that also truncates its text when it’s too long for the button width.
|
|
95
90
|
//
|
|
96
91
|
// sg-wrapper:
|
|
97
92
|
// <div class="object-section">
|
|
98
93
|
// <sg-wrapper-content/>
|
|
99
94
|
// </div>
|
|
100
95
|
//
|
|
101
|
-
// Styleguide
|
|
96
|
+
// Styleguide 4.0
|
|
102
97
|
@import 'bitstyles/objects/icon';
|
|
103
98
|
@import 'bitstyles/objects/button';
|
|
104
99
|
@import 'bitstyles/objects/button--icon';
|
|
@@ -113,6 +108,7 @@
|
|
|
113
108
|
@import 'bitstyles/objects/visuallyhidden';
|
|
114
109
|
@import 'bitstyles/objects/flex';
|
|
115
110
|
@import 'bitstyles/objects/bordered-header';
|
|
111
|
+
@import 'bitstyles/objects/list-inline';
|
|
116
112
|
@import 'bitstyles/objects/list-reset';
|
|
117
113
|
@import 'bitstyles/objects/typography';
|
|
118
114
|
@import 'bitstyles/objects/media';
|
|
@@ -120,6 +116,8 @@
|
|
|
120
116
|
@import 'bitstyles/objects/input';
|
|
121
117
|
@import 'bitstyles/objects/label';
|
|
122
118
|
@import 'bitstyles/objects/link';
|
|
119
|
+
@import 'bitstyles/objects/overflow';
|
|
120
|
+
@import 'bitstyles/objects/object-cover';
|
|
123
121
|
//
|
|
124
122
|
// ******** Add project-specific low-level objects here ********
|
|
125
123
|
//
|
|
@@ -127,14 +125,19 @@
|
|
|
127
125
|
|
|
128
126
|
// Components
|
|
129
127
|
//
|
|
130
|
-
// Chunks of UI
|
|
128
|
+
// **Chunks of UI and structure for a reusable page element**
|
|
129
|
+
//
|
|
130
|
+
// Normally containing smaller objects e.g. a header or sidebar element.
|
|
131
|
+
//
|
|
132
|
+
// These are quite project-specific so bitstyles only includes a few very
|
|
133
|
+
// generally-used components such as modals.
|
|
131
134
|
//
|
|
132
135
|
// sg-wrapper:
|
|
133
136
|
// <div class="object-section">
|
|
134
137
|
// <sg-wrapper-content/>
|
|
135
138
|
// </div>
|
|
136
139
|
//
|
|
137
|
-
// Styleguide
|
|
140
|
+
// Styleguide 5.0
|
|
138
141
|
@import 'bitstyles/components/modal';
|
|
139
142
|
@import 'bitstyles/components/expander';
|
|
140
143
|
//
|
|
@@ -144,14 +147,19 @@
|
|
|
144
147
|
|
|
145
148
|
// Trumps
|
|
146
149
|
//
|
|
147
|
-
// High-specificity overrides and helper classes
|
|
150
|
+
// **High-specificity overrides and helper classes**
|
|
151
|
+
// These can be used to create exceptions to an object or component’s standard styles
|
|
152
|
+
// e.g. `.t-margin--left` to add margin to an element that would otherwise have
|
|
153
|
+
// margin set to zero.
|
|
154
|
+
//
|
|
155
|
+
// `!important` sometimes exists here, and that’s ok as no styles should follow this section.
|
|
148
156
|
//
|
|
149
157
|
// sg-wrapper:
|
|
150
158
|
// <div class="object-section">
|
|
151
159
|
// <sg-wrapper-content/>
|
|
152
160
|
// </div>
|
|
153
161
|
//
|
|
154
|
-
// Styleguide
|
|
162
|
+
// Styleguide 6.0
|
|
155
163
|
@import 'bitstyles/trumps/text-weight';
|
|
156
164
|
@import 'bitstyles/trumps/text-align';
|
|
157
165
|
@import 'bitstyles/trumps/text-style';
|
|
@@ -1,48 +1,53 @@
|
|
|
1
|
+
/* stylelint-disable selector-no-type */
|
|
1
2
|
// Forms
|
|
2
3
|
//
|
|
3
|
-
// Styleguide
|
|
4
|
+
// Styleguide 2.2
|
|
4
5
|
|
|
5
6
|
// fieldset
|
|
6
7
|
//
|
|
7
8
|
// markup:
|
|
8
9
|
// <fieldset><legend>Fieldset</legend></fieldset>
|
|
9
10
|
//
|
|
10
|
-
// Styleguide
|
|
11
|
+
// Styleguide 2.2.1
|
|
11
12
|
|
|
12
13
|
// input - text
|
|
13
14
|
//
|
|
14
15
|
// markup:
|
|
15
16
|
// <input type="text" placeholder="Jelly cake marshmallow">
|
|
16
17
|
//
|
|
17
|
-
// Styleguide
|
|
18
|
+
// Styleguide 2.2.2
|
|
18
19
|
|
|
19
20
|
// input - email
|
|
20
21
|
//
|
|
21
22
|
// markup:
|
|
22
23
|
// <input type="email" placeholder="jellycake@marshmallow.com">
|
|
23
24
|
//
|
|
24
|
-
// Styleguide
|
|
25
|
+
// Styleguide 2.2.3
|
|
25
26
|
|
|
26
27
|
// input - number
|
|
27
28
|
//
|
|
28
29
|
// markup:
|
|
29
30
|
// <input type="number" placeholder="123456789">
|
|
30
31
|
//
|
|
31
|
-
// Styleguide
|
|
32
|
+
// Styleguide 2.2.4
|
|
32
33
|
|
|
33
34
|
// input - range
|
|
34
35
|
//
|
|
35
36
|
// markup:
|
|
36
37
|
// <input type="range" min="0" max="10" step="1">
|
|
37
38
|
//
|
|
38
|
-
// Styleguide
|
|
39
|
+
// Styleguide 2.2.5
|
|
39
40
|
|
|
40
41
|
// textarea
|
|
41
42
|
//
|
|
42
43
|
// markup:
|
|
43
44
|
// <textarea>Jelly cake marshmallow. Pie cotton candy chupa chups marzipan liquorice cheesecake wafer.</textarea>
|
|
44
45
|
//
|
|
45
|
-
// Styleguide
|
|
46
|
+
// Styleguide 2.2.6
|
|
47
|
+
|
|
48
|
+
textarea {
|
|
49
|
+
resize: vertical;
|
|
50
|
+
}
|
|
46
51
|
|
|
47
52
|
// select
|
|
48
53
|
//
|
|
@@ -53,130 +58,130 @@
|
|
|
53
58
|
// <option value="value3">Value 3</option>
|
|
54
59
|
// </select>
|
|
55
60
|
//
|
|
56
|
-
// Styleguide
|
|
61
|
+
// Styleguide 2.2.7
|
|
57
62
|
|
|
58
63
|
// label
|
|
59
64
|
//
|
|
60
65
|
// markup:
|
|
61
66
|
// <label>Jelly cake marshmallow. Pie cotton candy chupa chups marzipan liquorice cheesecake wafer.</label>
|
|
62
67
|
//
|
|
63
|
-
// Styleguide
|
|
68
|
+
// Styleguide 2.2.8
|
|
64
69
|
|
|
65
70
|
// input - radio
|
|
66
71
|
//
|
|
67
72
|
// markup:
|
|
68
73
|
// <input type="radio">
|
|
69
74
|
//
|
|
70
|
-
// Styleguide
|
|
75
|
+
// Styleguide 2.2.9
|
|
71
76
|
|
|
72
77
|
// input - checkbox
|
|
73
78
|
//
|
|
74
79
|
// markup:
|
|
75
80
|
// <input type="checkbox">
|
|
76
81
|
//
|
|
77
|
-
// Styleguide
|
|
82
|
+
// Styleguide 2.2.10
|
|
78
83
|
|
|
79
84
|
// input - button
|
|
80
85
|
//
|
|
81
86
|
// markup:
|
|
82
87
|
// <input type="button" value="Button">
|
|
83
88
|
//
|
|
84
|
-
// Styleguide
|
|
89
|
+
// Styleguide 2.2.11
|
|
85
90
|
|
|
86
91
|
// input - color
|
|
87
92
|
//
|
|
88
93
|
// markup:
|
|
89
94
|
// <input type="color">
|
|
90
95
|
//
|
|
91
|
-
// Styleguide
|
|
96
|
+
// Styleguide 2.2.12
|
|
92
97
|
|
|
93
98
|
// input - date
|
|
94
99
|
//
|
|
95
100
|
// markup:
|
|
96
101
|
// <input type="date">
|
|
97
102
|
//
|
|
98
|
-
// Styleguide
|
|
103
|
+
// Styleguide 2.2.13
|
|
99
104
|
|
|
100
105
|
// input - datetime-local
|
|
101
106
|
//
|
|
102
107
|
// markup:
|
|
103
108
|
// <input type="datetime-local">
|
|
104
109
|
//
|
|
105
|
-
// Styleguide
|
|
110
|
+
// Styleguide 2.2.14
|
|
106
111
|
|
|
107
112
|
// input - file
|
|
108
113
|
//
|
|
109
114
|
// markup:
|
|
110
115
|
// <input type="file">
|
|
111
116
|
//
|
|
112
|
-
// Styleguide
|
|
117
|
+
// Styleguide 2.2.15
|
|
113
118
|
|
|
114
119
|
// input - image
|
|
115
120
|
//
|
|
116
121
|
// markup:
|
|
117
122
|
// <input type="image" src="assets/images/placeholder_button.png" alt="Image">
|
|
118
123
|
//
|
|
119
|
-
// Styleguide
|
|
124
|
+
// Styleguide 2.2.16
|
|
120
125
|
|
|
121
126
|
// input - month
|
|
122
127
|
//
|
|
123
128
|
// markup:
|
|
124
129
|
// <input type="month">
|
|
125
130
|
//
|
|
126
|
-
// Styleguide
|
|
131
|
+
// Styleguide 2.2.17
|
|
127
132
|
|
|
128
133
|
// input - password
|
|
129
134
|
//
|
|
130
135
|
// markup:
|
|
131
136
|
// <input type="password" value="Password">
|
|
132
137
|
//
|
|
133
|
-
// Styleguide
|
|
138
|
+
// Styleguide 2.2.18
|
|
134
139
|
|
|
135
140
|
// input - reset
|
|
136
141
|
//
|
|
137
142
|
// markup:
|
|
138
143
|
// <input type="reset">
|
|
139
144
|
//
|
|
140
|
-
// Styleguide
|
|
145
|
+
// Styleguide 2.2.19
|
|
141
146
|
|
|
142
147
|
// input - search
|
|
143
148
|
//
|
|
144
149
|
// markup:
|
|
145
150
|
// <input type="search">
|
|
146
151
|
//
|
|
147
|
-
// Styleguide
|
|
152
|
+
// Styleguide 2.2.20
|
|
148
153
|
|
|
149
154
|
// input - submit
|
|
150
155
|
//
|
|
151
156
|
// markup:
|
|
152
157
|
// <input type="submit" value="Submit">
|
|
153
158
|
//
|
|
154
|
-
// Styleguide
|
|
159
|
+
// Styleguide 2.2.21
|
|
155
160
|
|
|
156
161
|
// input - tel
|
|
157
162
|
//
|
|
158
163
|
// markup:
|
|
159
164
|
// <input type="tel">
|
|
160
165
|
//
|
|
161
|
-
// Styleguide
|
|
166
|
+
// Styleguide 2.2.22
|
|
162
167
|
|
|
163
168
|
// input - time
|
|
164
169
|
//
|
|
165
170
|
// markup:
|
|
166
171
|
// <input type="time">
|
|
167
172
|
//
|
|
168
|
-
// Styleguide
|
|
173
|
+
// Styleguide 2.2.23
|
|
169
174
|
|
|
170
175
|
// input - url
|
|
171
176
|
//
|
|
172
177
|
// markup:
|
|
173
178
|
// <input type="url">
|
|
174
179
|
//
|
|
175
|
-
// Styleguide
|
|
180
|
+
// Styleguide 2.2.24
|
|
176
181
|
|
|
177
182
|
// input - week
|
|
178
183
|
//
|
|
179
184
|
// markup:
|
|
180
185
|
// <input type="week">
|
|
181
186
|
//
|
|
182
|
-
// Styleguide
|
|
187
|
+
// Styleguide 2.2.25
|