mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-01 04:12:22 +03:00
305 lines
5.7 KiB
SCSS
305 lines
5.7 KiB
SCSS
/* ----------------------------------------------------------------------------
|
|
* Easy!Appointments - Online Appointment Scheduler
|
|
*
|
|
* @package EasyAppointments
|
|
* @author A.Tselegidis <alextselegidis@gmail.com>
|
|
* @copyright Copyright (c) Alex Tselegidis
|
|
* @license https://opensource.org/licenses/GPL-3.0 - GPLv3
|
|
* @link https://easyappointments.org
|
|
* @since v1.5.0
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
// Lux 5.1.3
|
|
// Bootswatch
|
|
|
|
$theme: "lux" !default;
|
|
|
|
//
|
|
// Color system
|
|
//
|
|
|
|
$white: #fff !default;
|
|
$gray-100: #f8f9fa !default;
|
|
$gray-200: #f7f7f9 !default;
|
|
$gray-300: #eceeef !default;
|
|
$gray-400: #ced4da !default;
|
|
$gray-500: #adb5bd !default;
|
|
$gray-600: #919aa1 !default;
|
|
$gray-700: #55595c !default;
|
|
$gray-800: #343a40 !default;
|
|
$gray-900: #1a1a1a !default;
|
|
$black: #000 !default;
|
|
|
|
$blue: #007bff !default;
|
|
$indigo: #6610f2 !default;
|
|
$purple: #6f42c1 !default;
|
|
$pink: #e83e8c !default;
|
|
$red: #d9534f !default;
|
|
$orange: #fd7e14 !default;
|
|
$yellow: #f0ad4e !default;
|
|
$green: #4bbf73 !default;
|
|
$teal: #20c997 !default;
|
|
$cyan: #1f9bcf !default;
|
|
|
|
$primary: #439982 !default;
|
|
$secondary: $white !default;
|
|
$success: $green !default;
|
|
$info: $cyan !default;
|
|
$warning: $yellow !default;
|
|
$danger: $red !default;
|
|
$light: $gray-100 !default;
|
|
$dark: $gray-800 !default;
|
|
|
|
$min-contrast-ratio: 2.3 !default;
|
|
|
|
// Options
|
|
|
|
$enable-rounded: true !default;
|
|
|
|
// Body
|
|
|
|
$body-color: $gray-800 !default;
|
|
|
|
// Fonts
|
|
|
|
// stylelint-disable-next-line value-keyword-case
|
|
//$font-family-sans-serif: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
|
|
$h1-font-size: 2rem !default;
|
|
$h2-font-size: 1.75rem !default;
|
|
$h3-font-size: 1.5rem !default;
|
|
$h4-font-size: 1.25rem !default;
|
|
$h5-font-size: 1rem !default;
|
|
$h6-font-size: .75rem !default;
|
|
$headings-font-weight: 600 !default;
|
|
$headings-color: $gray-900 !default;
|
|
|
|
// Tables
|
|
|
|
$table-border-color: rgba(0, 0, 0, .05) !default;
|
|
|
|
// Buttons + Forms
|
|
|
|
$input-btn-border-width: 1px !default;
|
|
|
|
// Buttons
|
|
|
|
$btn-line-height: 1.25rem !default;
|
|
$input-btn-padding-y: .6rem !default;
|
|
$input-btn-padding-x: 1rem !default;
|
|
$input-btn-padding-y-sm: .35rem !default;
|
|
$input-btn-padding-x-sm: .5rem !default;
|
|
$input-btn-padding-y-lg: 1.85rem !default;
|
|
$input-btn-padding-x-lg: 1.5rem !default;
|
|
$btn-font-weight: 600 !default;
|
|
|
|
// Forms
|
|
|
|
$input-line-height: 1.25 !default;
|
|
$input-bg: $white !default;
|
|
$input-disabled-bg: $gray-300 !default;
|
|
$input-group-addon-bg: $gray-300 !default;
|
|
|
|
// Navbar
|
|
|
|
$navbar-padding-y: 1.5rem !default;
|
|
$navbar-dark-hover-color: $white !default;
|
|
$navbar-light-color: rgba($black, .3) !default;
|
|
$navbar-light-hover-color: $gray-900 !default;
|
|
$navbar-light-active-color: $gray-900 !default;
|
|
|
|
// Pagination
|
|
|
|
$pagination-border-color: transparent !default;
|
|
$pagination-hover-border-color: $pagination-border-color !default;
|
|
$pagination-disabled-border-color: $pagination-border-color !default;
|
|
|
|
@import '../../../node_modules/bootstrap/scss/bootstrap';
|
|
|
|
// Bootswatch (Lux)
|
|
|
|
|
|
// Variables
|
|
|
|
// Hint: Use the following $var to load a custom font.
|
|
// $web-font-path: "https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600&display=swap" !default;
|
|
// @if $web-font-path {
|
|
// @import url($web-font-path);
|
|
// }
|
|
|
|
// Navbar
|
|
|
|
.navbar {
|
|
font-size: $font-size-sm;
|
|
text-transform: uppercase;
|
|
font-weight: 600;
|
|
|
|
&-nav {
|
|
.nav-link {
|
|
padding-top: .715rem;
|
|
padding-bottom: .715rem;
|
|
}
|
|
}
|
|
|
|
&-brand {
|
|
margin-right: 2rem;
|
|
}
|
|
}
|
|
|
|
.bg-light {
|
|
border: 1px solid $gray-400 !important;
|
|
|
|
&.navbar-fixed-top {
|
|
border-width: 0 0 1px;
|
|
}
|
|
|
|
&.navbar-bottom-top {
|
|
border-width: 1px 0 0;
|
|
}
|
|
}
|
|
|
|
// Buttons
|
|
|
|
.btn {
|
|
font-size: $font-size-sm;
|
|
text-transform: uppercase;
|
|
|
|
&-sm {
|
|
font-size: 10px;
|
|
}
|
|
|
|
&-warning {
|
|
&,
|
|
&:hover,
|
|
&:not([disabled]):not(.disabled):active,
|
|
&:focus {
|
|
color: $white;
|
|
}
|
|
}
|
|
}
|
|
|
|
.btn-secondary {
|
|
//color: #45927d;
|
|
color: darken($primary, 5);
|
|
}
|
|
|
|
.btn-outline-secondary {
|
|
background: none;
|
|
border-color: #777;
|
|
color: #777;
|
|
|
|
&:not([disabled]):not(.disabled):hover,
|
|
&:not([disabled]):not(.disabled):focus,
|
|
&:not([disabled]):not(.disabled):active {
|
|
background-color: $gray-400;
|
|
border-color: $gray-400;
|
|
color: $white;
|
|
}
|
|
|
|
&:not([disabled]):not(.disabled):focus {
|
|
box-shadow: 0 0 0 .2rem rgba($gray-400, .5);
|
|
}
|
|
|
|
&[disabled], &.disabled {
|
|
color: $gray-400;
|
|
border-color: $gray-400;
|
|
}
|
|
}
|
|
|
|
[class*="btn-outline-"] {
|
|
border-width: 1px;
|
|
}
|
|
|
|
.border-secondary {
|
|
border: 1px solid $gray-400 !important;
|
|
}
|
|
|
|
.btn-close {
|
|
opacity: .3;
|
|
}
|
|
|
|
// Typography
|
|
|
|
body {
|
|
//font-weight: 200;
|
|
letter-spacing: 0.05rem;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
text-transform: uppercase;
|
|
letter-spacing: 3px;
|
|
}
|
|
|
|
.text-secondary {
|
|
color: $body-color !important;
|
|
}
|
|
|
|
// Tables
|
|
|
|
th {
|
|
font-size: $font-size-sm;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
// Navs
|
|
|
|
.dropdown-menu {
|
|
font-size: $font-size-sm;
|
|
text-transform: uppercase;
|
|
border: 1px solid rgb(0 0 0 / 30%);
|
|
|
|
.dropdown-item {
|
|
padding: 1rem;
|
|
}
|
|
}
|
|
|
|
// Indicators
|
|
|
|
.badge {
|
|
padding-top: .28rem;
|
|
|
|
&-pill {
|
|
border-radius: 10rem;
|
|
}
|
|
|
|
&.bg-secondary,
|
|
&.bg-light {
|
|
color: $dark;
|
|
}
|
|
}
|
|
|
|
// Containers
|
|
|
|
.list-group-item {
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6,
|
|
.h1,
|
|
.h2,
|
|
.h3,
|
|
.h4,
|
|
.h5,
|
|
.h6 {
|
|
color: inherit;
|
|
}
|
|
}
|
|
|
|
.card {
|
|
&-title,
|
|
&-header {
|
|
color: inherit;
|
|
}
|
|
}
|
|
|
|
// Forms
|
|
|
|
.form-label {
|
|
font-weight: bold;
|
|
}
|