173 lines
4.8 KiB
CSS
173 lines
4.8 KiB
CSS
.input-group {
|
|
position: relative;
|
|
display: table;
|
|
border-collapse: separate;
|
|
}
|
|
.input-group[class*="col-"] {
|
|
float: none;
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
.input-group .form-control {
|
|
position: relative;
|
|
z-index: 2;
|
|
float: left;
|
|
width: 100%;
|
|
margin-bottom: 0;
|
|
}
|
|
.input-group-addon,
|
|
.input-group-btn,
|
|
.input-group .form-control {
|
|
display: table-cell;
|
|
}
|
|
.input-group-addon:not(:first-child):not(:last-child),
|
|
.input-group-btn:not(:first-child):not(:last-child),
|
|
.input-group .form-control:not(:first-child):not(:last-child) {
|
|
border-radius: 0;
|
|
}
|
|
.input-group-addon,
|
|
.input-group-btn {
|
|
width: 1%;
|
|
white-space: nowrap;
|
|
vertical-align: middle;
|
|
}
|
|
.input-group-addon {
|
|
padding: 5px 12px;
|
|
font-size: 13px;
|
|
font-weight: normal;
|
|
line-height: 1;
|
|
color: #222;
|
|
text-align: center;
|
|
background-color: #e5e5e5;
|
|
border: 1px solid #ccc;
|
|
/*border-radius: 4px;*/
|
|
}
|
|
.input-group-addon input[type="radio"],
|
|
.input-group-addon input[type="checkbox"] {
|
|
margin-top: 0;
|
|
}
|
|
.input-group-addon.fix-border {
|
|
border-left: 0;
|
|
border-right: 0;
|
|
}
|
|
.input-group-addon:empty {
|
|
padding: 0;
|
|
width: 1px;
|
|
}
|
|
.input-group-addon.fix-padding {
|
|
padding: 0;
|
|
width: 1px;
|
|
}
|
|
.input-group-btn.fix-border > .btn {
|
|
border-left: 0;
|
|
border-right: 0;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.input-group-addon:first-child {
|
|
border-right: 0;
|
|
}
|
|
.input-group-addon:last-child {
|
|
border-left: 0;
|
|
}
|
|
.input-group-addon + .input-group-addon {
|
|
border-left: 1px solid #ccc;
|
|
}
|
|
.input-group-btn {
|
|
position: relative;
|
|
font-size: 0;
|
|
white-space: nowrap;
|
|
}
|
|
.input-group-btn > .btn {
|
|
position: relative;
|
|
}
|
|
.input-group-btn > .btn + .btn {
|
|
margin-left: -1px;
|
|
}
|
|
.input-group-btn > .btn:hover,
|
|
.input-group-btn > .btn:focus,
|
|
.input-group-btn > .btn:active {
|
|
z-index: 2;
|
|
}
|
|
.input-group-btn:first-child > .btn,
|
|
.input-group-btn:first-child > .btn-group {
|
|
margin-right: -1px;
|
|
}
|
|
.input-group-btn:last-child > .btn,
|
|
.input-group-btn:last-child > .btn-group {
|
|
margin-left: -1px;
|
|
}
|
|
|
|
|
|
.form-control {
|
|
display: block;
|
|
width: 100%;
|
|
height: 40px;
|
|
padding: 5px 8px;
|
|
font-size: 13px;
|
|
line-height: 1.53846154;
|
|
color: #222;
|
|
background-color: #fff;
|
|
border: 1px solid #ccc;
|
|
/*border-radius: 4px;*/
|
|
-webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
|
|
box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
|
|
-webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
|
|
-o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
|
|
transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
|
|
transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
|
|
transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
|
|
}
|
|
|
|
.input-group .form-control:last-child,
|
|
.input-group-addon:last-child,
|
|
.input-group-btn:first-child>.btn-group-vertical:not(:first-child)>.btn,
|
|
.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,
|
|
.input-group-btn:first-child>.btn:not(:first-child),
|
|
.input-group-btn:last-child>.btn,
|
|
.input-group-btn:last-child>.btn-group-vertical>.btn,
|
|
.input-group-btn:last-child>.btn-group>.btn,
|
|
.input-group-btn:last-child>.dropdown-toggle {
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
}
|
|
|
|
.input-group .form-control:first-child,
|
|
.input-group-addon:first-child,
|
|
.input-group-btn:first-child>.btn,
|
|
.input-group-btn:first-child>.btn-group-vertical>.btn,
|
|
.input-group-btn:first-child>.btn-group>.btn,
|
|
.input-group-btn:first-child>.dropdown-toggle,
|
|
.input-group-btn:last-child>.btn-group-vertical:not(:last-child)>.btn,
|
|
.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,
|
|
.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle) {
|
|
border-top-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
}
|
|
|
|
.form-control {
|
|
display: block;
|
|
width: 100%;
|
|
height: 32px;
|
|
padding: 5px 8px;
|
|
font-size: 13px;
|
|
line-height: 1.53846154;
|
|
color: #222;
|
|
background-color: #fff;
|
|
border: 1px solid #ccc;
|
|
/*border-radius: 4px;*/
|
|
-webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
|
|
box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
|
|
-webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
|
|
-o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
|
|
transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
|
|
transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
|
|
transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
|
|
}
|
|
|
|
.form-control:focus {
|
|
border-color: #145ccd;
|
|
outline: 0;
|
|
-webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(20 92 205 / 60%);
|
|
box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(20 92 205 / 60%);
|
|
} |