mirror of
https://github.com/ansible/awx.git
synced 2026-01-22 15:08:03 -03:30
225 lines
6.1 KiB
Plaintext
225 lines
6.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;
|
|
z-index: @at-z-index-side-nav;
|
|
|
|
.at-Layout-sideNavItem {
|
|
background: inherit;
|
|
color: @at-color-side-nav-content;
|
|
display: flex;
|
|
cursor: pointer;
|
|
text-transform: uppercase;
|
|
|
|
> i.fa {
|
|
padding-left: 20px;
|
|
}
|
|
|
|
i {
|
|
cursor: pointer;
|
|
color: @at-color-side-nav-content;
|
|
font-size: @at-height-side-nav-item-icon;
|
|
padding: @at-padding-side-nav-item-icon;
|
|
}
|
|
|
|
i.fa-cubes {
|
|
margin-left: -4px;
|
|
}
|
|
|
|
&: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;
|
|
}
|
|
}
|
|
}
|
|
|
|
.at-Layout-sideNavSpacer {
|
|
background: inherit;
|
|
height: 5px;
|
|
}
|
|
|
|
&--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;
|
|
}
|
|
|
|
+ .at-Layout-main {
|
|
padding-left: @at-width-expanded-side-nav;
|
|
}
|
|
}
|
|
}
|
|
|
|
&-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: 40px;
|
|
align-items: center;
|
|
width: 55px;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|
|
}
|
|
}
|