Commit c858f907 authored by Jörg Richter's avatar Jörg Richter

Add CSS variable `--object-item-padding` (#214)

Padding for topic/assoc items e.g. in a topic list
parent 4eac005b
Pipeline #6596 passed with stages
in 3 minutes and 12 seconds
......@@ -61,13 +61,14 @@ export default {
</script>
<style>
/* copy in dm5-topic-list.vue */
.dm5-assoc-def-list .dm5-assoc-def {
border-bottom: 1px solid var(--border-color);
border-left: 1px solid var(--border-color);
border-right: 3px solid var(--border-color);
background-color: white;
transition: background-color 0.25s;
padding: 8px;
padding: var(--object-item-padding);
}
.dm5-assoc-def-list .dm5-assoc-def:nth-child(1) {
......
......@@ -46,6 +46,7 @@
--line-height: 1.6em;
--paragraph-spacing: 0.6em;
--field-spacing: 1.2em; /* vertical spacing between data fields */
--object-item-padding: 8px; /* padding for topic/assoc items e.g. in a topic list */
--icon-spacing: 7px; /* horizontal spacing between icon and label */
--detail-panel-padding: 12px; /* left/right padding for detail panel tab panes */
--detail-panel-padding-all: 29px 12px 12px 12px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment