2020-10-02 15:10:00 +00:00
|
|
|
.view_leaf {
|
|
|
|
position: relative;
|
|
|
|
flex: 1 1 0px;
|
|
|
|
}
|
|
|
|
|
2021-06-28 18:02:45 +00:00
|
|
|
.viewsection_buttons {
|
|
|
|
margin-left: 4px;
|
2023-01-18 19:33:45 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 8px;
|
|
|
|
align-self: flex-start;
|
2021-06-28 18:02:45 +00:00
|
|
|
}
|
|
|
|
|
2020-10-02 15:10:00 +00:00
|
|
|
.viewsection_title {
|
2023-09-21 16:57:58 +00:00
|
|
|
align-items: center;
|
2020-10-02 15:10:00 +00:00
|
|
|
flex-shrink: 0;
|
|
|
|
cursor: default;
|
2023-09-21 16:57:58 +00:00
|
|
|
min-height: 24px;
|
2020-10-02 15:10:00 +00:00
|
|
|
margin-left: -16px; /* to include drag handle that shows up on hover */
|
2023-09-21 16:57:58 +00:00
|
|
|
margin-bottom: 4px;
|
2023-02-24 11:12:55 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.viewsection_title, .viewsection_title_font {
|
2022-09-06 01:51:57 +00:00
|
|
|
color: var(--grist-theme-text-light, var(--grist-color-slate));
|
2020-10-02 15:10:00 +00:00
|
|
|
font-size: var(--grist-small-font-size);
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
.viewsection_content {
|
|
|
|
overflow: visible;
|
|
|
|
margin: 12px;
|
2022-10-04 00:05:55 +00:00
|
|
|
background-color: var(--grist-theme-widget-bg, white);
|
2020-10-02 15:10:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.viewsection_btn {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 0px 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.viewsection_settings {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.viewsection_status_icons {
|
|
|
|
color: #999999;
|
|
|
|
}
|
|
|
|
|
|
|
|
.viewsection_status_icons > .status_icon:hover {
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.viewsection_status_icons.active_section {
|
|
|
|
color: #AEC6FE;
|
|
|
|
}
|
|
|
|
|
|
|
|
.viewsection_status_icons.active_section > .status_icon:hover {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.viewsection_truncated {
|
|
|
|
position: absolute;
|
|
|
|
right: 8px;
|
|
|
|
bottom: 8px;
|
|
|
|
background-color: red;
|
|
|
|
color: white;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link_direction_icon {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
vertical-align: top;
|
|
|
|
width: 1.9rem;
|
|
|
|
height: 1.2rem;
|
|
|
|
margin: .25rem -.1rem 0 -.2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.viewsection_status_icons.active_section > .status_icon.unsaved_changes {
|
|
|
|
text-shadow: 0px 0px 5px #fff;
|
|
|
|
color: #FFFFFF;
|
|
|
|
}
|
|
|
|
|
|
|
|
.view_data_pane_container {
|
|
|
|
position: relative;
|
|
|
|
flex: auto;
|
2022-09-06 01:51:57 +00:00
|
|
|
border: 1px solid var(--grist-theme-widget-border, var(--grist-color-dark-grey));
|
2020-10-02 15:10:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media not print {
|
2021-02-09 04:40:04 +00:00
|
|
|
.active_section > .view_data_pane_container {
|
2022-09-06 01:51:57 +00:00
|
|
|
box-shadow: -2px 0 0 0px var(--grist-theme-widget-active-border, var(--grist-color-light-green));
|
|
|
|
border-left: 1px solid var(--grist-theme-widget-active-border, var(--grist-color-light-green));
|
2020-10-02 15:10:00 +00:00
|
|
|
}
|
|
|
|
|
2021-02-09 04:40:04 +00:00
|
|
|
.active_section > .view_data_pane_container.viewsection_type_detail {
|
2020-10-02 15:10:00 +00:00
|
|
|
/* this color is a translucent version of grist-color-light-green */
|
2022-09-06 01:51:57 +00:00
|
|
|
box-shadow: -2px 0 0 0px var(--grist-theme-cursor-inactive, var(--grist-color-inactive-cursor));
|
|
|
|
border-left: 1px solid var(--grist-theme-cursor-inactive, var(--grist-color-inactive-cursor));
|
2020-10-02 15:10:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-11 10:48:36 +00:00
|
|
|
/* Used by Raw Data UI */
|
|
|
|
.active_section--no-indicator > .view_data_pane_container,
|
|
|
|
.active_section--no-indicator > .view_data_pane_container.viewsection_type_detail {
|
|
|
|
box-shadow: none;
|
2022-09-06 01:51:57 +00:00
|
|
|
border-left: 1px solid var(--grist-theme-widget-border, var(--grist-color-dark-grey));
|
2022-03-11 10:48:36 +00:00
|
|
|
}
|
|
|
|
|
2023-01-18 19:33:45 +00:00
|
|
|
/* Used by full screen section. Removes the green box-shadow and restores normal color of the border.
|
|
|
|
It still leaves the indicator for the cardlist selection (the green box shadow in card) which looks nice.
|
|
|
|
*/
|
|
|
|
.layout_box_maximized .active_section > .view_data_pane_container{
|
|
|
|
box-shadow: none;
|
|
|
|
border: 1px solid var(--grist-theme-widget-border, var(--grist-color-dark-grey));
|
|
|
|
}
|
|
|
|
/* Remove the drag indicator */
|
|
|
|
.layout_box_maximized .active_section .viewsection_drag_indicator {
|
|
|
|
visibility: hidden !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-10-02 15:10:00 +00:00
|
|
|
.disable_viewpane {
|
|
|
|
justify-content: center;
|
|
|
|
text-align: center;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 1;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2023-08-30 14:10:55 +00:00
|
|
|
color: var(--grist-theme-text-light, var(--grist-color-slate));
|
2020-10-02 15:10:00 +00:00
|
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
|
|
font-size: 12pt;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status_icon.unsaved_changes {
|
|
|
|
text-shadow: 0px 0px 5px #8A8A8A;
|
|
|
|
color: #FFFFFF
|
|
|
|
}
|
|
|
|
|
|
|
|
.link_direction_icon.has_in_arrow {
|
|
|
|
margin-left: .3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link_direction_icon.has_out_arrow {
|
|
|
|
margin-right: .2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link_icon {
|
|
|
|
position: absolute;
|
|
|
|
font-size: 1.05rem;
|
|
|
|
left: .45rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link_out_arrow {
|
|
|
|
position: absolute;
|
|
|
|
top: .5rem;
|
|
|
|
left: 1.3rem;
|
|
|
|
font-size: .65rem;
|
|
|
|
transform: scale(.8, 1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.link_in_arrow {
|
|
|
|
position: absolute;
|
|
|
|
top: .05rem;
|
|
|
|
left: 0;
|
|
|
|
font-size: .65rem;
|
|
|
|
transform: scale(.8, 1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.sort_icon {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
vertical-align: top;
|
|
|
|
width: 1.2rem;
|
|
|
|
height: 1.2rem;
|
|
|
|
font-size: 1.0rem;
|
|
|
|
margin: .25rem .1rem 0 .3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.filter_icon {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
vertical-align: top;
|
|
|
|
width: 1.2rem;
|
|
|
|
height: 1.2rem;
|
|
|
|
font-size: 1.0rem;
|
|
|
|
margin: .25rem .1rem 0 .3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.shaking {
|
|
|
|
animation: shake 0.4s ease;
|
|
|
|
transform: translate(0, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes shake {
|
|
|
|
10%, 90% {
|
|
|
|
transform: translate(2px, 0);
|
|
|
|
}
|
|
|
|
30%, 70% {
|
|
|
|
transform: translate(-3px, 0);
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
transform: translate(3px, 0);
|
|
|
|
}
|
|
|
|
}
|