Sha256: 7db6d58e1a5a72fd39eb71b346933649c8389bf8a2fade3f990a553c3346d957

Contents?: true

Size: 1.92 KB

Versions: 2

Compression:

Stored size: 1.92 KB

Contents

// Overrides
@import url(https://fonts.googleapis.com/css?family=Ubuntu:400,700);

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

.input,
.textarea {
  box-shadow: none;
}

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

.navbar {
  @include touch {
    .navbar-menu {
      background-color: inherit;
    }
  }

  @include desktop {
    .navbar-dropdown .navbar-item {
      color: $text;

      &.is-active {
        background-color: $navbar-dropdown-item-hover-background-color;
      }
    }
  }

  &.is-transparent {
    background-color: transparent;
    .navbar-item,
    .navbar-link {
      color: $text;
    }
  }

  .navbar-link::after {
    border-color: currentColor;
  }

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

.hero {
  .navbar {
    .navbar-item,
    .navbar-link {
      color: inherit;
    }

    @include desktop {
      .navbar-dropdown .navbar-item {
        color: $text;
      }
    }
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

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