PluginProbe
Tableberg – Simple Gutenberg Table Block / 1.1.5
Tableberg – Simple Gutenberg Table Block v1.1.5
1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 trunk 0.0.2 0.2.1 0.3.2 0.3.3 0.4.1 0.5.0 0.5.1 0.5.2 0.5.3 0.5.4 0.5.5 0.5.6 0.5.7 All 42 releases
tableberg / src / editor.scss

editor.scss in Tableberg – Simple Gutenberg Table Block 1.1.5, at src/editor.scss

53 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @import "./components/DynamicDataPanel/styles.scss";
2 @import "./components/ElementFontOptions/style.scss";
3 @import "./rules-to-fix-double-borders.scss";
4 @import "./components/cell-inserter/style.scss";
5 @import "./components/PaginationNavigation/style.scss";
6 @import "./components/SearchInput/style.scss";
7 @import "./components/TablebergSidebarTabs/style.scss";
8 @import "./components/TableCaption/style.scss";
9 @import "./components/TableEditToolbar/style.scss";
10 @import "./components/UpsellModal/style.scss";
11 @import "./hooks/block-editor-compat/hide-native-options-button.scss";
12
13 // Native Gutenberg block editor.
14 .tableberg-native-editor {
15 table {
16 border-collapse: collapse;
17 width: 100%;
18 }
19
20 td,
21 th {
22 border: 1px solid #d0d0d0;
23 min-width: 60px;
24 vertical-align: top;
25 }
26
27 th {
28 background-color: #f5f5f5;
29 }
30 }
31
32 .tableberg-native-editor.tableberg-native-sticky-header tr:first-child th,
33 .tableberg-native-editor.tableberg-native-sticky-header tr:first-child td {
34 position: sticky;
35 top: 0;
36 z-index: 2;
37 background-clip: padding-box;
38 }
39
40 // Wide tables must stay reachable in the editor: without a scroll container
41 // the overflowing columns are clipped and cannot be edited. This container is
42 // also what `position: sticky` uses for the sticky first column.
43 .tableberg-native-editor .tableberg-native-table-scroll {
44 overflow-x: auto;
45 }
46
47 // ToolsPanel uses a two-column grid. Border modes need the complete row so
48 // their labels and descriptions remain readable in the narrow inspector.
49 .tableberg-border-mode-controls {
50 grid-column: 1 / -1;
51 width: 100%;
52 }
53