superset css自定義樣式

body {
    background-color: #fff;
}

header {
    border-bottom: 2px solid #eee;
}

.navbar {
    margin-bottom: 0;
}
/* 條件搜索區域樣式 */

.widget.filter_box .slice_container.filter_box .scrollbar-content {
    display: flex;
    flex-wrap: wrap;
}

.widget.filter_box .slice_container.filter_box .scrollbar-content > div {
    margin-right: 10px;
}

.widget.filter_box .slice_container.filter_box .scrollbar-content .m-b-5 {
    /* 下拉框 */
    
    flex: 1;
    min-width: 200px;
    max-width: 400px;
}

.Select-multi-value-wrapper {
  max-height: 150px;
  overflow-y: auto; 
}

.widget.filter_box .slice_container.filter_box .scrollbar-content .row.space-1 {
    /* 日期框 */
    
    min-width: 300px;
}

.widget.filter_box .slice_container.filter_box .scrollbar-content .row.space-1 > div {
    padding-right: 0;
}

.widget.filter_box .slice_container.filter_box .scrollbar-content .row.space-1 .ControlHeader {
    line-height: 1;
}

.widget.filter_box .slice_container.filter_box .scrollbar-content .row.space-1 .ControlHeader + .label {
    display: block;
    margin-top: 1px;
    padding-top: 0;
    padding-bottom: 0;
    height: 32px;
    line-height: 30px;
    border-radius: 4px;
}

.widget.filter_box .slice_container.filter_box .scrollbar-content .Select .Select-control .Select-value {
    word-wrap: break-word;
    word-break: break-all;
}

.widget.filter_box .slice_container.filter_box .scrollbar-content button {
    align-self: flex-end;
    height: 32px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: bolder;
}
/* 表格樣式 */

.chart-container {
    margin: 10px 0 0;
}

.table .table {
    background-color: transparent;
}

.dataframe.table th,
.dataframe.table td {
    vertical-align: middle;
    text-align: center;
}

.dataframe.table tr > th {
    min-width: 100px;
    padding-right: 16px !important;
}

.dataframe.table tr > td {
    padding: 5px 8px !important;
}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章