client/src/scss/_custom.scss
author ymh <ymh.work@gmail.com>
Fri, 30 Nov 2018 10:53:15 +0100
changeset 183 f8f3af9e5c83
parent 174 ac1a026edd58
child 191 3f71ad81a5a9
permissions -rw-r--r--
Change the settings to avoid using Session authentication for rest framework as it raise exceptions in case client and backend are on the same domain On the filter, adapt to take into account new version of django_filters
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
151
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
     1
@import "bootstrap/scss/functions";
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
     2
@import "bootstrap/scss/variables";
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
     3
174
ac1a026edd58 Correct display of protocol
ymh <ymh.work@gmail.com>
parents: 170
diff changeset
     4
$font-family-base: 'Rubik', sans-serif;
ac1a026edd58 Correct display of protocol
ymh <ymh.work@gmail.com>
parents: 170
diff changeset
     5
151
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
     6
$theme-colors: (
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
     7
  "primary": #769FED,
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
     8
  "secondary": white,
170
7da1d5137b0b Upgrade dependencies and correct theme colors
ymh <ymh.work@gmail.com>
parents: 161
diff changeset
     9
  "irinotes-form": rgba(196, 196, 196, .5),
7da1d5137b0b Upgrade dependencies and correct theme colors
ymh <ymh.work@gmail.com>
parents: 161
diff changeset
    10
  "irinotes-time": #C4C4C4,
7da1d5137b0b Upgrade dependencies and correct theme colors
ymh <ymh.work@gmail.com>
parents: 161
diff changeset
    11
  "irinotes-headers": transparent,
7da1d5137b0b Upgrade dependencies and correct theme colors
ymh <ymh.work@gmail.com>
parents: 161
diff changeset
    12
//   "info": #F95B5B,
151
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    13
);
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    14
161
a642639dbc07 Split scss files and adapt session page design
salimr <riwad.salim@yahoo.fr>
parents: 154
diff changeset
    15
$line-height-base: 1.3;
a642639dbc07 Split scss files and adapt session page design
salimr <riwad.salim@yahoo.fr>
parents: 154
diff changeset
    16
$font-weight-normal: 500;
a642639dbc07 Split scss files and adapt session page design
salimr <riwad.salim@yahoo.fr>
parents: 154
diff changeset
    17
$spacer: .5rem;
a642639dbc07 Split scss files and adapt session page design
salimr <riwad.salim@yahoo.fr>
parents: 154
diff changeset
    18
151
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    19
$link-color: theme-color("secondary");
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    20
$link-hover-color: darken($link-color, 15%);
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    21
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    22
$component-active-bg: theme-color("secondary");
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    23
154
a28361bda28c Adapt all css classes with Bootstrap 4 Utilities
salimr <riwad.salim@yahoo.fr>
parents: 151
diff changeset
    24
$h4-font-size: 3rem;
a28361bda28c Adapt all css classes with Bootstrap 4 Utilities
salimr <riwad.salim@yahoo.fr>
parents: 151
diff changeset
    25
$h5-font-size: 1.5rem;
a28361bda28c Adapt all css classes with Bootstrap 4 Utilities
salimr <riwad.salim@yahoo.fr>
parents: 151
diff changeset
    26
151
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    27
//Dropdowns
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    28
$dropdown-padding-y: 1rem;
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    29
$dropdown-link-color: theme-color("secondary");
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    30
$dropdown-item-padding-y: .7rem;
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    31
$dropdown-item-padding-x: .5rem;
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    32
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    33
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    34
154
a28361bda28c Adapt all css classes with Bootstrap 4 Utilities
salimr <riwad.salim@yahoo.fr>
parents: 151
diff changeset
    35
//Navs
151
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    36
$nav-link-padding-y: .2rem;
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    37
$navbar-brand-font-size: 30px;
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    38
$navbar-light-color: darken((theme-color("secondary")), 2%);
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    39
$navbar-light-hover-color: theme-color("secondary");
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    40
$navbar-light-active-color: theme-color("secondary");
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    41
$navbar-light-toggler-border-color: transparent;
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    42
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    43
//Modals
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    44
$modal-content-border-width: .1rem;
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    45
154
a28361bda28c Adapt all css classes with Bootstrap 4 Utilities
salimr <riwad.salim@yahoo.fr>
parents: 151
diff changeset
    46
//Forms
a28361bda28c Adapt all css classes with Bootstrap 4 Utilities
salimr <riwad.salim@yahoo.fr>
parents: 151
diff changeset
    47
$input-btn-padding-y: .2rem;
a28361bda28c Adapt all css classes with Bootstrap 4 Utilities
salimr <riwad.salim@yahoo.fr>
parents: 151
diff changeset
    48
$input-padding-y: .1rem;
a28361bda28c Adapt all css classes with Bootstrap 4 Utilities
salimr <riwad.salim@yahoo.fr>
parents: 151
diff changeset
    49
$input-border-width: .1rem;
a28361bda28c Adapt all css classes with Bootstrap 4 Utilities
salimr <riwad.salim@yahoo.fr>
parents: 151
diff changeset
    50
$input-placeholder-color: theme-color("secondary");
a28361bda28c Adapt all css classes with Bootstrap 4 Utilities
salimr <riwad.salim@yahoo.fr>
parents: 151
diff changeset
    51
a28361bda28c Adapt all css classes with Bootstrap 4 Utilities
salimr <riwad.salim@yahoo.fr>
parents: 151
diff changeset
    52
$form-group-margin-bottom: .2rem;
a28361bda28c Adapt all css classes with Bootstrap 4 Utilities
salimr <riwad.salim@yahoo.fr>
parents: 151
diff changeset
    53
151
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    54
57d63a248f0d Update to Bootstrap 4
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    55
@import "bootstrap/scss/bootstrap";
174
ac1a026edd58 Correct display of protocol
ymh <ymh.work@gmail.com>
parents: 170
diff changeset
    56
ac1a026edd58 Correct display of protocol
ymh <ymh.work@gmail.com>
parents: 170
diff changeset
    57
.text-irinotes-time {
ac1a026edd58 Correct display of protocol
ymh <ymh.work@gmail.com>
parents: 170
diff changeset
    58
    font-family: 'Roboto Mono', monospace;
ac1a026edd58 Correct display of protocol
ymh <ymh.work@gmail.com>
parents: 170
diff changeset
    59
    font-weight: 400;
ac1a026edd58 Correct display of protocol
ymh <ymh.work@gmail.com>
parents: 170
diff changeset
    60
}