baseline-scss 0.3.1 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/baseline_scss/version.rb +1 -1
- data/src/_variables.scss +3 -0
- data/src/content/_forms.scss +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cc2b823e2aa5a980eda328fa79021e15ff4a0b9a0258701fc128638e481e5ed
|
4
|
+
data.tar.gz: 3ce7bccbc76a083692e09780c26eb13668cff7e538a352f35305e11e55830f68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73f3a0daff0c2e4deed3578cc9ca304aff49017b27f5ede455e50f1bc38d1141df72a96a3954d4b5935c51de8883e4ca2b1c3a7756876d7b6c2749d09131a605
|
7
|
+
data.tar.gz: 0d7859f5f15d07b60378bde18a99428b444fa5473ff362009bc343a2d95963e065814ca59ed8ecab431523d14c242072495ad3b43ec0dee7a915a00413fc107e
|
data/src/_variables.scss
CHANGED
@@ -99,12 +99,14 @@ $_half_floor: $_ - $_half_ceil !default;
|
|
99
99
|
--input_background_color_focus: var(--input_background_color);
|
100
100
|
--input_background_color_active: var(--input_background_color);
|
101
101
|
--input_background_color_disabled: #eee;
|
102
|
+
--input_background_color_read_only: var(--input_background_color_disabled);
|
102
103
|
|
103
104
|
--input_border_color: #767676;
|
104
105
|
--input_border_color_hover: #4f4f4f;
|
105
106
|
--input_border_color_focus: var(--input_border_color);
|
106
107
|
--input_border_color_active: #8d8d8d;
|
107
108
|
--input_border_color_disabled: #d0d0d0;
|
109
|
+
--input_border_color_read_only: var(--input_border_color_disabled);
|
108
110
|
|
109
111
|
--input_border_style: inset;
|
110
112
|
|
@@ -117,6 +119,7 @@ $_half_floor: $_ - $_half_ceil !default;
|
|
117
119
|
--input_color_focus: var(--input_color);
|
118
120
|
--input_color_active: var(--input_color);
|
119
121
|
--input_color_disabled: #b3b3b3;
|
122
|
+
--input_color_read_only: var(--input_color_disabled);
|
120
123
|
|
121
124
|
--input_height: calc(var(--_) * 2);
|
122
125
|
|
data/src/content/_forms.scss
CHANGED
@@ -62,6 +62,12 @@ select {
|
|
62
62
|
|
63
63
|
#{$all-text-inputs} {
|
64
64
|
padding: var(--input_padding);
|
65
|
+
|
66
|
+
&:read-only {
|
67
|
+
background-color: var(--input_background_color_read_only);
|
68
|
+
border-color: var(--input_border_color_read_only);
|
69
|
+
color: var(--input_color_read_only);
|
70
|
+
}
|
65
71
|
}
|
66
72
|
|
67
73
|
input[type='checkbox'],
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: baseline-scss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Susco
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|