sass.n2o.root.scss Maven / Gradle / Ivy
The newest version!
body {
display: flex;
width: 100%;
min-height: 100vh;
}
#n2o,
#root {
display: flex;
width: 100%;
}
.application {
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
overflow: hidden;
}
.body-container {
display: flex;
flex-grow: 1;
}
.application > .container-fluid {
margin: 0;
}
.application-body {
flex-grow: 1;
padding-top: 1rem;
}
.application-body--aside {
height: calc(100vh - #{$footer-height});
overflow: auto;
}
.n2o-layout-container {
height: 100vh;
}
.n2o-layout-fixed {
overflow: hidden;
max-height: 100vh;
.application-body {
height: 100%;
}
}
.n2o-layout-fixed.n2o-layout-full-size-header {
.application-body {
height: auto;
}
}
// .application-body-container-fixed {
// overflow-y: auto;
// }
.n2o-footer {
height: auto;
.n2o-footer__text {
white-space: pre-wrap;
}
}
.navbar-brand {
display: flex;
align-items: center;
padding-top: 0.1rem;
}
.icon-bar {
background: white;
}
@media screen and (max-width: $mobile-max-width) {
.navbar-text {
position: relative;
display: block;
padding: 10px 15px !important;
margin: 0;
}
}
@media (max-width: $tablet-max-width) {
.navbar-expand-md .navbar-nav .nav-link {
padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
}
}
.navbar,
.navbar-expand-lg,
.navbar-dark,
.navbar-search > input,
button {
border-radius: 0;
}
#brace-editor {
flex-grow: 1;
}
.n2o-dropdown-menu {
z-index: 100;
> .btn {
width: 100%;
}
}
.capitalize {
text-transform: capitalize;
}
.n2o-disabled {
pointer-events: none;
opacity: $btn-disabled-opacity;
}
.was-validated .form-control:invalid,
.form-control.is-invalid,
.was-validated .form-control:valid,
.form-control.is-valid {
padding: 0.375rem 0.75rem;
background-image: none;
}
.btn-group > .btn,
.btn-group-vertical > .btn {
flex: 0 1 auto;
}
.n2o-template {
display: flex;
}
.white-space-pre-line {
white-space: pre-line;
}
.white-space-pre {
white-space: pre;
}
.nav-item {
display: flex;
align-items: center;
> i,
> .dropdown-toggle > i {
color: $nav-item-icon-color;
}
}
.n2o-standard-widget-layout-toolbar {
margin: $toolbar-margin;
}
*::-ms-clear {
display: none;
width: 0;
height: 0;
}
.link-button {
color: #163851;
text-decoration: none;
background-color: rgba(0, 0, 0, 0);
border: none;
padding: 0;
font: inherit;
cursor: pointer;
outline: inherit;
&:hover {
color: #d81b60;
text-decoration: none;
}
&:focus {
outline: none;
}
}