bootstrap: Remove bootstrap CSS for url type inputs.

We use url type inputs in the add and edit custom field modals
and also to show the url type custom fields in "Profile" panel
and "Manage user" modal.

This commit re-adds the bootstrap CSS rules to these specific
input elements using modal_url_input and settings_url_input
class and thus removes the CSS for url type inputs from
bootstrap.css.

We might replace the new class added here with a common class
for all type of inputs in further commits.
This commit is contained in:
Sahil Batra
2023-06-19 15:01:39 +05:30
committed by Tim Abbott
parent 9cf214a7cb
commit a860e717bb
6 changed files with 25 additions and 10 deletions

View File

@@ -420,8 +420,7 @@ label {
display: block;
margin-bottom: 5px;
}
input[type="text"],
input[type="url"] {
input[type="text"] {
display: inline-block;
height: 20px;
padding: 4px 6px;
@@ -434,8 +433,7 @@ input[type="url"] {
border-radius: 4px;
vertical-align: middle;
}
input[type="text"],
input[type="url"] {
input[type="text"] {
background-color: #ffffff;
border: 1px solid #cccccc;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
@@ -446,8 +444,7 @@ input[type="url"] {
-o-transition: border linear .2s, box-shadow linear .2s;
transition: border linear .2s, box-shadow linear .2s;
}
input[type="text"]:focus,
input[type="url"]:focus {
input[type="text"]:focus {
border-color: rgba(82, 168, 236, 0.8);
outline: 0;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);