Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.81 KB | None | 0 0
  1. body, html {
  2.   font: Arial, Helvetica, sans-serif;
  3.  
  4.   height: 100%;
  5.   width: 100%;
  6. }
  7.  
  8. #mapid {
  9.   height: 100%;
  10.   width: 100%;
  11.   margin: 10px;
  12. }
  13.  
  14. h1 {
  15.   font: 14px Arial, Helvetica, sans-serif;
  16.   font-size: 26px;
  17.   text-align: center;
  18. }
  19.  
  20. .legend i {
  21.     width: 14px;
  22.     height: 14px;
  23.     float: left;
  24.     margin-right: 8px;
  25.     opacity: 0.8;
  26.     background: black;
  27. }
  28.  
  29. .info {
  30.   padding: 8px;
  31.   font: 14px Arial, Helvetica, sans-serif;
  32.   background: white;
  33.   background: rgba(255,255,255,0.8);
  34. }
  35.  
  36. .form-radio
  37. {
  38.      -webkit-appearance: none;
  39.      -moz-appearance: none;
  40.      appearance: none;
  41.      display: inline-block;
  42.      position: relative;
  43.      background-color: #f1f1f1;
  44.      color: #666;
  45.      top: 10px;
  46.      height: 30px;
  47.      width: 30px;
  48.      border: 0;
  49.      border-radius: 50px;
  50.      cursor: pointer;    
  51.      margin-right: 7px;
  52.      outline: none;
  53. }
  54. .form-radio:checked::before
  55. {
  56.      position: absolute;
  57.      font: 13px/1 'Open Sans', sans-serif;
  58.      left: 11px;
  59.      top: 7px;
  60.      content: '\02143';
  61.      transform: rotate(40deg);
  62. }
  63. .form-radio:hover
  64. {
  65.      background-color: #f7f7f7;
  66. }
  67. .form-radio:checked
  68. {
  69.      background-color: #f1f1f1;
  70. }
  71. label
  72. {
  73.      font: 300 16px/1.7 'Open Sans', sans-serif;
  74.      color: #666;
  75.      cursor: pointer;
  76. }
  77. .contain {
  78.   width: 100%; /* Width of the outside container */
  79.   margin: auto;
  80.   padding: 10px;
  81. }
  82.  
  83. .slidecontainer {
  84.      width: 90%; /* Width of the outside container */
  85.      margin: auto;
  86.      display: inline-block;
  87.    }
  88.    
  89.    /* The slider itself */
  90. .slider {
  91.   -webkit-appearance: none;  /* Override default CSS styles */
  92.   appearance: none;
  93.   width: 100%; /* Full-width */
  94.   height: 25px; /* Specified height */
  95.   background: #d3d3d3; /* Grey background */
  96.   outline: none; /* Remove outline */
  97.   opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
  98.   -webkit-transition: .2s; /* 0.2 seconds transition on hover */
  99.   transition: opacity .2s;
  100. }
  101.  
  102. /* Mouse-over effects */
  103. .slider:hover {
  104.   opacity: 1; /* Fully shown on mouse-over */
  105. }
  106.  
  107. /* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
  108. .slider::-webkit-slider-thumb {
  109.   -webkit-appearance: none; /* Override default look */
  110.   appearance: none;
  111.   width: 25px; /* Set a specific slider handle width */
  112.   height: 25px; /* Slider handle height */
  113.   background: #4CAF50; /* Green background */
  114.   cursor: pointer; /* Cursor on hover */
  115. }
  116.  
  117. .slider::-moz-range-thumb {
  118.   width: 25px; /* Set a specific slider handle width */
  119.   height: 25px; /* Slider handle height */
  120.   background: #4CAF50; /* Green background */
  121.   cursor: pointer; /* Cursor on hover */
  122. }
  123. #p1 {
  124.  margin: auto;
  125.  font: 14px Arial, Helvetica, sans-serif;
  126.  text-align: center;
  127.  width: 100%;
  128. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement