Advertisement
neoxgeforce

Untitled

May 28th, 2015
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.56 KB | None | 0 0
  1. $picker-background : rgb(251, 252, 253);
  2. $picker-border-color : rgb(213, 213, 213);
  3.  
  4. $picker-height : 33px;
  5. $arrow-margin : 13px;
  6.  
  7. .hidden {
  8.   display : none;
  9. }
  10.  
  11. .period-picker {
  12.   //JUST FOR DEV
  13.   margin-left : 404px;
  14.   margin-top  : 102px;
  15.   //DEV
  16.   position    : relative;
  17.   background  : $picker-background;
  18.   width       : 264px;
  19.   height      : $picker-height;
  20.   border      : 1px solid $picker-border-color;
  21.   //cursor      : pointer;
  22.  
  23.   &__arrow, &__date {
  24.     display  : inline-block;
  25.     height   : $picker-height;
  26.  
  27.     position : absolute;
  28.     top      : 0;
  29.   }
  30.  
  31.   &__date {
  32.     font-size    : 12px;
  33.     color        : darkgray;
  34.     width        : 198px;
  35.     left         : 33px;
  36.     border-left  : 1px solid $picker-border-color;
  37.     border-right : 1px solid $picker-border-color;
  38.     box-sizing   : border-box;
  39.     padding      : 9px 0 0 9px;
  40.  
  41.     & > .fa-calendar-o {
  42.       font-size : 14px;
  43.     }
  44.     &__text {
  45.       color          : #767676;
  46.       padding-left   : 6px;
  47.       text-transform : uppercase;
  48.       font-size      : 12px;
  49.       letter-spacing : 0.3px;
  50.     }
  51.   }
  52.  
  53.   &__arrow {
  54.     position  : absolute;
  55.     width     : 34px;
  56.  
  57.     font-size : 18px;
  58.  
  59.     & > .fa-caret-left, & > .fa-caret-right {
  60.       color    : #939393;
  61.       position : absolute;
  62.       top      : 8px;
  63.     }
  64.  
  65.     &--left {
  66.       left : 0;
  67.  
  68.       & > .fa-caret-left {
  69.         left : $arrow-margin;
  70.       }
  71.     }
  72.  
  73.     &--right {
  74.       right : 0;
  75.  
  76.       & > .fa-caret-right {
  77.         right : $arrow-margin;
  78.       }
  79.     }
  80.   }
  81. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement