/**
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


/*
Vivid and Sharp: https://visme.co/blog/website-color-schemes/

#D83F87 - pink
#2A1B3D - dark purple
#44318D - purple
#E98074 - light purple - no
#7D68A3 - light purple - real
#A4B3B6 - greyish
*/

body {
    background-color: #E4F3F6;
}

.box {
    padding: 0;
    border: 1px solid #dfd0e7;
    border-radius: 0px;
}

.navbar-item img {
    max-height: 1.25rem;
    margin-left: 0.25rem;
}

.box-header {
    background-color: #44318D;
    color: #FFF;
    font-weight: bold;
    padding-left: 0.7rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.dataTables_filter label {
    display: inline-block;
    color: #A4B386;
    padding-top: 0.5rem;
    padding-right: 1rem;
}

.columns {
    margin: 0 !important;
}

.tab-link {
    display: inline-block;
    margin-left: 0.5rem;
}


/* Move search bar up */

.dataTables_filter {
    margin: 0;
    height: 3.25rem;
    margin-top: -3.25rem !important;
}

.dataTable {
    width: 100% !important;
}

.column {
    padding: 0;
}

h1.title {
    margin-left: auto;
    margin-right: auto;
}

h3 {
    font-weight: bold;
}

h4.subtitle {
    color: #fff;
    font-size: small;
    margin-bottom: 0 !important;
}

h5.stats {
    color: #fff;
    font-size: small;
}

a.navbar-item {
    color: #fff;
}

.play-fast-back {
    color: #A4B3B6;
}

.play-fast-forward {
    color: #A4B3B6;
}

nav {
    padding-right: 0.8em;
}

nav.secondary {
    height: 2rem;
    min-height: 2rem;
    max-height: 2rem;
    padding: 0.2rem;
    padding-right: 0.8em;
}

.navbar-center {
    margin-left: auto;
    margin-right: auto;
    color: #c5c5c5;
}

.center-item {
    display: inline-block;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0.75rem;
}

.right-item {
    display: inline-block;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

table.is-size-6 {
    font-size: 0.9rem !important;
    width: 100%;
}

thead {
    color: #fff;
}

.navbar {
    color: #F0F0F0;
    background-color: #C82F77;
}

.secondary {
    background-color: #2A1B3D;
    color: #FFF;
}

thead {
    background-color: #7D68A3;
}

.hd {
    border-right: 1px dotted #5D4883;
    padding-left: 0.5em !important;
}

.hd:last-child {
    border-right: none;
}

td {
    padding: 0.2rem !important;
}

td:first-child {
    padding-left: 0.4em !important;
}

td:last-child {
    padding-right: 0.2em !important;
}

.gh-label {
    border-radius: 2px;
    box-shadow: inset 0 -1px 0 rgba(27, 31, 35, .12);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0px 4px;
    display: inline-block;
}

.gh-tag {
    border-radius: 2px;
    box-shadow: inset 0 -1px 0 rgba(27, 31, 35, .12);
    background-color: #e0e0e0;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0px 4px;
    display: inline-block;
    color: #000;
}

.tag-default {
    background-color: #e0e0e0;
}

.tag-send {
    background-color: #0f0;
}

.tag-recv {
    background-color: #F83F87;
}

.tag-a-has-q {
    background-color: #E98074;
}

.tag-pr-unreviewed,
.tag-unreviewed {
    background-color: #F08 !important;
    color: #FFF !important;
    font-weight: bold;
    font-style: italic;
}

.tag-pr-unreviewed a {
    color: #FFF !important;
}

.tag-pr-new-commits,
.tag-new-commits {
    background-color: #F80 !important;
    color: #FFF !important;
    font-weight: bold;
    font-style: italic;
}

.tag-pr-new-commits a {
    color: #FFF !important;
}

.tag-pr-approved,
.tag-approved {
    background-color: #00A125 !important;
    color: #FFF !important;
}

.tag-pr-pushed-after-approval,
.tag-pushed-after-approval {
    background-color: #80A125 !important;
    color: #FFF !important;
}

.tag-pr-approved a {
    color: #FFF !important;
}

.tag-pr-merged,
.tag-merged {
    background-color: #6418BD !important;
    color: #FFF !important;
}

.tag-pr-merged a {
    color: #FFF !important;
}

.tag-pr-closed,
.tag-closed {
    background-color: #CA2339 !important;
    color: #000 !important;
    text-decoration: line-through;
}

.tag-pr-closed a {
    color: #000 !important;
}

.tag-pr-changes-requested,
.tag-changes-requested {
    background-color: #FF0 !important;
}


/* Fix bulma datatables funkiness */

.sorting_asc {
    background-color: #6D5893;
}

.sorting_asc::after {
    content: "" !important;
}

.sorting_desc {
    background-color: #8D78B3;
}

.sorting_desc::after {
    content: "" !important;
}

.sorting::after {
    content: "" !important;
}


/* Tables */

.cell-desc {
    width: 43%;
}


/* labels are flexible */

.cell-tags {
    width: 10%;
}

.cell-create {
    width: 2.5em;
}

.cell-update {
    width: 2.5em;
}

.cell-response {
    width: 2.5em;
}

.cell-reactions {
    width: 3em;
}

.cell-assignee {
    width: 3em;
}

.cell-comments {
    width: 10%;
}

.cell-author {
    width: 2.5em;
}

.cell-id {
    width: 3em;
}

.similar {
    background-color: #FFFDE9;
    font-size: small;
    color: #000;
    margin: 0.3rem;
    padding: 0.3rem;
    border: 1px dashed #C9CAAB;
}

.dupes {
    font-style: italic;
}

.similar a {
    color: #3F1D09;
}

.section {
    padding: 2rem 2rem;
}

.tp-container {
    margin-left: 0;
    margin-right: 0;
}

.is-active {
    font-weight: bold;
    color: #FFF !important;
    background-color: #D83F87 !important;
}

.even {
    background-color: #F7F7F7 !important;
}

.reaction-heart:before {
    content: "❤️";
}

.reaction-thumbs_up:before {
    content: "👍";
}

.reaction-thumbs_down:before {
    content: "👎";
}

.reaction-laugh:before {
    content: "😂";
}

.reaction-confused:before {
    content: "😕";
}

.reaction-hooray:before {
    content: "🎉";
}

.reaction-count {
    padding-left: 0.5em;
}

.celebrate {
    text-align: center;
    font-size: 200%;
}

.celebrate h1 {
    font-size: 4em;
}

.celebrate h2 {
    font-weight: bold;
}

.no-matches {
    background-color: #CEE0E3;
    margin-bottom: 1em;
    padding: 0.5em;
    max-width: 50%;
    color: #666;
    font-size: 80%;
}

.no-matches strong {
    color: #666;
}

.alt-view {
    margin-left: 0.8em;
    padding-left: 0.8em;
    border-left: 1px solid #5442a7;
}

.alt-view a {
    color: #fff;
    text-decoration: underline;
}

.pull-requests {
    list-style-type: disc;
    margin-left: 1.5em;
    font-size: small;
}

.description pre {
    padding: 0.8rem;
}

.stats {
    color: #dfc3e3 !important;
}

.subtitle {
    color: #dfc3e3 !important;
}

.stat-title {
    font-weight: bold !important;
}

.section-title {
    font-weight: bold !important;
}
