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

103 lines
1.8 KiB
SCSS

// Edit visualization (dataset or map) metadata
// dialog content styles
// ---------------------------------------------
@import '../variables/colors';
@import '../variables/sizes';
$width: 620px;
// Gradients
.EditVisMetadata .Dialog-expandedSubContent {
position: relative;
&::before,
&::after {
content: '';
position: fixed;
z-index: 5;
left: 50%;
width: $width;
height: 18px;
margin-left: -310px;
}
&::before {
top: 157px;
background-color: transparent !important;
background-image: linear-gradient(to bottom, rgba(#F9F9F9, 1), rgba(#F9F9F9, 0));
}
&::after {
bottom: 97px;
background-image: linear-gradient(to bottom, rgba(#F9F9F9, 0), rgba(#F9F9F9, 1));
}
}
.EditVisMetadata-header {
flex-grow: 1;
min-height: 100px;
max-height: 100px;
padding: 28px 0;
text-align: center;
}
.EditVisMetadata-markdown {
position: absolute;
right: 0;
bottom: -25px;
color: $cTypography-help;
font-size: $sFontSize-small;
}
.EditVisMetadata-markdownIcon {
margin-right: 10px;
padding: 0 2px 2px 5px;
border-radius: 2px;
background: #DCDCDC;
color: #F9F9F9;
}
.EditVisMetadata-markdownIconText {
font-size: 8px;
font-weight: $sFontWeight-small;
}
.EditVisMetadata-markdownIconChar {
font-size: $sFontSize-small;
font-style: normal;
line-height: normal;
}
.EditVisMetadata-privacyIndicator:hover {
color: #777;
text-decoration: underline;
}
.EditVisMetadata-formContent,
.EditVisMetadata-formFooter {
width: $width;
margin: 0 auto;
}
.EditVisMetadata-formContent {
position: relative;
padding: 28px 0 120px;
}
.EditVisMetadata-formFooter {
display: flex;
align-items: center;
justify-content: space-between;
background: #F9F9F9;
}
.EditVisMetadata .Dialog-stickyFooter {
z-index: 10;
left: 0;
}
.EditVisMetadata-formFooter .Button {
margin: 0;
}