Files
awx/awx/ui/client/legacy/styles/bootstrap-custom-overrides.less
2019-03-01 10:56:08 -05:00

185 lines
3.4 KiB
Plaintext

body {
font-family: 'Open Sans', sans-serif;
font-weight: 400;
color: @default-data-txt;
background-color: @default-secondary-bg;
font-size: 0.88rem;
}
.dropdown-toggle::after {
display:none;
}
.tooltip.show {
opacity: 1;
}
.tooltip {
font-family: 'Open Sans', sans-serif;
font-size: 0.75rem;
line-height: 1.4;
}
.bs-tooltip-top .arrow::before,
.bs-tooltip-auto[x-placement^="top"] .arrow::before {
border-top-color: @default-stdout-txt;
}
.bs-tooltip-bottom .arrow::before,
.bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
border-bottom-color: @default-stdout-txt;
}
.bs-tooltip-left .arrow::before,
.bs-tooltip-auto[x-placement^="left"] .arrow::before {
border-left-color: @default-stdout-txt;
}
.bs-tooltip-right .arrow::before,
.bs-tooltip-auto[x-placement^="right"] .arrow::before {
border-right-color: @default-stdout-txt;
}
/* this used to exist but was removed */
.form-horizontal .form-group {
margin-left: -15px;
margin-right: -15px;
}
label {
margin-bottom: 0.3125rem;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
line-height: 1.1;
}
p {
margin-bottom: 0.625rem;
}
.dropdown-menu, .btn {
font-size: 0.88rem;
}
.btn-xs, .btn-group-xs>.btn {
padding: 1px 5px;
font-size: 0.75rem;
line-height: 1.5;
border-radius: 3px;
}
.btn-sm, .btn-group-sm>.btn {
padding: 5px 10px;
font-size: 0.75rem;
line-height: 1.5;
border-radius: 3px;
}
button, html input[type=button], input[type=reset], input[type=submit] {
cursor: pointer;
}
.dropdown-menu {
padding: .2rem 0;
}
.dropdown-item {
padding: 0.19rem 0.625rem;
}
@media (min-width: 768px) {
.modal-dialog {
width: 600px;
}
}
.modal-dialog {
max-width: none;
}
.modal-footer>:not(:last-child) {
margin-right: 1.25rem;
}
.btn-group-vertical>.btn, .btn-group>.btn {
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}
.bs-popover-auto[x-placement^=right] .arrow::after, .bs-popover-right .arrow::after {
border-right-color: @default-stdout-txt;
}
.bs-popover-auto[x-placement^=left] .arrow::after, .bs-popover-left .arrow::after {
border-left-color: @default-stdout-txt;
}
.bs-popover-auto[x-placement^=top] .arrow::after, .bs-popover-top .arrow::after {
border-top-color: @default-stdout-txt;
}
.bs-popover-auto[x-placement^=bottom] .arrow::after, .bs-popover-bottom .arrow::after {
border-bottom-color: @default-stdout-txt;
}
a:not([href]):not([tabindex]) {
color: @default-link;
}
a:not([href]):not([tabindex]):hover {
color: @default-link-hov;
}
.dropdown-menu>li>a {
padding: 3px 10px;
display: block;
clear: both;
font-weight: 400;
line-height: 1.42857143;
white-space: nowrap;
}
.dropdown-item.active,
.dropdown-item:active,
.dropdown-menu>li>a:hover,
.dropdown-menu>li>a:focus {
text-decoration: none;
color: @default-data-txt;
background-color: @f6grey;
}
.radio-inline+.radio-inline, .checkbox-inline+.checkbox-inline {
margin-left: 10px;
}
label {
font-weight: 700;
}
.radio-inline, .checkbox-inline {
font-weight: 400;
}
.btn-success{
background: @default-succ;
border-color: transparent;
:hover{
background: @default-succ-hov;
}
:disabled{
background: @default-succ-disabled;
}
}
.btn-default{
background: @btn-bg;
border-color: @btn-bord;
color: @btn-txt;
:hover{
background: @btn-bg-hov;
}
:focus{
background: @btn-bg-sel;
}
}