mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-23 22:25:09 -04:00
Initial Bootstrap 3 migration
This commit is contained in:
committed by
Mark McDowall
parent
ad0e372c35
commit
28fa264c69
+19
-4
@@ -4,8 +4,8 @@
|
||||
cursor : default;
|
||||
}
|
||||
|
||||
.input-append {
|
||||
.add-on {
|
||||
.input-group {
|
||||
.input-group-addon {
|
||||
margin-left : 0;
|
||||
}
|
||||
}
|
||||
@@ -18,13 +18,28 @@
|
||||
|
||||
text-transform : capitalize;
|
||||
min-width : 80px;
|
||||
padding : 4px 12px;
|
||||
|
||||
&.btn-mini {
|
||||
&.btn-xs {
|
||||
min-width : 0px;
|
||||
}
|
||||
|
||||
&.btn-icon-only {
|
||||
min-width : 15px;
|
||||
min-width : 41px;
|
||||
}
|
||||
|
||||
&.btn-icon-only-xs {
|
||||
@media (max-width: @screen-xs-max) {
|
||||
min-width : 41px;
|
||||
|
||||
span {
|
||||
.responsive-invisibility();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
label, input {
|
||||
padding: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+6
-5
@@ -3,22 +3,23 @@
|
||||
|
||||
.toggle {
|
||||
.slide-button {
|
||||
.buttonBackground(@btnDangerBackground, @btnDangerBackgroundHighlight);
|
||||
.button-variant(@btn-danger-color, @btn-danger-bg, @btn-danger-border);
|
||||
|
||||
&.btn-danger, &.btn-warning {
|
||||
.buttonBackground(@btnInverseBackground, @btnInverseBackgroundHighlight);
|
||||
//.buttonBackground(@btnInverseBackground, @btnInverseBackgroundHighlight);
|
||||
.button-variant(@btn-warning-color, @btn-warning-bg, @btn-warning-border);
|
||||
}
|
||||
}
|
||||
|
||||
input:first-of-type:checked ~ .slide-button {
|
||||
.buttonBackground(@btnPrimaryBackground, @btnPrimaryBackgroundHighlight);
|
||||
.button-variant(@btn-primary-color, @btn-primary-bg, @btn-primary-border);
|
||||
|
||||
&.btn-danger {
|
||||
.buttonBackground(@btnDangerBackground, @btnDangerBackgroundHighlight);
|
||||
.button-variant(@btn-danger-color, @btn-danger-bg, @btn-danger-border);
|
||||
}
|
||||
|
||||
&.btn-warning {
|
||||
.buttonBackground(@btnWarningBackground, @btnWarningBackgroundHighlight);
|
||||
.button-variant(@btn-warning-color, @btn-warning-bg, @btn-warning-border);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user