mirror of https://github.com/zulip/zulip.git
css: Remove bootstrap CSS rules for textarea elements.
We remove bootstrap CSS rules for textarea elements from bootstrap.css file since we already added required CSS rules to the individual elements.
This commit is contained in:
parent
26b7e40ac5
commit
c31dc14e9d
|
@ -54,8 +54,7 @@ img {
|
||||||
}
|
}
|
||||||
button,
|
button,
|
||||||
input,
|
input,
|
||||||
select,
|
select {
|
||||||
textarea {
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
@ -96,10 +95,6 @@ input[type="search"]::-webkit-search-decoration,
|
||||||
input[type="search"]::-webkit-search-cancel-button {
|
input[type="search"]::-webkit-search-cancel-button {
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
}
|
}
|
||||||
textarea {
|
|
||||||
overflow: auto;
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
@media print {
|
@media print {
|
||||||
* {
|
* {
|
||||||
text-shadow: none !important;
|
text-shadow: none !important;
|
||||||
|
@ -534,16 +529,14 @@ fieldset {
|
||||||
label,
|
label,
|
||||||
input,
|
input,
|
||||||
button,
|
button,
|
||||||
select,
|
select {
|
||||||
textarea {
|
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
}
|
}
|
||||||
input,
|
input,
|
||||||
button,
|
button,
|
||||||
select,
|
select {
|
||||||
textarea {
|
|
||||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
}
|
}
|
||||||
label {
|
label {
|
||||||
|
@ -551,7 +544,6 @@ label {
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
select,
|
select,
|
||||||
textarea,
|
|
||||||
input[type="text"],
|
input[type="text"],
|
||||||
input[type="password"],
|
input[type="password"],
|
||||||
input[type="datetime"],
|
input[type="datetime"],
|
||||||
|
@ -577,14 +569,9 @@ input[type="color"] {
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
input,
|
input {
|
||||||
textarea {
|
|
||||||
width: 206px;
|
width: 206px;
|
||||||
}
|
}
|
||||||
textarea {
|
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
textarea,
|
|
||||||
input[type="text"],
|
input[type="text"],
|
||||||
input[type="password"],
|
input[type="password"],
|
||||||
input[type="datetime"],
|
input[type="datetime"],
|
||||||
|
@ -608,7 +595,6 @@ input[type="color"] {
|
||||||
-o-transition: border linear .2s, box-shadow linear .2s;
|
-o-transition: border linear .2s, box-shadow linear .2s;
|
||||||
transition: border linear .2s, box-shadow linear .2s;
|
transition: border linear .2s, box-shadow linear .2s;
|
||||||
}
|
}
|
||||||
textarea:focus,
|
|
||||||
input[type="text"]:focus,
|
input[type="text"]:focus,
|
||||||
input[type="password"]:focus,
|
input[type="password"]:focus,
|
||||||
input[type="datetime"]:focus,
|
input[type="datetime"]:focus,
|
||||||
|
@ -675,16 +661,13 @@ input[type="checkbox"]:focus {
|
||||||
outline: 5px auto -webkit-focus-ring-color;
|
outline: 5px auto -webkit-focus-ring-color;
|
||||||
outline-offset: -2px;
|
outline-offset: -2px;
|
||||||
}
|
}
|
||||||
input:-moz-placeholder,
|
input:-moz-placeholder {
|
||||||
textarea:-moz-placeholder {
|
|
||||||
color: #999999;
|
color: #999999;
|
||||||
}
|
}
|
||||||
input:-ms-input-placeholder,
|
input:-ms-input-placeholder {
|
||||||
textarea:-ms-input-placeholder {
|
|
||||||
color: #999999;
|
color: #999999;
|
||||||
}
|
}
|
||||||
input::-webkit-input-placeholder,
|
input::-webkit-input-placeholder {
|
||||||
textarea::-webkit-input-placeholder {
|
|
||||||
color: #999999;
|
color: #999999;
|
||||||
}
|
}
|
||||||
.checkbox {
|
.checkbox {
|
||||||
|
@ -710,16 +693,13 @@ textarea::-webkit-input-placeholder {
|
||||||
.input-xxlarge {
|
.input-xxlarge {
|
||||||
width: 530px;
|
width: 530px;
|
||||||
}
|
}
|
||||||
input,
|
input {
|
||||||
textarea {
|
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
input[disabled],
|
input[disabled],
|
||||||
select[disabled],
|
select[disabled],
|
||||||
textarea[disabled],
|
|
||||||
input[readonly],
|
input[readonly],
|
||||||
select[readonly],
|
select[readonly] {
|
||||||
textarea[readonly] {
|
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
background-color: #eeeeee;
|
background-color: #eeeeee;
|
||||||
}
|
}
|
||||||
|
@ -728,13 +708,11 @@ input[type="checkbox"][readonly] {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
input:focus:invalid,
|
input:focus:invalid,
|
||||||
textarea:focus:invalid,
|
|
||||||
select:focus:invalid {
|
select:focus:invalid {
|
||||||
color: #b94a48;
|
color: #b94a48;
|
||||||
border-color: #ee5f5b;
|
border-color: #ee5f5b;
|
||||||
}
|
}
|
||||||
input:focus:invalid:focus,
|
input:focus:invalid:focus,
|
||||||
textarea:focus:invalid:focus,
|
|
||||||
select:focus:invalid:focus {
|
select:focus:invalid:focus {
|
||||||
border-color: #e9322d;
|
border-color: #e9322d;
|
||||||
-webkit-box-shadow: 0 0 6px #f8b9b7;
|
-webkit-box-shadow: 0 0 6px #f8b9b7;
|
||||||
|
@ -827,8 +805,6 @@ input.search-query {
|
||||||
}
|
}
|
||||||
.form-inline input,
|
.form-inline input,
|
||||||
.form-horizontal input,
|
.form-horizontal input,
|
||||||
.form-inline textarea,
|
|
||||||
.form-horizontal textarea,
|
|
||||||
.form-inline select,
|
.form-inline select,
|
||||||
.form-horizontal select,
|
.form-horizontal select,
|
||||||
.form-inline .help-inline,
|
.form-inline .help-inline,
|
||||||
|
@ -1903,8 +1879,7 @@ button.close {
|
||||||
.row-fluid:after {
|
.row-fluid:after {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
input,
|
input {
|
||||||
textarea {
|
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1938,8 +1913,7 @@ button.close {
|
||||||
.row-fluid:after {
|
.row-fluid:after {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
input,
|
input {
|
||||||
textarea {
|
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue