_variables_project.scss 3.0 KB
Newer Older
1
// minkube CSS overrides ///
2

T
Thomas Stromberg 已提交
3
// minikube colors, taken from the logo
4 5 6
$mk-dark: #306EE5;
$mk-medium: #1FC3CF;
$mk-light:#C7EAEC;
7
$mk-verydark: darken($mk-dark, 15%);
8

9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
// bootstrap colors
$primary: #403F4C !default;
$primary-light: $mk-light;
$secondary: $mk-medium;
$success: #3772FF !default;
$info: #C0E0DE !default;
$warning: #ED6A5A !default;
$danger: #ED6A5A !default;
$white: #fff !default;
$light: $mk-light;
$medium: $mk-medium;
$dark: #403F4C !default;
$blue: #72A1E5 !default;
$orange: #BA5A31 !default;
$gray-100: #f8f9fa !default;
$gray-200: #eee !default;
$gray-300: #dee2e6 !default;
$gray-400: #ccc !default;
$gray-500: #adb5bd !default;
$gray-600: #888 !default;
$gray-700: #495057 !default;
$gray-800: #333 !default;
$gray-900: #222 !default;
$black: #000 !default;
33

34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
// Navigation bar
$navbar-dark-color: $mk-dark;
$navbar-dark-hover-color: $mk-light !default;
$navbar-dark-active-color: $mk-light !default;
$navbar-dark-disabled-color: rgba($white, 0.25) !default;
.td-navbar {
    background: $white !important;
    border-bottom: 1px solid $mk-light;

    .navbar-logo {
        svg {
            display: inline-block;
            height: 50px;
            width: auto;
            margin-right: 10px;
        }
    }
    a.navbar-brand {
        color: $gray-900 !important;
    }
    span.text-uppercase {
        text-transform: none !important;
    }
}

// Inline images
div.card.rounded {
    border: none;
}

// Links
$link-color: $mk-dark !default;
$link-decoration: none !default;
$link-hover-color: darken($link-color, 15%) !default;
$link-hover-decoration: none !default;

70 71 72 73 74 75 76 77 78 79 80
// Welcome to minikube! box
.td-box--white:nth-child(1) {

    // News
    ul {
        margin-top: 1rem;
        list-style: none;
        color: $gray-700;
        padding-left: 0;
    }
}
81 82 83 84

// Sales pitch box
.td-box--1 {
    background-color: $mk-dark !important;
85 86 87

    // Increase from 1.25 for improved readability
    .h4 {
88
        line-height: 1.6 !important;
89 90 91
    }

    // Control the presentation of the screenshot
92 93
    .p-2 {
        padding: 0 !important;
94 95
        margin-left: auto;
        margin-right: auto;
96
    }
97 98
    .card {
        border-radius: 0 !important;
99
        border: 2px solid $mk-verydark !important;
100 101 102 103 104 105 106
    }
    .card-img-top {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    // Make sure the arrow color matches our override
107 108 109
    .td-arrow-down::before {
        border-color: $mk-dark transparent transparent transparent !important;
    }
110 111

    // Left is best.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
    .text-center {
        text-align: left !important;
    }
}

// Features box
.td-box--white {
    // Center-aligned bullets look bad.
    .text-center ul {
        text-align: left;
        margin-left: auto;
        margin-right: auto;
        max-width: 15em;
    }
    div.mb-5:nth-child(3) ul {
        max-width: 10em;
    }
}

// If we're using icons for bullets, de-ident
.fa-ul {
    padding-left: 0em !important;
    margin-left: 1em !important;
}

// Reduce section padding by 1rem
section.td-box--height-auto {
    padding-bottom: 3rem !important;
}