dbgate/packages/web/public/dimensions.css

28 lines
942 B
CSS
Raw Normal View History

2021-02-20 09:40:29 +00:00
:root {
2021-03-05 16:47:07 +00:00
--dim-widget-icon-size: 60px;
2021-11-25 18:02:52 +00:00
--dim-statusbar-height: 22px;
2021-02-20 09:43:43 +00:00
--dim-left-panel-width: 300px;
2021-03-04 14:20:08 +00:00
--dim-tabs-height: 33px;
2022-12-23 10:03:03 +00:00
--dim-tabs-panel-height: calc( var(--dim-visible-tabs-databases) * 20px + var(--dim-tabs-height) );
2021-02-21 10:35:50 +00:00
--dim-splitter-thickness: 3px;
2021-02-26 18:25:35 +00:00
--dim-visible-left-panel: 1; /* set from JS */
--dim-content-left: calc(
var(--dim-widget-icon-size) + var(--dim-visible-left-panel) *
(var(--dim-left-panel-width) + var(--dim-splitter-thickness))
);
2022-02-12 07:23:37 +00:00
--dim-visible-toolbar: 0; /* set from JS */
2022-02-11 20:50:42 +00:00
--dim-visible-titlebar: 0; /* set from JS */
2021-02-26 18:25:35 +00:00
2022-02-12 16:07:06 +00:00
--dim-toolbar-height: 30px;
--dim-toolstrip-height: 28px;
2022-02-11 20:50:42 +00:00
--dim-titlebar-height: 30px;
--dim-toolbar-top: calc(var(--dim-titlebar-height) * var(--dim-visible-titlebar));
--dim-header-top: calc(
var(--dim-titlebar-height) * var(--dim-visible-titlebar) + var(--dim-toolbar-height) * var(--dim-visible-toolbar)
);
2021-03-04 14:20:08 +00:00
--dim-large-form-margin: 20px;
2021-02-20 09:40:29 +00:00
}