/*
* Copyright (c) 2017-2024 Lains
* Copyright (c) 2025 Stella (teamcons on GitHub) and the Ellie_Commons community
*
* 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 2 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, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*/

windowcontrols:backdrop button {
    background: none;
}

editablelabel {
    font-weight: 800;
    padding-left: 24px;
    padding-right: 24px;
    text-shadow: 0px 1px rgba(255,255,255,0.5);
/*     text-shadow: none; */
    letter-spacing: .04em;
}

textview,
editablelabel.editing {
    background-image: none;
    font-weight: 500;
    box-shadow: none;
    text-shadow: none;
    line-height: 1.35em;
    letter-spacing: .02em;
}

/* Fix buttons in popover inheriting the color */
popover button image {
    color: @fg_color;
}

actionbar {
    box-shadow: none;  /*Pondering. It looks good with, too */
    background-color: transparent;
    background-image: none;
    padding: 3px;
    border: none;
}

/* White relief in actionbar icons */
actionbar image {
    -gtk-icon-shadow: 0px 1px rgba(255,255,255,0.5);
}

actionbar .themedbutton:hover,
actionbar .themedbutton:focus {
    background-color: alpha(@fg_color, 0.3);
    border-radius: 6px;
}

/* Obfuscate note */
.scribbly {
    font-family: "Redacted Script";
}

/* Font zooms */
window.antsized textview {font-size: 0.4em;}
window.antsized editablelabel {font-size: 0.25em;}
window.antsized editablelabel.editing {font-size: 0.20em;}

window.muchsmaller textview {font-size: 0.6em;}
window.muchsmaller editablelabel {font-size: 0.45em;}
window.muchsmaller editablelabel.editing {font-size: 0.40em;}

window.smaller textview {font-size: 0.8em;}
window.smaller editablelabel {font-size: 0.65em;}
window.smaller editablelabel.editing {font-size: 0.60em;}

window.small textview {font-size: 1.0em;}
window.small editablelabel {font-size: 0.85em;}
window.small editablelabel.editing {font-size: 0.80em;}

window.normal_zoom textview {font-size: 1.2em;}
window.normal_zoom editablelabel {font-size: 1.05em;}
window.normal_zoom editablelabel.editing {font-size: 1em;}

window.big textview {font-size: 1.4em;}
window.big editablelabel {font-size: 1.25em;}
window.big editablelabel.editing {font-size: 1.20em;}

window.bigger textview {font-size: 1.6em;}
window.bigger editablelabel {font-size: 1.45em;}
window.bigger editablelabel.editing {font-size: 1.40em;}

window.muchbigger textview {font-size: 1.8em;}
window.muchbigger editablelabel {font-size: 1.65em;}
window.muchbigger editablelabel.editing {font-size: 1.60em;}

window.muchmuchbigger textview {font-size: 2em;}
window.muchmuchbigger editablelabel {font-size: 1.85em;}
window.muchmuchbigger editablelabel.editing {font-size: 1.80em;}

window.huge textview {font-size: 2.2em;}
window.huge editablelabel {font-size: 2.05em;}
window.huge editablelabel.editing {font-size: 2.00em;}

window.superhuge textview {font-size: 2.4em;}
window.superhuge editablelabel {font-size: 2.25em;}
window.superhuge editablelabel.editing {font-size: 2.20em;}

window.megahuge textview {font-size: 2.6em;}
window.megahuge editablelabel {font-size: 2.45em;}
window.megahuge editablelabel.editing {font-size: 2.40em;}

window.ultrahuge textview {font-size: 2.8em;}
window.ultrahuge editablelabel {font-size: 2.65em;}
window.ultrahuge editablelabel.editing {font-size: 2.60em;}

window.massive textview {font-size: 3em;}
window.massive editablelabel {font-size: 2.85em;}
window.massive editablelabel.editing {font-size: 2.80em;}

window.urmom textview {font-size: 3.2em;}
window.urmom editablelabel {font-size: 3.05em;}
window.urmom editablelabel.editing {font-size: 3.00em;}


/* ALL the colorpills */

colorpill.blueberry {background-color: @BLUEBERRY_300;}
colorpill.blueberry:hover {border: 1px solid @BLUEBERRY_900;}

colorpill.mint {background-color: @MINT_300;}
colorpill.mint:hover {border: 1px solid @MINT_900;}

colorpill.lime {background-color: @LIME_300;}
colorpill.lime:hover {border: 1px solid @LIME_900;}

colorpill.banana {background-color: @BANANA_300;}
colorpill.banana:hover {border: 1px solid @BANANA_900;}

colorpill.strawberry {background-color: @STRAWBERRY_300;}
colorpill.strawberry:hover {border: 1px solid @STRAWBERRY_900;}

colorpill.orange {background-color: @ORANGE_300;}
colorpill.orange:hover {border: 1px solid @ORANGE_900;}

colorpill.bubblegum {background-color: @BUBBLEGUM_300;}
colorpill.bubblegum:hover {border: 1px solid @BUBBLEGUM_900;}

colorpill.grape {background-color: @GRAPE_300;}
colorpill.grape:hover {border: 1px solid @GRAPE_900;}

colorpill.latte {background-color: @LATTE_300;}
colorpill.latte:hover {border: 1px solid @LATTE_900;}

colorpill.cocoa {background-color: @COCOA_300;}
colorpill.cocoa:hover {border: 1px solid @COCOA_900;}

colorpill.slate {background-color: @SLATE_300;}
colorpill.slate:hover {border: 1px solid @SLATE_900;}



/* ANIMATION */
window.animated,
window.animated overshoot,
window.animated undershoot {
    transition: background 750ms cubic-bezier(0.4, 0, 0.2, 1);
}

window.animated textview,
window.animated textview text,
window.animated headertitle {
    transition: color 750ms cubic-bezier(0.4, 0, 0.2, 1);
}

window.animated actionbar {
    transition: color 750ms cubic-bezier(0.4, 0, 0.2, 1);
}

window.animated actionbar .themedbutton:hover,
window.animated actionbar .themedbutton:focus {
    transition: color 750ms cubic-bezier(0.4, 0, 0.2, 1);
}

window.animated editablelabel,
window.animated actionbar image {
    transition: color 750ms cubic-bezier(0.4, 0, 0.2, 1);
}