mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 09:38:10 -03:30
296 lines
8.1 KiB
Plaintext
296 lines
8.1 KiB
Plaintext
.at-Layout {
|
|
height: 100vh;
|
|
width: 100vw;
|
|
display: flex;
|
|
|
|
&-topNav {
|
|
display: flex;
|
|
background-color: @at-color-top-nav-background;
|
|
border-bottom: @at-border-default-width solid @at-color-top-nav-border-bottom;
|
|
z-index: @at-z-index-nav;
|
|
position: fixed;
|
|
right: 0;
|
|
left: 0;
|
|
top: 0;
|
|
height: @at-height-top-nav;
|
|
|
|
.at-Layout-topNavRightAligner {
|
|
margin-left: auto;
|
|
}
|
|
|
|
.at-Layout-topNavItem {
|
|
color: @at-color-top-nav-item-text;
|
|
padding: 0 @at-padding-top-nav-item-sides;
|
|
|
|
a {
|
|
cursor: pointer;
|
|
}
|
|
|
|
a, div {
|
|
color: @at-color-top-nav-item-text;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100%;
|
|
}
|
|
|
|
i {
|
|
color: @at-color-top-nav-item-icon;
|
|
font-size: @at-height-top-nav-item-icon;
|
|
}
|
|
|
|
&--logo {
|
|
padding-left: 0px;
|
|
|
|
img {
|
|
max-width: @main-menu-max-width;
|
|
max-height: @main-menu-max-height;
|
|
height: @main-menu-height;
|
|
width: @main-menu-width;
|
|
margin: @main-menu-margin;
|
|
flex: initial;
|
|
}
|
|
}
|
|
|
|
&--user {
|
|
i {
|
|
margin-right: @at-margin-top-nav-item-between-icon-and-name;
|
|
}
|
|
}
|
|
|
|
&--socket {
|
|
i {
|
|
margin-top: @at-margin-top-nav-item-icon-socket-top-makeup;
|
|
font-size: @at-height-top-nav-item-icon-socket;
|
|
text-shadow:
|
|
-@at-border-default-width -@at-border-default-width 0 @at-color-top-nav-item-icon-socket-outline,
|
|
@at-border-default-width -@at-border-default-width 0 @at-color-top-nav-item-icon-socket-outline,
|
|
-@at-border-default-width @at-border-default-width 0 @at-color-top-nav-item-icon-socket-outline,
|
|
@at-border-default-width @at-border-default-width 0 @at-color-top-nav-item-icon-socket-outline
|
|
}
|
|
}
|
|
|
|
&:focus,
|
|
&:hover,
|
|
&.is-currentRoute {
|
|
background-color: @at-color-top-nav-item-background-hover;
|
|
}
|
|
|
|
&.is-loggedOut {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
&-side {
|
|
background: @at-color-side-nav-background;
|
|
position: fixed;
|
|
bottom: 0;
|
|
top: @at-height-top-side-nav-makeup;
|
|
overflow-y: auto;
|
|
max-height: 100vh;
|
|
min-width: @at-width-collapsed-side-nav;
|
|
width: @at-width-collapsed-side-nav;
|
|
overflow-x: hidden;
|
|
z-index: @at-z-index-side-nav;
|
|
|
|
.at-Popover-container {
|
|
margin-top: 2px;
|
|
margin-left: -11px;
|
|
}
|
|
|
|
.at-Popover-arrow {
|
|
padding-top: 7px;
|
|
margin-left: -10px;
|
|
}
|
|
|
|
.at-Layout-sideNavItem {
|
|
background: inherit;
|
|
color: @at-color-side-nav-content;
|
|
display: flex;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
i {
|
|
cursor: pointer;
|
|
color: @at-color-side-nav-item-icon;
|
|
font-size: @at-font-size-side-nav-icon;
|
|
padding: @at-padding-side-nav-item-icon;
|
|
padding-left: @at-padding-left-side-nav-item-icon;
|
|
}
|
|
|
|
i.fa-cubes {
|
|
margin-left: -4px;
|
|
}
|
|
|
|
i.fa-user {
|
|
margin-left: 1px;
|
|
}
|
|
|
|
i.fa-users {
|
|
margin-left: -1px;
|
|
}
|
|
|
|
&:hover,
|
|
&.is-active {
|
|
background: @at-color-side-nav-item-background-hover;
|
|
border-left: @at-highlight-left-border-size solid @at-color-side-nav-item-border-hover;
|
|
|
|
i {
|
|
color: @at-color-side-nav-content;
|
|
margin-left: @at-highlight-left-border-margin-makeup;
|
|
}
|
|
|
|
i.fa-cubes {
|
|
margin-left: -9px;
|
|
}
|
|
|
|
i.fa-user {
|
|
margin-left: -4px;
|
|
}
|
|
|
|
i.fa-users {
|
|
margin-left: -6px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.at-Layout-sideNavToggle {
|
|
padding-top: @at-padding-top-side-nav-toggle;
|
|
|
|
i {
|
|
padding-left: @at-padding-left-side-nav-toggle-icon;
|
|
}
|
|
}
|
|
|
|
.at-Layout-sideNavSpacer {
|
|
border-bottom: 1px solid @at-color-side-nav-space-collapsed-border;
|
|
padding: 0;
|
|
margin: @at-margin-side-nav-space-collapsed;
|
|
}
|
|
|
|
.at-Layout-sideNavSpacer--first {
|
|
display: none;
|
|
}
|
|
|
|
.at-Layout-sideNavHeader {
|
|
display: none;
|
|
}
|
|
|
|
&--expanded {
|
|
width: @at-width-expanded-side-nav;
|
|
|
|
.at-Layout-sideNavItem {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
padding-right: @at-padding-between-side-nav-icon-text;
|
|
|
|
i {
|
|
padding-left: @at-padding-left-side-nav-item-icon-expanded;
|
|
}
|
|
}
|
|
|
|
+ .at-Layout-main {
|
|
padding-left: @at-width-expanded-side-nav;
|
|
}
|
|
|
|
+ .at-Layout-main--noLicense {
|
|
padding-left: 0;
|
|
}
|
|
|
|
.at-Layout-sideNavSpacer--first {
|
|
display: inherit;
|
|
}
|
|
|
|
.at-Layout-sideNavSpacer {
|
|
height: @at-height-side-nav-spacer;
|
|
font-size: @at-font-size-side-nav-space;
|
|
color: @at-color-side-nav-item-spacer;
|
|
padding: @at-padding-side-nav-item-spacer;
|
|
text-transform: uppercase;
|
|
border-bottom: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.at-Layout-sideNavHeader {
|
|
display: inherit;
|
|
}
|
|
}
|
|
}
|
|
|
|
&-main {
|
|
display: flex;
|
|
height: 100%;
|
|
width: 100%;
|
|
flex-direction: column;
|
|
padding-left: @at-width-collapsed-side-nav;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
&-content {
|
|
flex: 1px;
|
|
}
|
|
|
|
&-footer {
|
|
background-color: @at-color-footer-background;
|
|
color: @at-color-footer;
|
|
position: relative;
|
|
padding-right: @at-padding-footer-right;
|
|
padding-bottom: @at-padding-footer-bottom;
|
|
margin-top: @at-margin-footer-top;
|
|
flex: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
|
|
a {
|
|
cursor: pointer;
|
|
margin-right: @at-margin-after-footer-link;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: @at-breakpoint-mobile-layout) {
|
|
.at-Layout {
|
|
&-side {
|
|
top: 60px;
|
|
background-color: transparent;
|
|
|
|
.at-Layout-sideNavItem.at-Layout-sideNavToggle {
|
|
display: flex;
|
|
height: @at-height-side-nav-toggle-mobile;
|
|
align-items: center;
|
|
width: @at-width-side-nav-toggle-mobile;
|
|
|
|
i {
|
|
padding-bottom: @at-padding-bottom-side-nav-toggle-mobile;
|
|
}
|
|
}
|
|
|
|
.at-Layout-sideNavItem,
|
|
.at-Layout-sideNavSpacer {
|
|
display: none;
|
|
background-color: @at-color-side-nav-background;
|
|
}
|
|
|
|
&--expanded {
|
|
width: 100vw;
|
|
z-index: @at-z-index-side-nav;
|
|
|
|
.at-Layout-sideNavItem,
|
|
.at-Layout-sideNavSpacer {
|
|
display: flex;
|
|
}
|
|
}
|
|
}
|
|
|
|
.at-Layout-main {
|
|
padding-left: 0;
|
|
|
|
#content-container {
|
|
padding-top: 100px;
|
|
}
|
|
}
|
|
}
|
|
}
|