/*
 * Copyright (C) 2019-2020  Alex Yatskov <alex@foosoft.net>
 * Author: Alex Yatskov <alex@foosoft.net>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the entrys 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 <https://www.gnu.org/licenses/>.
 */


body { background-color: #ffffff; color: #333333; }

.navigation-header {
    background-color: #ffffff;
    border-bottom-color: #eeeeee;
}

.entry+.entry { border-top-color: #eeeeee; }

.kanji-glyph-data>tbody>tr>* { border-top-color: #dddddd; }

.tag { color: #ffffff; }
.tag[data-category=default]      { background-color: #8a8a91; }
.tag[data-category=name]         { background-color: #5cb85c; }
.tag[data-category=expression]   { background-color: #f0ad4e; }
.tag[data-category=popular]      { background-color: #0275d8; }
.tag[data-category=frequent]     { background-color: #5bc0de; }
.tag[data-category=archaism]     { background-color: #d9534f; }
.tag[data-category=dictionary]   { background-color: #aa66cc; }
.tag[data-category=frequency]    { background-color: #5cb85c; }
.tag[data-category=partOfSpeech] { background-color: #565656; }
.tag[data-category=search]       { background-color: #8a8a91; }

.term-reasons { color: #777777; }

.term-expression>.term-expression-text .kanji-link {
    border-bottom-color: #777777;
    color: #333333;
}

.term-expression[data-frequency=popular]>.term-expression-text,
.term-expression[data-frequency=popular]>.term-expression-text .kanji-link {
    color: #0275d8;
}

.term-expression[data-frequency=rare]>.term-expression-text,
.term-expression[data-frequency=rare]>.term-expression-text .kanji-link {
    color: #999999;
}

.term-definition-container,
.kanji-glossary-container {
    color: #777777;
}

.term-glossary,
.kanji-glossary {
    color: #000000;
}

.icon-checkbox:checked + label {
    /* invert colors */
    background-color: #333333;
    color: #ffffff;
}