Sha256: bff2a352b3cfb3cc34bb5985e2a11cf2b2b165d439a9398207ea060fc36b440e

Contents?: true

Size: 1.98 KB

Versions: 2

Compression:

Stored size: 1.98 KB

Contents

// Overrides
@import url(https://fonts.googleapis.com/css?family=Nunito+Sans);

body {
  font-weight: 200;
  letter-spacing: 1px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: uppercase;
  letter-spacing: 3px;
}

.box {
  box-shadow: 0 0 0 1px $grey-lighter;
}

.button {
  transition: all 200ms ease;
  text-transform: uppercase;
  font-weight: 700;

  &.is-active,
  &.is-focused,
  &:active,
  &:focus {
    box-shadow: 0 0 0 2px rgba($button-focus-border-color, 0.25);
  }
  @each $name, $pair in $colors {
    $color: nth($pair, 1);
    $color-invert: nth($pair, 2);

    &.is-#{$name} {
      &.is-active,
      &.is-focused,
      &:active,
      &:focus {
        border-color: $color;
        box-shadow: 0 0 0 2px rgba($color, 0.25);
      }
    }
  }
}

.button,
.input,
.pagination-ellipsis,
.pagination-link,
.pagination-next,
.pagination-previous,
.select,
.select select,
.textarea,
.control.has-icons-left .icon,
.control.has-icons-right .icon {
  height: 2.5em;
}

.input,
.textarea {
  transition: all 200ms ease;
  box-shadow: none;
}

.progress,
.tag {
  border-radius: $radius;
}

.card {
  box-shadow: 0 0 0 1px $grey-lighter;

  .card-header {
    box-shadow: 0 1px 0 0 $grey-lighter;
  }
}

.navbar {
  .navbar-link,
  .navbar-item {
    text-transform: uppercase;
    font-weight: bold;
  }

  .has-dropdown .navbar-item {
    text-transform: none;
  }

  strong {
    color: $white;
  }

  @include touch {
    .navbar-menu {
      background-color: $primary;
      border-radius: $radius;
    }
  }
}
.hero {
  .navbar {
    background-color: $navbar-background-color;
  }
  @each $name, $pair in $colors {
    $color: nth($pair, 1);
    $color-invert: nth($pair, 2);

    &.is-#{$name} {
      .navbar {
        background-color: $color;
      }
    }
  }
}

.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;
      }
    }
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
diproart-bulma-rails-0.7.1 vendor/assets/stylesheets/bulmaswatch/lux/_overrides.scss
diproart-bulma-rails-0.7.0 vendor/assets/stylesheets/bulmaswatch/lux/_overrides.scss