Sha256: 50cbc8f84b2ecc2b17d5999003e5aa370ee30a660b5f8973cf0b69777b285f49

Contents?: true

Size: 1.89 KB

Versions: 170

Compression:

Stored size: 1.89 KB

Contents

// Overrides AND additions/extensions to Bootstrap 4's styling

.nav-tabs {
  border-bottom: 1px solid $grey-5;
}

.nav-tabs .nav-link {
  background-color: $grey-4;
  border-left-color: $grey-2;
  border-left-style: solid;
  border-left-width: 1px;
  border-right-color: $grey-2;
  border-right-style: solid;
  border-right-width: 1px;
  border-top-color: $grey-2;
  border-top-style: solid;
  border-top-width: 1px;
  border-bottom-color: $grey-5;
}

.nav-tabs .nav-link.active {
  border-color: $grey-5 $grey-5 $white;
}

.navbar-brand {
  margin-right: 0;
}

@media screen and (min-width: 768px) {
  .navbar-brand {
    margin-right: 1rem;
  }
}

.btn {
  vertical-align: baseline;  // Needed so Google Translate's injected <font> tags don't mess with font's alignment in the page
}

.modal-open .gsc-search-button {
  margin-right: 15px;
}

// Modify the Bootstrap 4 dropdown menu's carot to give it an animated/interactice effect using pure CSS
// ======================================
// .dropdown-toggle::after controls the BS4 dropdown-menu carot symbol's display
@media screen and (max-width: 992px) {
  .dropdown-toggle::after {  // Set starting position & transition Fx
    transform: rotate(0deg);
    transition: transform 0.3s ease-in-out;
  }

  .nav-item.dropdown.show .dropdown-toggle::after {  // Selectors that are only present when a dropdown is toggled to the open state.
    transform: rotate(-180deg);
  }
}

.dropdown-toggle.btn::after {  // Set starting position & transition Fx
  transform: rotate(0deg);
  transition: transform 0.3s ease-in-out;
}

.nav-item.dropdown.show .dropdown-toggle.btn::after {  // Selectors that are only present when a dropdown is toggled to the open state.
  transform: rotate(-180deg);
}

@media screen and (min-width: 992px) {
  .dropdown-toggle:not(.btn)::after {  // Set starting position & transition Fx
    display: none;
  }
}

// End BS4 dropdown-menu carot modifications.

Version data entries

170 entries across 170 versions & 2 rubygems

Version Path
kcc-gem-theme-original-1.0.2 assets/scss/0-tools/_bootstrap-overrides.scss
kcc-gem-theme-original-1.0.1 assets/scss/0-tools/_bootstrap-overrides.scss
kcc-gem-theme-original-1.0.0 assets/scss/0-tools/_bootstrap-overrides.scss
kcc-gem-theme-1.96.1 assets/scss/0-tools/_bootstrap-overrides.scss
kcc-gem-theme-1.96.0 assets/scss/0-tools/_bootstrap-overrides.scss
kcc-gem-theme-1.95.0 assets/scss/0-tools/_bootstrap-overrides.scss
kcc-gem-theme-1.94.1 assets/scss/0-tools/_bootstrap-overrides.scss
kcc-gem-theme-1.94.0 assets/scss/0-tools/_bootstrap-overrides.scss
kcc-gem-theme-1.93.0 assets/scss/0-tools/_bootstrap-overrides.scss
kcc-gem-theme-1.92.0 assets/scss/0-tools/_bootstrap-overrides.scss
kcc-gem-theme-1.91.0 assets/scss/0-tools/_bootstrap-overrides.scss
kcc-gem-theme-1.90.0 assets/scss/0-tools/_bootstrap-overrides.scss
kcc-gem-theme-1.89.0 assets/scss/0-tools/_bootstrap-overrides.scss
kcc-gem-theme-1.88.0 assets/scss/0-tools/_bootstrap-overrides.scss
kcc-gem-theme-1.87.0 assets/scss/0-tools/_bootstrap-overrides.scss
kcc-gem-theme-1.86.1 assets/scss/0-tools/_bootstrap-overrides.scss
kcc-gem-theme-1.86.0 assets/scss/0-tools/_bootstrap-overrides.scss
kcc-gem-theme-2.6.4 assets/scss/0-tools/_bootstrap-overrides.scss
kcc-gem-theme-2.6.3 assets/scss/0-tools/_bootstrap-overrides.scss
kcc-gem-theme-2.6.2 assets/scss/0-tools/_bootstrap-overrides.scss