You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nginxconfig.io/resources/scss/_main.scss

194 lines
3.0 KiB

7 years ago
section.presets {
6 years ago
margin-top: 0.5rem;
margin-bottom: 1rem;
7 years ago
6 years ago
@include media-breakpoint-down(md) {
text-align: center;
}
7 years ago
.btn {
6 years ago
margin-bottom: 0.25rem;
7 years ago
&.btn-outline-dark{
&:hover {
background-color: #666;
}
}
img {
height: 1.1rem;
vertical-align: text-bottom;
}
}
}
6 years ago
section.tabs {
margin-bottom: 1rem;
.nav-tabs {
.nav-item {
6 years ago
flex-basis: 50%;
@include media-breakpoint-down(lg) {
a {
border-bottom-left-radius: $border-radius;
border-bottom-right-radius: $border-radius;
}
&:nth-last-child(-n+2) {
a {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
}
}
@include media-breakpoint-up(xl) {
flex: 1 1 auto;
}
6 years ago
a {
cursor: pointer;
position: relative;
transition: all 0.25s;
6 years ago
font-size: 0.9rem;
white-space: nowrap;
6 years ago
6 years ago
@include media-breakpoint-up(xl) {
padding-left: 0;
padding-right: 0;
font-size: 1rem;
text-align: center;
}
6 years ago
&.active {
@include media-breakpoint-down(lg) {
color: #fff;
border-color: #343a40;
background-color: #343a40;
6 years ago
&.text-muted {
color: #fff !important;
}
}
@include media-breakpoint-up(xl) {
border-bottom-color: #fff;
background-color: transparent;
}
6 years ago
}
6 years ago
&.changed {
font-weight: 700;
6 years ago
@include media-breakpoint-up(xl) {
6 years ago
padding-right: 1rem;
6 years ago
}
6 years ago
small {
display: inline;
6 years ago
@include media-breakpoint-up(xl) {
padding-left: 0.1rem;
}
6 years ago
}
}
small {
position: absolute;
top: 50%;
transform: translateY(-50%);
display: none;
color: #999;
6 years ago
@include media-breakpoint-down(lg) {
right: 0.25rem;
}
6 years ago
}
}
}
}
.tab-content {
padding: 0.5rem 0.75rem;
border-left: 1px solid #dee2e6;
border-right: 1px solid #dee2e6;
border-bottom: 1px solid #dee2e6;
border-bottom-right-radius: 0.25rem;
border-bottom-left-radius: 0.25rem;
.form-group {
margin-bottom: 0.25rem;
.form-check {
padding-top: 0.2rem;
.form-check-label {
cursor: pointer;
user-select: none;
}
}
.form-control.input-changed,
.form-check.input-changed,
select.input-changed {
background-color: #fdffd9;
}
.form-check.input-changed {
border-radius: 0.2rem;
}
.btn {
&.btn-download {
img {
vertical-align: -2px;
margin-right: 0.1rem;
width: 1rem;
}
}
}
}
}
}
7 years ago
main {
flex: 1 1 auto;
.commands {
margin-bottom: 1rem;
}
.file {
margin-bottom: 2rem;
.btn-clipboard {
font-size: 0;
padding: 0.2rem 0.4rem 0.05rem;
vertical-align: text-bottom;
6 years ago
float: right;
7 years ago
}
}
.commands,
.file .code {
overflow-x: auto;
font-size: 0.75rem;
line-height: 1.25;
background-color: #f8f8f8;
pre {
margin-bottom: 0;
font-size: inherit;
code {
display: block;
padding: 0.6rem;
-moz-tab-size: 4;
tab-size: 4;
overflow: visible;
overflow-x: visible;
}
}
}
}