gristlabs_grist-core/app/client/components/RecordLayout.css
Paul Fitzpatrick 1654a2681f (core) move client code to core
Summary:
This moves all client code to core, and makes minimal fix-ups to
get grist and grist-core to compile correctly.  The client works
in core, but I'm leaving clean-up around the build and bundles to
follow-up.

Test Plan: existing tests pass; server-dev bundle looks sane

Reviewers: dsagal

Reviewed By: dsagal

Differential Revision: https://phab.getgrist.com/D2627
2020-10-02 13:24:21 -04:00

47 lines
921 B
CSS

.g_record_layout_leaf {
width: 100%;
}
.g_record_layout_editing {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
cursor: move;
z-index: 5;
background-color: rgba(192, 192, 192, 0.2);
border-left: 1px solid white;
border-top: 1px solid white;
border-right: 1px solid var(--grist-color-dark-grey);
border-bottom: 1px solid var(--grist-color-dark-grey);
}
.dropdown-menu .g_record_layout_newfield {
margin: 2px 1rem;
padding: 0px 0.5rem;
border: 2px outset rgba(160, 160, 255, 0.5);
background-color: rgba(233, 233, 233, 0.5);
cursor: move;
color: #666;
font-size: 1.2rem;
}
.g_record_delete_field {
position: absolute;
top: 0;
right: 0;
background-color: #404040;
border: 1px solid #404040;
border-radius: 1rem;
color: white;
cursor: pointer;
display: none;
}
.g_record_layout_editing:hover > .g_record_delete_field {
display: block;
}