init
This commit is contained in:
commit
536c3856e1
89 changed files with 8421 additions and 0 deletions
145
sass/_vendor/pulse/_overrides.scss
Normal file
145
sass/_vendor/pulse/_overrides.scss
Normal file
|
@ -0,0 +1,145 @@
|
|||
// Overrides
|
||||
@if $bulmaswatch-import-font {
|
||||
@import url( 'https://fonts.googleapis.com/css?family=Muli:400,700');
|
||||
}
|
||||
|
||||
.content blockquote {
|
||||
border-color: $primary;
|
||||
}
|
||||
|
||||
.button,
|
||||
.control.has-icons-left .icon,
|
||||
.control.has-icons-right .icon,
|
||||
.input,
|
||||
.pagination-ellipsis,
|
||||
.pagination-link,
|
||||
.pagination-next,
|
||||
.pagination-previous,
|
||||
.select,
|
||||
.select select,
|
||||
.textarea {
|
||||
height: 2.572em;
|
||||
}
|
||||
|
||||
.button {
|
||||
&.is-active,
|
||||
&:active {
|
||||
box-shadow: inset 1px 1px 4px rgba($grey-darker, 0.3);
|
||||
}
|
||||
@each $name, $pair in $colors {
|
||||
$color: nth($pair, 1);
|
||||
$color-invert: nth($pair, 2);
|
||||
|
||||
&.is-#{$name} {
|
||||
&.is-hovered,
|
||||
&:hover {
|
||||
background-color: darken($color, 10);
|
||||
}
|
||||
|
||||
&.is-active,
|
||||
&:active {
|
||||
box-shadow: inset 1px 0 3px rgba($grey-darker, 0.3);
|
||||
background-color: darken($color, 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.notification {
|
||||
@each $name, $pair in $colors {
|
||||
$color: nth($pair, 1);
|
||||
$color-invert: nth($pair, 2);
|
||||
|
||||
&.is-#{$name} {
|
||||
a:not(.button) {
|
||||
color: $color-invert;
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.progress {
|
||||
height: $size-small;
|
||||
}
|
||||
|
||||
.progress,
|
||||
.tag {
|
||||
border-radius: $radius;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
border-radius: $radius;
|
||||
|
||||
.navbar-dropdown .navbar-item {
|
||||
@include desktop {
|
||||
color: $text;
|
||||
|
||||
&.is-active {
|
||||
background-color: $navbar-dropdown-item-hover-background-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include touch {
|
||||
.navbar-menu {
|
||||
background-color: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-burger {
|
||||
span {
|
||||
background-color: $white;
|
||||
}
|
||||
}
|
||||
|
||||
@each $name, $pair in $colors {
|
||||
$color: nth($pair, 1);
|
||||
$color-invert: nth($pair, 2);
|
||||
|
||||
&.is-#{$name} {
|
||||
@include touch {
|
||||
.navbar-item,
|
||||
.navbar-link {
|
||||
color: $color-invert;
|
||||
}
|
||||
|
||||
.navbar-burger {
|
||||
span {
|
||||
background-color: $color-invert;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.hero {
|
||||
// Colors
|
||||
.navbar {
|
||||
background-color: $primary;
|
||||
}
|
||||
@each $name, $pair in $colors {
|
||||
$color: nth($pair, 1);
|
||||
$color-invert: nth($pair, 2);
|
||||
|
||||
&.is-#{$name} {
|
||||
.navbar {
|
||||
background: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.menu {
|
||||
padding: 1em;
|
||||
background-color: lighten($primary, 50);
|
||||
|
||||
.menu-list a:not(.is-active) {
|
||||
transition: all 300ms;
|
||||
|
||||
&:hover {
|
||||
background-color: lighten($primary, 40);
|
||||
}
|
||||
}
|
||||
}
|
56
sass/_vendor/pulse/_variables.scss
Normal file
56
sass/_vendor/pulse/_variables.scss
Normal file
|
@ -0,0 +1,56 @@
|
|||
////////////////////////////////////////////////
|
||||
// PULSE
|
||||
////////////////////////////////////////////////
|
||||
$orange: #FF7518;
|
||||
$yellow: #f1c40f;
|
||||
$green: #2ecc71;
|
||||
$turquoise: #14a789;
|
||||
$blue: #3498db;
|
||||
$purple: #8e44ad;
|
||||
$red: #e74c3c;
|
||||
|
||||
$primary: $purple !default;
|
||||
$warning: $orange;
|
||||
|
||||
$orange-invert: #fff;
|
||||
$warning-invert: $orange-invert;
|
||||
|
||||
$background: lighten($primary, 50);
|
||||
|
||||
$family-sans-serif: 'Muli', "Helvetica Neue", Arial, sans-serif;
|
||||
$body-size: 14px;
|
||||
|
||||
$subtitle-color: darken($primary, 10);
|
||||
|
||||
$radius: 0;
|
||||
$radius-small: 0;
|
||||
$radius-large: 0;
|
||||
|
||||
$link: $turquoise;
|
||||
$link-hover: lighten($link, 5);
|
||||
$link-focus: darken($link, 10);
|
||||
$link-active: darken($link, 10);
|
||||
|
||||
$button-hover-color: lighten($primary, 10);
|
||||
$button-hover-border-color: lighten($primary, 10);
|
||||
|
||||
$button-focus-color: darken($primary, 10);
|
||||
$button-focus-border-color: darken($primary, 10);
|
||||
$button-focus-box-shadow-size: 0 0 0 0.125em;
|
||||
$button-focus-box-shadow-color: rgba($primary, 0.25);
|
||||
|
||||
$button-active-color: darken($primary, 10);
|
||||
$button-active-border-color: darken($primary, 10);
|
||||
|
||||
$navbar-background-color: $primary;
|
||||
$navbar-item-color: #fff;
|
||||
$navbar-item-hover-color: $navbar-item-color;
|
||||
$navbar-item-active-color: $navbar-item-color;
|
||||
$navbar-item-hover-background-color: rgba(#000, 0.2);
|
||||
$navbar-item-active-background-color: rgba(#000, 0.2);
|
||||
$navbar-dropdown-item-active-color: $primary;
|
||||
$navbar-dropdown-arrow: $navbar-item-color;
|
||||
|
||||
$menu-item-active-background-color: $primary;
|
||||
|
||||
$bulmaswatch-import-font: true !default;
|
Loading…
Add table
Add a link
Reference in a new issue