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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e48b5f45c2753571692f1e89ad8c0c475d1cb1ee410de5db9b0dabd440876237
4
- data.tar.gz: 8699e04814f358a44d953ffc7f709de4a848ccbd7e5376bd93a0616ce62741f9
3
+ metadata.gz: 2cc2b823e2aa5a980eda328fa79021e15ff4a0b9a0258701fc128638e481e5ed
4
+ data.tar.gz: 3ce7bccbc76a083692e09780c26eb13668cff7e538a352f35305e11e55830f68
5
5
  SHA512:
6
- metadata.gz: 9de06aebbebb8951a25502ada6a24962e73714fb40e5f1a26d18edba482ed10702d7b705bcc7e8096ae3c2f095b57a7a64e80b214d42cc04dc9f1f4dee3dd455
7
- data.tar.gz: c2fa489c3acbb8ec16f0a247a89c517e492d4d80c289f3544181af88a281b3812b2eea1865a1f34e2e6e9f31704703f356d1ab4c3d174e543d680749a021fb2c
6
+ metadata.gz: 73f3a0daff0c2e4deed3578cc9ca304aff49017b27f5ede455e50f1bc38d1141df72a96a3954d4b5935c51de8883e4ca2b1c3a7756876d7b6c2749d09131a605
7
+ data.tar.gz: 0d7859f5f15d07b60378bde18a99428b444fa5473ff362009bc343a2d95963e065814ca59ed8ecab431523d14c242072495ad3b43ec0dee7a915a00413fc107e
@@ -1,3 +1,3 @@
1
1
  module BaselineScss
2
- VERSION = '0.3.1'.freeze
2
+ VERSION = '0.3.3'.freeze
3
3
  end
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
 
@@ -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.1
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-02-22 00:00:00.000000000 Z
11
+ date: 2023-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake