Advertisement
Dimalolzet

aquamarin rangepicker

Jun 7th, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.73 KB | None | 0 0
  1. .rangepicker {
  2.   padding: 10px 10px 20px;
  3. }
  4.  
  5. .rangepicker__slider {
  6.   background-color: #e6e3e3;
  7.   border: none;
  8.   border-radius: 0;
  9.   box-shadow: none;
  10.   box-shadow: inset .5px .9px 1px rgba(0, 0, 0, .14);
  11.   height: 7px;
  12. }
  13.  
  14. .rangepicker__slider .noUi-background {
  15.   background-color: #e6e3e3;
  16.   border-radius: 0;
  17.   box-shadow: inset .5px .9px 1px rgba(0, 0, 0, .14);
  18. }
  19.  
  20. .rangepicker__slider .noUi-connect {
  21.   background-color: #00bcf4;
  22.   box-shadow: none;
  23. }
  24.  
  25. .rangepicker__slider .noUi-handle {
  26.   background-color: #f3f5f6;
  27.   background-image: linear-gradient(to top, rgba(0, 0, 0, .01) 0%, rgba(255, 255, 255, .01) 100%);
  28.   border: none;
  29.   border-radius: 50%;
  30.   border-radius: 50%;
  31.   box-shadow: .5px .9px 3px rgba(0, 0, 0, .22);
  32.   display: inline-block;
  33.   height: 18px;
  34.   left: -9px;
  35.   top: -6px;
  36.   width: 18px;
  37. }
  38.  
  39. .rangepicker__slider .noUi-handle:hover:before {
  40.   background-color: #0095c1;
  41. }
  42.  
  43. .rangepicker__slider .noUi-handle:active:before {
  44.   background-color: #0081a8;
  45. }
  46.  
  47. .rangepicker__slider .noUi-handle:before {
  48.   background-color: #00bcf4;
  49.   border-radius: 50%;
  50.   box-shadow: inset .5px .9px 1px rgba(0, 0, 0, .3);
  51.   content: '';
  52.   height: 8px;
  53.   left: 50%;
  54.   position: absolute;
  55.   top: 50%;
  56.   -webkit-transform: translate(-50%, -50%);
  57.   -ms-transform: translate(-50%, -50%);
  58.   transform: translate(-50%, -50%);
  59.   transition: all .3s ease;
  60.   width: 8px;
  61. }
  62.  
  63. .rangepicker__slider .noUi-handle:after {
  64.   background-color: transparent;
  65.   color: #00bcf4;
  66.   content: attr(data-value);
  67.   font-size: 12px;
  68.   height: auto;
  69.   left: 50%;
  70.   margin-top: 3px;
  71.   top: 100%;
  72.   -webkit-transform: translateX(-50%);
  73.   -ms-transform: translateX(-50%);
  74.   transform: translateX(-50%);
  75.   width: auto;
  76. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement