/* FontManager.css
 *
 * Copyright (C) 2009 - 2019 Jerry Casiano
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.
 *
 * If not, see <http://www.gnu.org/licenses/gpl-3.0.txt>.
*/

treeview {
    padding: 0px 6px 0px 6px;
}

.red {
    margin: 0px;
    padding: 0px;
    background-color: #ff0000;
}

.green {
    margin: 0px;
    padding: 0px;
    background-color: #008000;
}

.blue {
    margin: 0px;
    padding: 0px;
    background-color: #0000ff;
}

.gray {
    margin: 0px;
    padding: 0px;
    background-color: #808080;
}

.rounded-button {
    margin: 2px;
    padding: 0px 18px 0px 18px;
    border-radius: 1.0em;
}

.InlineHelp {
    background: transparent;
}

.HelpBubble {
    margin: 1px;
    border-width: 0px;
    border-style: groove;
    border-radius: 0.75em;
    color: lighter(@theme_selected_fg_color);
    background-color: alpha(@theme_text_color, 0.775);
}

.PangoGlyphMetrics {
    color: alpha(@theme_selected_bg_color, 0.250);
}

.PreviewTileCount {
    margin: 0px;
    border-radius: 1em 0em 0.75em 0em;
    border-width: 0.5px;
    border-style: groove;
    color: darker(@insensitive_fg_color);
    border-color: alpha(darker(@borders), 0.333);
    background-color: alpha(@insensitive_bg_color, 0.5);
}

.PreviewTile {
    box-shadow: alpha(@borders, 0.333) 0.25px 0.25px 0.5px 0.5px;
}

.CellRendererPill,
.PreviewTile {
    margin: 1px;
    border-width: 1px;
    border-style: groove;
    border-radius: 0.75em;
    color: darker(@insensitive_fg_color);
    border-color: alpha(darker(@insensitive_bg_color), 0.25);
    background-color: alpha(@insensitive_bg_color, 0.5);
}

.CellRendererPill:selected {
    color: @theme_selected_fg_color;
    border-color: alpha(lighter(@theme_selected_bg_color), 0.333);
    background-color: darker(@theme_selected_bg_color);
}

.CellRendererTitle {
    margin: 1px;
    border-radius: 0em 1em 1em 0em;
    border-width: 1px;
    border-style: groove;
    color: darker(@insensitive_fg_color);
    border-color: alpha(darker(@borders), 0.333);
    background-color: alpha(@insensitive_bg_color, 0.5);
}

.InsensitiveButton > label {
    text-shadow: 1px 1px darker(@selected_theme_bg_color);
    color: @theme_selected_bg_color;
}

#FontManagerSubpixelGeometryIcon {
    border-style: solid;
    border-width: 0.1em;
    border-radius: 0.1em;
    border-color: darker(@borders);
}

#FontManagerBrowseTreeView {
    padding: 4px;
}

#FontManagerCompareTree:selected {
    border-top-left-radius: 0.333em;
    border-top-right-radius: 0.333em;
}

#FontManagerSubstituteList {
    border-radius: 0.25em;
}

#FontManagerSubstituteList button {
    border-color: alpha(@borders, 0.75);
}

#FontManagerAliasList row {
    border-radius: 0.25em;
}

#FontManagerAliasList row:selected,
#FontManagerFontSourceList row:selected {
    background-color: alpha(@theme_selected_bg_color, 0.85);
    border-radius: 0.25em;
}

#FontManagerAliasList row:selected button {
    background-color: @theme_bg_color;
    border-radius: 0.25em;
}

#FontManagerAliasRow list row:hover,
#FontManagerDesktopPreferences list row:hover {
    background-color: transparent;
}

#FontManagerDesktopPreferences list row {
    padding: 0px;
}
