/* PIKA theme css file */

* {
    -gtk-icon-style:                   symbolic;
    -PikaDockWindow-default-height:    300;
    -PikaMenuDock-minimal-width:       200;
    -PikaDockWindow-menu-preview-size: button;
    -PikaToolPalette-tool-icon-size:   large-toolbar;
    -PikaToolPalette-button-relief:    none;
    -PikaDockbook-tab-icon-size:       button;
    -PikaColorNotebook-tab-icon-size:  button;
    -PikaDeviceEditor-handle-size:     12;
    -PikaDockable-content-border:      2;
    -PikaEditor-content-spacing:       2;
    -PikaEditor-button-spacing:        2;
    -PikaEditor-button-icon-size:      menu;
    -PikaDataEditor-minimal-height:    96;
    -GtkDialog-content-area-border:    0;
    -GtkDialog-button-spacing:         6;
    -GtkDialog-action-area-border:     12;
    -PikaUnitComboBox-appears-as-list: 0;
}

PikaToolDialog {
    -GtkDialog-action-area-border: 6;
}

PikaColorNotebook tab {
    padding: 0 0 0 0;
}

PikaDock entry,
PikaDock spinbutton,
PikaDock PikaColorNotebook spinbutton,
PikaDock PikaColorNotebook spinbutton entry,
PikaDock PikaColorScales spinbutton,
PikaDock PikaColorScales spinbutton entry {
    min-height: 0;
    padding-top: 2px;
    padding-bottom: 2px;
}

PikaColorSelection ColorselCmyk {
    padding: 2px 2px 2px 2px;
}

PikaColorHistory button {
    padding: 3px 3px 3px 3px;
}

#pika-color-tag-box button {
    padding: 4px 6px 4px 6px;
}

tab PikaFgBgView {
    padding: 6px 6px 6px 6px;
}

PikaFgBgEditor:active {
    border-width: 2px 2px 2px 2px;
}

PikaDock notebook tab {
    padding: 0 0 0 0;
}

PikaDock :not(toolbutton) > button,
PikaOverlayDialog button,
PikaToolDialog :not(headerbar) button,
PikaTextStyleEditor button {
    padding: 0px 2px 0px 2px;
}

PikaToolDialog headerbar {
    min-height: 0;
}

PikaToolDialog headerbar button {
    padding: 2px 2px 2px 2px;
}

PikaDock frame {
    -PikaFrame-label-bold:       0;
    -PikaFrame-label-spacing:    2;
}

PikaDisplayShell grid > button {
    min-height: 0;
    min-width: 0;
    padding: 0 0 0 0;
}

PikaDisplayShell progressbar trough,
PikaDisplayShell progressbar progress {
    min-height: 1em;
}

PikaFileDialog progressbar trough,
PikaFileDialog progressbar progress {
    min-width: 1px; /* hack */
    min-height: 1em;
}

spinbutton entry {
    border-radius: 3px;
}

PikaSpinScale entry {
    /* Important: prevent overhigh spin scale */
    min-height: 16px;
}

PikaSpinScale entry progress {
    background-color: @theme_selected_bg_color;
    border-width:     0px;
    border-radius:    3px;
}

PikaSpinScale button {
    /* Makes the +- buttons a bit more compact. */
    padding: 0 1px 0 1px;
}

entry.italic {
    font-style: italic;
}

.grid {
    /* why does this not work */
    color: rgba (1.0, 0.0, 0.0, 1.0);
}

treeview header button {
    padding: 6px;
}

treeview .toggle-icon:not(.visible):hover {
    border: 1px solid gray;
    border-radius: 3px;
}

treeview .toggle-icon:not(.visible):selected {
    border-color: lightgray;
}
