Advertisement
Guest User

Untitled

a guest
Mar 29th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.07 KB | None | 0 0
  1. .form {
  2.     border-radius: 4px;
  3.  
  4.     &__error {
  5.         border: 1px solid hsl(348, 100%, 61%) !important;
  6.     }
  7.  
  8.     &__sucess {
  9.         border: 1px solid hsl(141, 71%, 48%) !important;
  10.     }
  11.  
  12.     &__headers {
  13.         display: flex;
  14.         margin-bottom: 26px;
  15.  
  16.         &__header {
  17.             height: 40px;
  18.             position: relative;
  19.             flex-grow: 1;
  20.             text-transform: uppercase;
  21.             display: flex;
  22.             justify-content: center;
  23.             align-items: center;
  24.  
  25.             &__arrow {
  26.                 position: absolute;
  27.                 width: 0;
  28.                 height: 0;
  29.                 top: 34px;
  30.                 border-left: 20px solid transparent;
  31.                 border-right: 20px solid transparent;
  32.                 border-top: 20px solid hsl(217, 71%, 53%);
  33.                 align-self: center;
  34.                 justify-self: center;
  35.             }
  36.         }
  37.     }
  38.  
  39.     &__content {
  40.         padding: 0 8px;
  41.     }
  42.  
  43.     &__label {
  44.         margin-bottom: 8px;
  45.     }
  46.  
  47.     &__input {
  48.         padding: 6px 10px;
  49.         font-size: .9rem;
  50.         outline: none;
  51.         border: 1px solid #828282;
  52.         border-radius: 2px;
  53.         background-color: transparent;
  54.     }
  55.  
  56.     &__field {
  57.         display: flex;
  58.         flex-flow: column;
  59.         margin-bottom: 16px;
  60.  
  61.         &__info {
  62.             margin-top: 6px;
  63.             font-size: .85rem;
  64.         }
  65.     }
  66.  
  67.     &__btn {
  68.         display: flex;
  69.         justify-content: center;
  70.         text-transform: uppercase;
  71.         width: auto;
  72.         padding: 6px 10px;
  73.         align-items: center;
  74.         border: none;
  75.         outline: none;
  76.         border-radius: 4px;
  77.  
  78.         i {
  79.             margin-left: 12px;
  80.         }
  81.     }
  82. }
  83.  
  84. .input-with-icon {
  85.     position: relative;
  86.     display: flex;
  87.  
  88.     input {
  89.         flex-grow: 1;
  90.         padding-left: 34px;
  91.     }
  92.  
  93.     i {
  94.         position: absolute;
  95.         display: block;
  96.         z-index: 1;
  97.         top: 50%;
  98.         transform: translateY(-50%);
  99.         margin-left: 6px;
  100.     }
  101. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement