cartodb-4.42/app/assets/stylesheets/editor/georeference.css.scss
2024-04-06 05:25:13 +00:00

137 lines
2.8 KiB
SCSS

@import "../variables/mixins";
@import "../variables/sizes";
@import "../variables/colors";
@import "../variables/progress-bar";
$sIcon: 70px;
$sWidth: 681px;
.Georeference-content {
// Should match the width as the .Filters-row container has with the current set of tabs,
// so the content is aligned width the filters' item
width: $sWidth;
margin-right: auto;
margin-left: auto;
}
.Georeference-contentItem {
margin-top: $sMargin-section;
}
.Georeference-geometryIcon {
position: relative;
}
.Georeference-geometryIconImg {
display: block;
width: $sIcon;
height: $sIcon;
border: 1px solid $cStructure-mainLine;
border-radius: 50px;
}
.Georeference-geometryIconImg.Georeference-geometryIconImg--point {
@include background(image-url("layout/georeference_points2.png") repeat center center);
}
.Georeference-geometryIconFont {
width: $sIcon;
height: $sIcon;
color: $cTypography-link;
font-size: $sIcon;
}
.Georeference-geometryIconHighlightIcon {
position: absolute;
top: 0;
right: 0;
}
.Georeference-geometryIconMarker {
display: block;
position: absolute;
width: 9px;
height: 9px;
border: 1px solid #979797;
border-radius: 50px;
background-color: $cTypography-link;
&.Georeference-geometryIconMarker--a {
top: 15px;
left: 32px;
}
&.Georeference-geometryIconMarker--b {
top: 39px;
left: 24px;
}
&.Georeference-geometryIconMarker--c {
top: 43px;
left: 58px;
}
}
.Georeference-geometryIconImg.u-disabled .Georeference-geometryIconMarker {
background-color: #DDD;
}
.Georeference-preFooter {
display: flex;
align-items: center;
justify-content: space-between;
width: $sWidth;
margin-right: auto;
margin-left: auto;
padding-top: $sMargin-group;
padding-bottom: $sMargin-group;
border-top: 1px solid $cStructure-mainLine;
}
.Georeference-estimation {
display: flex;
align-items: center;
justify-content: flex-start;
width: 410px; // to keep quota info on 2 lines
& > *:not(:last-child) {
margin-right: $sMargin-elementInline;
}
}
.Georeference-quota {
display: flex;
flex-direction: column;
align-items: flex-end;
justify-content: space-between;
width: 210px;
height: 40px; // to match .Georeference-estimation
& > *:not(:last-child) {
margin-bottom: 8px;
}
}
.Georeference-progressBar {
@include progress-bar(6px, 9px, true, false);
position: relative;
width: 100%;
margin-bottom: 5px; // align with baseline of 2nd line of text in .Georeference-estimation
div.progress-bar {
// Override the defaults from mixin
background: #EEE;
box-shadow: inset 0 1px 0 0 rgba(#000, 0.05);
}
}
.Georeference-upgradeFooter {
display: flex;
align-items: center;
justify-content: flex-start;
width: 100%;
text-align: left;
& > *:not(:last-child) {
margin-right: $sMargin-elementInline;
}
}