/*
:filename: statics/css/bigi.css
:author: Brigitte Bigi
:contact: contact@sppas.org
:summary: CSS for the publications table.

-------------------------------------------------------------------------

This file is part of SPPAS: https://sppas.org/

Copyright (C) 2011-2026 Brigitte Bigi, CNRS
Laboratoire Parole et Langage, Aix-en-Provence, France

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero 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 Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

This banner notice must not be removed.

-------------------------------------------------------------------------

*/

/* No chart with "quantitative" indicators! */
#pubTablepubchart { display: none;}
.legend { display: none;}

#pubTable_wrapper {
    width:  94%;
    margin: 0 auto;
}

#pubTable_filter {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 125%;
    color: var(--fg-color-alt);
    width:  100%;
}

/* sort buttons of the table */
.sorting_asc { background: url('../../etc/images/sort_asc.png') no-repeat center right; }
.sorting_desc { background: url('../../etc/images/sort_desc.png') no-repeat center right; }
.sorting { background: url('../../etc/images/sort_both.png') no-repeat center right; }
.sorting_asc_disabled { background: url('../../etc/images/sort_asc_disabled.png') no-repeat center right; }
.sorting_desc_disabled { background: url('../../etc/images/sort_desc_disabled.png') no-repeat center right; }

table:not([role="presentation"]) tbody tr:nth-child(even) * {
    background-color: revert;
}

table:not([role="presentation"]) tbody tr:nth-child(even) {
    background-color: var(--table-row-stripped-bg-color);
}

#pubTable .button_red    { border: 1px solid rgba(160,120,120,0.8); background-color: rgba(220,180,180,0.7); }
#pubTable .button_blue   { border: 1px solid rgba(120,140,160,0.8); background-color: rgba(180,200,220,0.7); }
#pubTable .button_green  { border: 1px solid rgba(120,160,140,0.8); background-color: rgba(180,220,200,0.7); }
#pubTable .button_yellow { border: 1px solid rgba(160,160,120,0.8); background-color: rgba(240,240,180,0.7); }
#pubTable .button_purple { border: 1px solid rgba(160,120,120,0.8); background-color: rgba(200,180,200,0.7); }
#pubTable .button_red,
#pubTable .button_blue,
#pubTable .button_green,
#pubTable .button_yellow,
#pubTable .button_purple {
    padding-left: var(--typography-spacing-horizontal);
    padding-right: var(--typography-spacing-horizontal);
    padding-top: calc(var(--typography-spacing-vertical) / 2);
    padding-bottom: calc(var(--typography-spacing-vertical) / 2);
    margin-right: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

#pubTable .bibinfo pre {
    position: fixed;
    top: 30vh;
    left: calc(var(--nav-expanded-width) + 4rem);
    width: 70%;
    background-color: var(--bg-color-alt);
    color: var(--fg-color-alt);
    border-radius: var(--border-radius);
    border: var(--border-width) solid var(--border-color);
    z-index: 50;
}

#pubTable .bibclose {
    text-align: center;
    font-size: calc(var(--font-size) * 1.25);
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    padding: 0.3rem;
    position: fixed;
    top: 30vh;
    left: calc(var(--nav-expanded-width) + 2rem);
    width: 2rem;
    background-color: rgb(240, 240, 240);
    color: darkred;
    border-radius: var(--border-radius);
    border: var(--border-width) solid var(--border-color);
    z-index: 50;
}