Initial commit with devise template from https://github.com/lewagon/rails-templates

This commit is contained in:
Beatrice Olivera
2018-08-27 15:37:06 +01:00
commit ebd896cd31
131 changed files with 9104 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
// This is where you override default Bootstrap variables
// 1. All Bootstrap variables are here => https://github.com/twbs/bootstrap-sass/blob/master/assets/stylesheets/bootstrap/_variables.scss
// 2. These variables are defined with default value (see https://robots.thoughtbot.com/sass-default)
// 3. You can override them below!
// General style
$font-family-sans-serif: $body-font;
$headings-font-family: $headers-font;
$body-bg: $light-gray;
$font-size-base: 18px;
// Colors
$gray-base: $gray;
$brand-primary: $blue;
$brand-success: $green;
$brand-info: $yellow;
$brand-danger: $red;
$brand-warning: $orange;
// Buttons & inputs' radius
$border-radius-base: 2px;
$border-radius-large: 2px;
$border-radius-small: 2px;
// Patch to make simple_form compatible with bootstrap 3
.invalid-feedback {
display: none;
width: 100%;
margin-top: 0.25rem;
font-size: 80%;
color: $red;
}
.was-validated .form-control:invalid,
.form-control.is-invalid,
.was-validated .custom-select:invalid,
.custom-select.is-invalid {
border-color: $red;
}
.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-control:invalid ~ .invalid-tooltip,
.form-control.is-invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-tooltip,
.was-validated .custom-select:invalid ~ .invalid-feedback,
.was-validated .custom-select:invalid ~ .invalid-tooltip,
.custom-select.is-invalid ~ .invalid-feedback,
.custom-select.is-invalid ~ .invalid-tooltip {
display: block;
}
// Override other variables below!

View File

@@ -0,0 +1,10 @@
// Define variables for your color scheme
// For example:
$red: #EE5F5B;
$blue: #469AE0;
$yellow: #FDB631;
$orange: #E67E22;
$green: #32B796;
$gray: #000000;
$light-gray: #F4F4F4;

View File

@@ -0,0 +1,16 @@
// Import Google fonts
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,300,700|Raleway:400,100,300,700,500");
// Define fonts for body and headers
$body-font: "Open Sans", "Helvetica", "sans-serif";
$headers-font: "Raleway", "Helvetica", "sans-serif";
// To use a font file (.woff) uncomment following lines
// @font-face {
// font-family: "Font Name";
// src: font-url('FontFile.eot');
// src: font-url('FontFile.eot?#iefix') format('embedded-opentype'),
// font-url('FontFile.woff') format('woff'),
// font-url('FontFile.ttf') format('truetype')
// }
// $my-font: "Font Name";