Skip to content

Commit 4f29d74

Browse files
authored
Merge pull request #441 from alexaveldanez/make-readonly-inputs-appear-disabled
Make readonly inputs appear disabled
2 parents 437fc55 + 8ddc921 commit 4f29d74

9 files changed

+1079
-1069
lines changed

dist/css/boxstarter.css

+5
Original file line numberDiff line numberDiff line change
@@ -56673,6 +56673,11 @@ textarea:disabled ~ .form-text {
5667356673
font-style: italic;
5667456674
}
5667556675

56676+
input[readonly]:not([data-td-target]),
56677+
textarea[readonly] {
56678+
background-color: var(--bs-tertiary-bg);
56679+
}
56680+
5667656681
/* stylelint-disable-next-line selector-class-pattern */
5667756682
.noUi-target {
5667856683
background: none;

dist/css/boxstarter.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/chocolatey.css

+6-10
Original file line numberDiff line numberDiff line change
@@ -51524,7 +51524,7 @@ readers do not read off random characters that represent icons */
5152451524
--fa: "\f3f6";
5152551525
}
5152651526

51527-
/*! @docsearch/css 3.8.3 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */
51527+
/*! @docsearch/css 3.8.2 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */
5152851528
:root {
5152951529
--docsearch-primary-color:#5468ff;
5153051530
--docsearch-text-color:#1c1e21;
@@ -51634,17 +51634,9 @@ html[data-theme=dark] {
5163451634
padding: 0 0 2px;
5163551635
position: relative;
5163651636
top: -1px;
51637-
transition-duration: 0.1s;
51638-
transition-property: all;
51639-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
5164051637
width: 20px;
5164151638
}
5164251639

51643-
@media (prefers-reduced-motion) {
51644-
.DocSearch-Button-Key {
51645-
transition: none;
51646-
}
51647-
}
5164851640
.DocSearch-Button-Key--pressed {
5164951641
box-shadow: var(--docsearch-key-pressed-shadow);
5165051642
transform: translate3d(0, 1px, 0);
@@ -51891,7 +51883,6 @@ html[data-theme=dark] {
5189151883
display: flex;
5189251884
padding-bottom: 4px;
5189351885
position: relative;
51894-
scroll-margin-top: 40px;
5189551886
}
5189651887

5189751888
@media screen and (prefers-reduced-motion: reduce) {
@@ -61294,6 +61285,11 @@ textarea:disabled ~ .form-text {
6129461285
font-style: italic;
6129561286
}
6129661287

61288+
input[readonly]:not([data-td-target]),
61289+
textarea[readonly] {
61290+
background-color: var(--bs-tertiary-bg);
61291+
}
61292+
6129761293
/* stylelint-disable-next-line selector-class-pattern */
6129861294
.noUi-target {
6129961295
background: none;

dist/css/chocolatey.min.css

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/zendesk.css

+5
Original file line numberDiff line numberDiff line change
@@ -46275,6 +46275,11 @@ textarea:disabled ~ .form-text {
4627546275
font-style: italic;
4627646276
}
4627746277

46278+
input[readonly]:not([data-td-target]),
46279+
textarea[readonly] {
46280+
background-color: var(--bs-tertiary-bg);
46281+
}
46282+
4627846283
/* stylelint-disable-next-line selector-class-pattern */
4627946284
.noUi-target {
4628046285
background: none;

dist/css/zendesk.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/docs.js

+1,039-1,040
Large diffs are not rendered by default.

dist/js/docs.min.js

+15-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scss/utilities/_inputs.scss

+5
Original file line numberDiff line numberDiff line change
@@ -182,3 +182,8 @@ input:disabled ~ label,
182182
textarea:disabled ~ .form-text {
183183
font-style: italic;
184184
}
185+
186+
input[readonly]:not([data-td-target]),
187+
textarea[readonly] {
188+
background-color: $input-disabled-bg;
189+
}

0 commit comments

Comments
 (0)