cartodb-4.42/app/assets/stylesheets/dashboard/categories.css.scss

81 lines
1.4 KiB
SCSS
Raw Normal View History

2024-04-06 13:25:13 +08:00
// Categories styles
// --------------------------------------------------
@import "../variables/mixins";
@import "../variables/colors";
@import "../variables/sizes";
$iconStandardColor: $cTypography-help;
$iconSelectedColor: #4A90E2;
.Categories {
margin: 0 auto;
padding-top: 81px;
}
.Categories > .u-inner {
display: flex;
align-items: center;
justify-content: center;
padding: 30px 0;
border-bottom: 1px solid $cStructure-mainLine;
text-align: center;
}
.Categories-breadcrumb {
color: $cTypography-secondary;
font-size: 14px;
&:hover {
color: $cTypography-paragraphs;
&::after {
border-top-color: $cTypography-paragraphs;
}
}
}
.Categories-list {
display: inline-block;
margin-left: 20px;
}
.Categories-listItem {
display: inline-block;
margin-right: 3px;
}
.Categories-option {
display: inline-block;
width: $sIcon-layout - 2;
height: $sIcon-layout - 2;
border: 1px solid $iconStandardColor;
border-radius: $sIcon-borderRadius;
line-height: $sIcon-layout - 2;
&:hover {
border-color: $iconSelectedColor;
.Categories-optionIcon {
color: $iconSelectedColor;
}
}
}
.Categories-optionIcon {
color: $cTypography-help;
font-size: 17px;
line-height: 38px;
}
.Categories-option.is-selected {
border-color: $iconSelectedColor;
&:hover {
cursor: default;
}
}
.Categories-option.is-selected .Categories-optionIcon {
color: $iconSelectedColor;
}