@define-color color_primary #fe2851;
@define-color textColorPrimary #ffffff;
@define-color bg_color shade (@base_color, 0.98);

@define-color color_accent #fe2851;

entry {
    caret-color: @colorAccent;
}

textview {
    caret-color: @colorAccent;
}

.titlebar {
    padding: 6px 6px;
}

.repeat-button {
    border-bottom: none;
    padding: 0 8px;
    border-radius: 0;
    border: none;
    box-shadow: none; 
    background: transparent;
}

.byte-seekbar highlight {
    background-color: @colorAccent;
}

.album-row button {
    color: @colorAccent;
    background-color: transparent;
}

.album-row button image {
    color: @colorAccent;
}

.album-row {
    color: @text_color;
    background-color: transparent;
}

.track-row {
    background-color: transparent;
}

.track-row:selected {
    background-color: @colorAccent;
}

.track-row:selected label {
    color: @textColorPrimary;
}

.track-row:selected button {
    color: @textColorPrimary;
}

.track-queue-row:selected {
    background-color: transparent;
    color: @text_color;
}

.slider-button {
    padding: 3px;
    border-radius: 50px;
    border: none;
}

.slider-button.active {
    color: @colorAccent;
}

.header-label {
    color: @colorAccent;
}

.sub-header-label {
    font-size: 21px;
}

.button-color {
    color: @colorAccent;
    background-color: transparent;
}

.w-round {
    border-radius: 0px 0px 6px 6px;
}

.font-bold {
    font-weight: bold;
}

.font-bold-600 {
    font-weight: 600;
}

.search-entry {
    border-radius: 4px;
}

.track-cover {
    border-radius: 12px;
}

.album-cover {
    border-radius: 6px;
}

.artist-cover {
    border-radius: 50%;
    border: 1px solid alpha (#000, 0.35);
    box-shadow:
        inset 0 0 0 1px alpha (#fff, 0.05),
        inset 0 1px 0 0 alpha (#fff, 0.45),
        inset 0 -1px 0 0 alpha (#fff, 0.15),
        0 1px 3px alpha (#fff, 0.12),
        0 1px 2px alpha (#000, 0.24);
}

.playlist-cover {
    border-radius: 6px;
    border: 1px solid alpha (#000, 0.35);
    box-shadow:
        inset 0 0 0 1px alpha (#fff, 0.05),
        inset 0 1px 0 0 alpha (#fff, 0.45),
        inset 0 -1px 0 0 alpha (#fff, 0.15),
        0 1px 3px alpha (#fff, 0.12),
        0 1px 2px alpha (#000, 0.24);
}

.radio-search-row:selected {
    background-color: transparent;
}

.quick-find {
    border-radius: 6px;
    border: 1px solid alpha (#000, 0.3);
    background-color: @bg_color;
    box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
    margin: 12px;
    text-shadow: none;
}

.quick-find-entry:focus {
    border-color: alpha (@colorAccent, 0.8);
}

.quick-find-entry {
    border-color: alpha (@colorAccent, 0.8);
    box-shadow: none;
    background-image: none;
    background: #F6F8FB;
    border-radius: 4px;
    color: @colorAccent;
}

.quick-find-entry image.left {
    color: @colorAccent;
}

.quick-find-entry image.right {
    color: @colorAccent;
}

selection {
    background-color: alpha (@colorAccent, 0.75);
    color: @selected_fg_color;
    text-shadow: none;
}

.quick-find-cancel {
    font-weight: bold;
    padding-right: 0px;
}

.queue {
    border-radius: 6px;
    border: 1px solid alpha (#000, 0.3);
    background-color: @base_color;
    box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
    text-shadow: none;
}

.queue-title {
    background-color: @colorAccent;
    border-radius: 4px 4px 0px 0px;
    /*
    border: 1px solid @colorPrimary;
    */
    color: #fff;
    padding: 3px 0px 3px 6px;
    font-weight: bold;
}

.queue-title button {
    padding: 0px;
    color: #ffffff;
}

.font-album-artist {
    font-weight: 600;
    color: @colorAccent;
}

.home-button {
    color: @text_color;
    background-color:@base_color;
    border-radius: 6px;
    font-weight: 600;
    border: 1px solid shade (@menu_separator, 0.9);
}

.media-control {
    background-color: #f7f7f7;
}

.quick-find-modebutton button {
    border: 1px solid @colorAccent;
    color: @colorPrimary;
    background-image: none;
}

.quick-find-modebutton button:checked {
    background-color: @colorAccent;
    color: #ffffff;
}

.quick-find-modebutton button:first-child {
    border-left: 1px solid @colorAccent;
    border-top: 1px solid @colorAccent;
    border-bottom: 1px solid @colorAccent;
    border-right: none;
    border-radius: 4px 0px 0px 4px;
}


.quick-find-modebutton button:last-child {
    border-left: none;
    border-top: 1px solid @colorAccent;
    border-bottom: 1px solid @colorAccent;
    border-right: 1px solid @colorAccent;
    border-radius: 0px 4px 4px 0px;
}

.quick-find-add-radio {
    border-radius: 50%;
    padding: 0px;
    background-color: @colorAccent;
    color: #ffffff;
    border: 1px solid @colorAccent;
}

.sort-button {
    color: @colorAccent;
    border-radius: 6px;
}

.playing-ani-color {
    background-color: #fff;
    color: @colorPrimary;
    border-radius: 50px;
    padding: 3px;
    border: 1px solid @colorPrimary;
}

.options-button {
    color: @colorAccent;
    border-radius: 4px;
    padding: 2px;
}

.remove-button {
    background-color: @colorAccent;
    color: #ffffff;
    border-radius: 50%;
    padding: 0px;
}

.remove-button image {
    transition: all 240ms ease-in-out;
}

.remove-button.closed image {
    -gtk-icon-transform: rotate(-90deg);
}

.add-playlist {
    background-color: @colorAccent;
    color: #fff;
    border-radius: 4px;
}

.add-playlist-entry {
    border-color: alpha (@colorAccent, 0.8);
    box-shadow: none;
    background-image: none;
    background: #F6F8FB;
    color: @colorAccent;
}

.icon-color-primary {
    color: @colorAccent;
}

.track-options:hover {
    background-color: alpha (@colorAccent, 0.6);
}

overshoot.top {
    background:
        linear-gradient(
            to top,
            alpha(@colorAccent, 0) 80%,
            alpha(@colorAccent, 0.25) 100%
        );
}

overshoot.right {
    background:
        linear-gradient(
            to right,
            alpha(@colorAccent, 0) 80%,
            alpha(@colorAccent, 0.25) 100%
        );
}

overshoot.bottom {
    background:
        linear-gradient(
            to bottom,
            alpha(@colorAccent, 0) 80%,
            alpha(@colorAccent, 0.25) 100%
        );
}

overshoot.left {
    background:
        linear-gradient(
            to left,
            alpha(@colorAccent, 0) 80%,
            alpha(@colorAccent, 0.25) 100%
        );
}

.label-color-primary {
    color: @colorAccent;
}

.mode-button {
    background-color: @base_color;
    border-radius: 3px;
}

.mode-button button {
    color: @text_color;
}

.label-white {
    color: #fff;
}

.byte-textview text {
    background-color: @bg_color;
}

.playlist-entry {
    background-color: @bg_color;
}

.no-padding {
    padding: 0px;
}

.secondary_label {
    font-weight: 400;
}

.editor-titlebar headerbar {
    padding: 0px 0px 0px 3px;
}

.editor-textview text {
    background-color: @bg_color;
}

.settings-icon {
    background-color: @colorPrimary;
    color: #fff;
    border-radius: 3px;
    padding: 3px;
}

.active-switch slider {
    min-height: 16px;
    min-width: 16px;
}

.sync-image {
    animation: spin 1000ms linear infinite;
    color: @colorAccent
}

/*
    Animations
*/

@keyframes fancy_turn {
    0%   { -gtk-icon-transform: rotate(0deg); }
    20%  { -gtk-icon-transform: rotate(-30deg); }
    40%  { -gtk-icon-transform: rotate(0deg); }
    80%  { -gtk-icon-transform: rotate(30deg); }
    100% { -gtk-icon-transform: rotate(0deg); }
}

.active {
  animation-name: fancy_turn;
  animation-duration: 0.7s;
  animation-timing-function: ease-in-out;
}

.font-size-small {
    font-size: 10px;
}


.color-radio radio,
.color-radio radio:checked {
    border-color: alpha (#000, 0.3);
    box-shadow:
        inset 0 1px 0 0 alpha (@shadowColor, 0.7),
        inset 0 0 0 1px alpha (@shadowColor, 0.3),
        0 1px 0 0 alpha (@shadowColor, 0.3);
    padding: 3px;
    -gtk-icon-shadow: none;
}
  
.color-radio radio:focus {
    border-color: @bg_color;
    box-shadow:
        inset 0 1px 0 0 alpha (@shadowColor, 0.7),
        inset 0 0 0 1px alpha (@shadowColor, 0.3),
        inset 0 0 0 1px alpha (@shadowColor, 0.05),
        0 1px 0 0 alpha (@shadowColor, 0.3),
        0 0 0 1px alpha (@shadowColor, 0.25);
}
