cartodb-4.29/assets/stylesheets/common/side_menu.scss
2020-06-15 10:58:47 +08:00

107 lines
1.7 KiB
SCSS

// Account aside filters
// --------------------------------------------------
@import "../variables/mixins";
@import "../variables/colors";
@import "../variables/sizes";
@import "../variables/progress-bar";
.SideMenu {
display: block;
z-index: 10;
width: 260px;
min-height: 600px;
background: transparent;
}
.SideMenu-progress {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
margin: 30px 0;
}
.SideMenu-progressBar {
@include progress-bar(6px, 9px, true, false);
width: 140px;
}
.SideMenu-separator {
display: block;
position: relative;
z-index: 0;
width: 100%;
height: 1px;
background-color: $cStructure-darkGrey;
}
.SideMenu-list {
align-items: center;
justify-content: space-between;
}
.SideMenu-typeItem {
position: relative;
margin-bottom: 20px;
&:first-child {
margin-left: 0;
}
&:last-child {
margin-right: 0;
}
}
.SideMenu-typeLink {
display: inline-block;
border: none;
outline: none;
background: transparent;
color: #1181FB;
font-size: 14px;
&:hover {
text-decoration: underline;
}
}
.SideMenu-typeLink.is-selected {
color: $cTypography-linkSelected;
font-weight: bold;
&:hover {
text-decoration: none;
cursor: default;
}
}
.SideMenu-typeLink.is-disabled {
color: rgba(black, 0.3);
&:hover {
color: rgba(black, 0.3);
text-decoration: none;
cursor: default;
}
}
.SideMenu-typeLink.is-disabled {
color: rgba(black, 0.3);
&:hover {
color: rgba(black, 0.3);
text-decoration: none;
cursor: default;
}
}
.SideMenu-separator {
display: flex;
width: 240px;
height: 1px;
margin: 20px 0;
background-color: rgba(0, 0, 0, 0.1);
}