settings: Re-add bootstrap CSS rules to ".settings_text_input" selector.

This commit re-adds bootstrap CSS rules to ".settings_text_input"
selector in settings.css and this helps in adding the bootstrap
CSS to text inputs used in settings.

This is a prep commit to remove bootstrap CSS for text type inputs.
This commit is contained in:
Sahil Batra
2023-06-22 19:36:19 +05:30
committed by Tim Abbott
parent 87fd7b3810
commit 96014c1123

View File

@@ -379,13 +379,6 @@ td .button {
}
}
.settings_text_input,
.settings_url_input {
/* 311px + 2 * 6px (padding) + 2 * 1px (border) = 325px (min width of select
elements in settings) */
width: 311px;
}
#admin-user-list,
#admin-bot-list {
.table tr:first-of-type td {
@@ -1967,7 +1960,8 @@ $option_title_width: 180px;
}
}
.settings_url_input {
.settings_url_input,
.settings_text_input {
padding: 4px 6px;
color: hsl(0deg 0% 33%);
border-radius: 4px;
@@ -1976,6 +1970,10 @@ $option_title_width: 180px;
transition: border linear 0.2s, box-shadow linear 0.2s;
margin-bottom: 10px;
/* 311px + 2 * 6px (padding) + 2 * 1px (border) = 325px (min width of select
elements in settings) */
width: 311px;
&:focus {
border-color: hsl(206deg 80% 62% / 80%);
outline: 0;