lugarcia94

_top_bar_default.scss

Sep 10th, 2018
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SAS 1.33 KB | None | 0 0
  1. .topbar {
  2.     transition: all 150ms ease-in-out;
  3.     background: $cor01;
  4.     max-height: 35px;
  5.    
  6.     &__container {
  7.         width: calc(100% - 30px);
  8.         max-width: 1200px;
  9.         margin: 0 auto;
  10.     }
  11.    
  12.     &__list {
  13.         align-items: center;
  14.         display: flex;
  15.         height: 35px;
  16.         justify-content: center;
  17.         margin: 0;
  18.  
  19.         .info__dropdown {
  20.             background: white;
  21.             border: $border;
  22.             left: 0;
  23.             opacity: 0;
  24.             padding: 30px;
  25.             position: absolute;
  26.             top: 100%;
  27.             transition: $transition;
  28.             visibility: hidden;
  29.             z-index: 110;
  30.         }
  31.     }
  32.  
  33.     &__item {
  34.         align-items: center;
  35.         display: flex;
  36.         height: 100%;
  37.         position: relative;
  38.  
  39.         &:not(:first-child) {
  40.             margin-left: 30px;
  41.         }
  42.  
  43.         &:hover {
  44.             .info__dropdown {
  45.                 opacity: 1;
  46.                 visibility: visible;
  47.             }
  48.         }
  49.     }
  50.  
  51.     &__text {
  52.         color: white;
  53.         display: block;
  54.         font-size: 13px;
  55.         font-weight: 500;
  56.  
  57.         @media(max-width: 991px) {
  58.             font-size: 12px;
  59.         }
  60.  
  61.         &--bold {
  62.             font-weight: 800;
  63.             font-style: italic;
  64.         }
  65.     }
  66. }
Add Comment
Please, Sign In to add comment