cartodb-4.29/assets/stylesheets/public/public_table_wrapper.scss

250 lines
4.1 KiB
SCSS
Raw Normal View History

2020-06-15 10:58:47 +08:00
/**
* Styles for public table showed in public table
*
*/
@import "compass/css3/inline-block";
@import "../old_common/vars";
@import "../old_common/mixins";
@import "compass/reset/utilities";
@import "../variables/sizes";
html {
line-height: 1;
}
body.public {
min-width: inherit; /* Public table CSS */
.pane_table {
@include reset-table-cell();
@include position(8px, calc(35% + 8px), 8px, 8px);
z-index: 10;
overflow: hidden;
border-radius: 3px;
&.is-active {
background: #FFF;
}
}
.pane_map {
top: 0;
overflow-x: hidden;
}
.panes .emptyTableContainer {
position: relative;
}
.dialog {
position: relative;
z-index: 10000;
.block.modal.api {
.content {
position: relative;
padding: 0;
}
.inner {
position: relative;
padding: 28px 40px 0;
}
.shadow {
@extend .white-gradient-shadow-bottom;
position: absolute;
bottom: 0;
width: 100%;
height: 60px;
}
code {
color: #666;
font-size: 13px;
line-height: 120%;
}
.sample {
padding: 23px 40px;
border-bottom: 1px solid #E5E5E5;
background: #F2F2F2;
p {
color: #999;
font-size: 13px;
}
}
h4 {
margin: 0 0 5px;
color: #666;
font-family: $text-fonts;
font-size: 11px;
text-transform: uppercase;
}
.foot {
padding: 38px;
p {
width: 357px;
padding: 5px 0;
float: left;
color: #666;
font-size: 13px;
line-height: 120%;
a {
text-decoration: underline;
}
}
}
}
}
div.separator.bottom {
display: none;
position: relative;
width: 100%;
border-top: 1px solid #E5E5E5;
}
div.table.public table tbody tr td div.cell {
cursor: default;
}
div.table.public table tbody tr:hover {
border-top: 1px solid #ECECEC;
background: inherit;
& + tr {
border-top: 1px solid #ECECEC;
}
}
div.table table thead tr th {
> div {
label.interactuable .coloptions {
line-height: 1;
&::after {
display: none;
}
}
p {
font-weight: normal;
}
}
}
div.table table tfoot.page_loader {
display: none;
}
.navigation {
position: relative;
z-index: 100;
width: 100%;
margin: auto;
clear: both;
overflow: hidden;
opacity: 0;
text-align: center;
ul {
@include clearfix();
max-width: 1024px;
margin: auto;
li {
display: inline-block;
margin: 0 1px 0 0;
list-style: none;
&:last-child {
margin-left: $sMargin-group;
}
a {
display: block;
width: 36px;
height: 36px;
border: 1px solid #636D72;
border-radius: 19px;
color: #636D72;
text-align: center;
i {
font-size: 14px;
}
}
a.selected {
border-color: #FFF;
color: #FFF;
cursor: default;
}
}
}
}
div.table table thead tr th > div p.auto {
opacity: 0;
}
.cartodb-map-data {
position: relative;
z-index: 100;
top: 300px;
}
div.panes {
clear: both;
overflow-x: auto;
overflow-y: hidden;
div.shadow {
display: none;
}
div.table table thead tr th > div > div {
position: relative;
}
}
div.panes.panes_mobile {
top: 0;
overflow-x: hidden;
.table.public {
background: #FFF;
}
.Checkbox {
position: absolute;
z-index: 30;
top: 35px;
right: 35px;
padding: 3px 5px;
border-radius: 3px;
background-color: rgba(#000, 0.5);
}
.Checkbox-label {
color: #FFF;
}
.table.public,
.cartodb-map.public {
@include position(15px, 15px, 60px, 15px);
z-index: 10;
overflow: hidden;
border-radius: 3px;
}
}
}