Advertisement
Guest User

SASS?

a guest
Dec 11th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SAS 2.08 KB | None | 0 0
  1. #modal-box-login{
  2.   position: fixed;
  3.   display: none;
  4.   width: 100vw;
  5.   height: 100vh;
  6.   top: 0;
  7.   left: 0;
  8.   right: 0;
  9.   bottom: 0;
  10.   background-color: rgba(0,0,0,0.5);
  11.   z-index: 100;
  12.   cursor: pointer;
  13.     .modal-content-overlay{
  14.         @include linearGradient(#2c3e50, #34495e);
  15.         @include roundedCorners(30);
  16.        
  17.         width: 80vw;
  18.         height: 75vh;
  19.         position: absolute;
  20.         top: 50%;
  21.         left: 50%;
  22.         transform: translate(-50%, -50%);
  23.         cursor:default;
  24.         overflow: hidden;
  25.             .modal-content-wrapper{
  26.                 width: calc(100% + 30px);
  27.                 height: calc(100% + 30px);
  28.                 padding: 0 1rem;
  29.                 font-size: 2rem;
  30.                 text-align: justify;
  31.                 overflow: scroll !important;
  32.                 position: relative;
  33.                
  34.                 .modal-text-wrapper{
  35.                 display: flex;
  36.                 flex-direction: row;
  37.                 justify-content: space-around;
  38.                 flex-wrap: wrap;
  39.                 }
  40.                
  41.                 h1{
  42.                     color: white;
  43.                     font-family:'Montserrat', sans-serif;
  44.                     display: block;
  45.                     position: sticky;
  46.                     top: 0;
  47.                     background: #2c3e50;
  48.                     width: 100%;
  49.                     border-bottom: 2px solid rgba(255,255,255,0.5);
  50.                     height: 1.5em;
  51.                     text-transform: uppercase;
  52.                     font-size: 1.5em;
  53.                     -webkit-box-shadow: 0 8px 6px -6px black;
  54.                    -moz-box-shadow: 0 8px 6px -6px black;
  55.                    box-shadow: 0 8px 6px -6px black;
  56.                 }
  57.                
  58.                 p{
  59.                     color: white;
  60.                     font-family:'Montserrat', sans-serif;
  61.                     width: 27%;
  62.                     font-size: 1.2rem;
  63.                     padding: 1rem;
  64.                     border: 1px solid red;
  65.                 }
  66.             }
  67.         }
  68. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement