You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cartodb/assets/stylesheets/editor-3/_assets.scss

118 lines
1.9 KiB

@import '~cartoassets/src/scss/cdb-variables/sizes';
@import '~cartoassets/src/scss/cdb-variables/colors';
.AssetsList-recent {
overflow: hidden;
}
.AssetsList-recentInner {
display: flex;
width: 1000px;
}
.AssetsList {
display: flex;
position: relative;
}
.AssetListItem.Carousel-item {
width: 40px;
min-width: 40px;
height: 40px;
}
.AssetsList-inner {
display: block;
position: relative;
height: auto;
max-height: none;
margin: 35px 0 70px;
padding: 0 0 0 5px;
overflow: auto;
}
.AssetItem-button {
width: 100%;
height: 100%;
}
.AssetItem-icon {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}
.AssetItem-label {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}
.Modal-inner .AssetsList {
flex-wrap: wrap;
margin: 0 -14px 20px;
}
.Modal-inner .AssetsList:last-child {
flex-wrap: wrap;
margin: 0 -14px;
}
.AssetsList-item {
display: flex;
box-sizing: border-box;
align-items: center;
justify-content: center;
width: $baseSize * 11;
min-width: $baseSize * 11;
height: $baseSize * 7;
margin-bottom: 16px;
margin-left: 16px;
overflow: hidden;
border: 1px solid $cSecondaryLine;
border-radius: 4px;
background: $cThirdBackground;
&:last-child {
margin-right: 0;
}
&:hover {
border: 1px solid $cMainLine;
cursor: pointer;
}
}
.AssetsList-item.AssetsList-item--text {
border: 1px dotted $cMainLine;
&:hover {
border: 1px solid $cMainLine;
cursor: pointer;
}
}
.AssetsList-item.AssetsList-item--text.is-selected {
border: 1px solid $cSecondaryLine;
}
.AssetsList-item.is-selected {
border: 2px solid $cBlue;
}
.AssetsList-item--small {
width: $baseSize * 5;
min-width: $baseSize * 5;
height: $baseSize * 5;
}
.AssetsList-item--medium {
width: $baseSize * 7;
min-width: $baseSize * 7;
height: $baseSize * 7;
}