1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-21 14:19:43 +02:00
documize/gui/app/styles/core/bootstrap.scss

145 lines
3.6 KiB
SCSS
Raw Normal View History

// Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved.
//
// This software (Documize Community Edition) is licensed under
// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html
//
// You can operate outside the AGPL restrictions by purchasing
// Documize Enterprise Edition and obtaining a commercial license
// by contacting <sales@documize.com>.
//
// https://documize.com
//
// Variable overrides
//
2017-11-17 11:31:54 +00:00
// font
// $font-family-sans-serif: "Helvetica", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
// colors
2018-12-04 17:26:57 +00:00
$blue: $theme-500;
$red: map-get($red-shades, 600);
$green: map-get($green-shades, 700);
$secondary: map-get($gray-shades, 600);
$light: $color-white;
2018-12-04 17:26:57 +00:00
$dark: $color-black-light-1;
// modal
2018-11-24 16:13:21 +00:00
$modal-backdrop-opacity: 0.5;
$modal-header-border-color: $color-white;
$modal-footer-border-color: $color-white;
.modal-header {
2018-12-04 17:26:57 +00:00
background-color: $theme-500;
color: map-get($gray-shades, 100);
font-size: 1.2rem;
font-weight: 600;
}
// rounded corners
$border-radius: 0;
$border-radius-lg: 0;
$border-radius-sm: 0;
2017-11-22 17:27:09 +00:00
$border-radius: .125rem;
$border-radius-lg: .15rem;
$border-radius-sm: .1rem;
// form
2018-12-04 17:26:57 +00:00
$input-color: $color-black-light-1;
$input-border-color: map-get($gray-shades, 200);
$input-focus-bg: $color-white;
2018-12-04 17:26:57 +00:00
$input-focus-border-color: map-get($gray-shades, 600);
$input-focus-color: $color-black-light-1;
$input-placeholder-color: map-get($gray-shades, 600);
$input-focus-border-color: map-get($gray-shades, 200);
2018-06-21 12:38:26 +01:00
// form labels
.form-group {
> label {
color: map-get($gray-shades, 700);
2018-06-21 12:38:26 +01:00
font-size: 1.2rem;
font-weight: 600;
2018-06-21 12:38:26 +01:00
}
2018-09-03 17:36:54 +01:00
> small, > div[class*="col"] > small {
color: map-get($gray-shades, 600);
2018-06-21 12:38:26 +01:00
font-size: 1rem;
font-weight: 300;
2018-06-21 12:38:26 +01:00
}
2018-09-03 17:36:54 +01:00
> small.highlight, > div[class*="col"] > small.highlight {
font-size: 1rem;
2018-12-04 17:26:57 +00:00
color: map-get($yellow-shades, 700) !important;
2018-09-03 17:36:54 +01:00
}
margin-bottom: 30px !important;
2018-06-21 12:38:26 +01:00
}
2017-11-17 11:31:54 +00:00
// links
$link-color: $color-link;
$link-decoration: none;
$link-hover-color: darken($link-color, 15%) !default;
$link-hover-decoration: none;
//
// Bootstrap includes
//
// Required
@import "node_modules/bootstrap/scss/functions";
@import "node_modules/bootstrap/scss/variables";
@import "node_modules/bootstrap/scss/mixins";
// Optional
@import "node_modules/bootstrap/scss/reboot";
// @import "node_modules/bootstrap/scss/grid";
// @import "node_modules/bootstrap/scss/buttons";
// @import "node_modules/bootstrap/scss/button-group";
@import "node_modules/bootstrap/scss/forms";
@import "node_modules/bootstrap/scss/custom-forms";
@import "node_modules/bootstrap/scss/input-group";
@import "node_modules/bootstrap/scss/modal";
@import "node_modules/bootstrap/scss/utilities";
2017-11-24 12:50:06 +00:00
@import "node_modules/bootstrap/scss/tables";
// Boostrap overrides
2017-11-24 12:50:06 +00:00
.modal-80 {
max-width: 80% !important;
}
2018-02-28 14:55:36 +00:00
body.modal-open {
padding-right: 0 !important;
2018-06-04 14:38:19 +01:00
// Do not scroll body to top.
// See: https://stackoverflow.com/questions/21604674/bootstrap-modal-background-jumps-to-top-on-toggle/21881894
overflow: visible;
2018-02-28 14:55:36 +00:00
}
.modal-header-white {
background-color: $color-white !important;
border: none !important;
> .close {
background-color: $color-white !important;
border: none !important;
> span {
2018-12-04 17:26:57 +00:00
color: map-get($gray-shades, 600);
font-size: 2rem;
}
}
}
2018-06-04 14:38:19 +01:00
.btn {
text-transform: uppercase;
font-weight: 600;
}
2018-06-04 14:38:19 +01:00
// Bootstrap override that removes gutter space on smaller screens
// @media (max-width: 1200px) {
// .container {
// width: 100%;
// max-width: none;
// }
// }