@define-color theme_base_color #333333;
@define-color theme_bg_color #393f3f;
@define-color theme_selected_bg_color #3465a4;

@define-color entry_tag_bg #888a85;
@define-color entry_tag_fg black;
@define-color photos_collection_bg #000000;

GdMainIconView.content-view {
    -GdMainIconView-icon-size: 40;
}

/* Make spinner visible on both dark and bright backgrounds w/o making
 * it look ugly/weird.
 */
GdMainIconView.content-view.cell:active {
    color: gray;
}

.documents-counter {
    background-image: url("dnd-counter.svg");
    background-size: contain;
    background-color: transparent;
    color: @theme_base_color;
    font: bold;
}

.documents-entry-tag {
    background-color: @entry_tag_bg;
    color: @entry_tag_fg;

    border-radius: 4px;
    border-width: 0;

    margin: 2px;
    padding: 4px;
}

.documents-entry-tag:hover {
    background-color: shade(@entry_tag_bg, 1.10);
    color: @entry_tag_fg;
}

.documents-entry-tag.button,
.documents-entry-tag.button:hover,
.documents-entry-tag.button:active,
.documents-entry-tag.button:active:hover {
    background-color: transparent;
    background-image: none;
    border-image: none;
    border-width: 0;
}

.documents-entry-tag.button:hover {
    color: shade(@entry_tag_bg, 2.10);
}

.documents-scrolledwin.frame {
    border-width: 1px 0 0;
    border-radius: 0;
}

.photos-icon-bg {
  icon-shadow: 0 1px #000000;
}

.photos-dropdown,
.photos-dropdown .view {
    background-color: shade (@theme_bg_color, 1.02);
}

.photos-dropdown.frame {
    padding: 6px;
    border-width: 0 1px 1px 1px;
    border-style: solid;
    border-radius: 0 0 5px 5px;
}

.photos-dropdown .view.radio,
.photos-dropdown .view.radio:focused,
.photos-dropdown .view.radio:selected {
    background-image: none;
    background-color: alpha(@theme_base_color, 0.0);
}

.photos-dropdown .view.radio:active,
.photos-dropdown .view.radio:active:focused,
.photos-dropdown .view.radio:active:prelight {
    background-image: url("sidebar-radio-checked.svg");
}

.photos-dropdown .view.radio:prelight {
    background-image: url("sidebar-radio-prelight.svg");
}

.photos-dropdown .view.radio:active:selected,
.photos-dropdown .view.radio:active:selected:focused {
    background-image: url("sidebar-radio-selected.svg");
}

.photos-dropdown .view.radio:selected:prelight,
.photos-dropdown .view.radio:selected:focused {
    background-image: url("sidebar-radio-selected-prelight.svg");
}

.photos-favorite.button {
    color: shade(@theme_selected_bg_color, 1.20);
}

.photos-collection-icon {
    background-color: @photos_collection_bg;
    border-radius: 8px;
}
