Advertisement
Guest User

Untitled

a guest
Feb 18th, 2019
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.52 KB | None | 0 0
  1. .Poll {
  2.     background-image: url('/poll_background.png');
  3.     width:308px;
  4.     height:456px;
  5. }
  6. .PollQuestion {
  7.     font-family: Verdana,Geneva,sans-serif;
  8.     padding-top: 30px;
  9.     margin-left: 15px;
  10.     margin-right: 5px;
  11.     color: white;
  12.     text-align: center;
  13.  
  14.  
  15. }
  16.  
  17. .PollLine {
  18.     margin-left:75px;
  19.     margin-right:75px;
  20.     margin-bottom: 10px;
  21.     margin-top:10px;
  22.     border-bottom: 2px solid #FFF;
  23. }
  24. .PollItem-Slot{
  25.     border:1px solid black;
  26.     font-family: Verdana,Geneva,sans-serif;
  27.     margin-left: 15px;
  28.     margin-right: 5px;
  29.     color: white;
  30. }
  31. .PollItem-Results{
  32.     margin-left:15px;
  33.     margin-top:10px;
  34.     margin-right: 50px;
  35.     margin-bottom:10px;
  36.  
  37. }
  38. .PollItem-Results:after {
  39.   content: "";
  40.   display: table;
  41.   clear: both;
  42. }
  43.  
  44. .PollItem-Reuslts-Bar{
  45.     float: left;
  46.     width: 85%;
  47. }
  48. .PollItem-Results-Value {
  49.     float: left;
  50.     width: 15%;
  51.     color: white;
  52. }
  53. /* Customize the label (the container) */
  54. .container {
  55.   display: block;
  56.   position: relative;
  57.   padding-left: 35px;
  58.   margin-left: 25px;
  59.   margin-right: 15px;
  60.   cursor: pointer;
  61. /*  font-size: 22px; */
  62.   font-family: Verdana,Geneva,sans-serif;
  63.   color: white;
  64.   -webkit-user-select: none;
  65.   -moz-user-select: none;
  66.   -ms-user-select: none;
  67.   user-select: none;
  68. }
  69.  
  70. /* Hide the browser's default radio button */
  71. .container input {
  72.   position: absolute;
  73.   opacity: 0;
  74.   cursor: pointer;
  75.   height: 0;
  76.   width: 0;
  77. }
  78.  
  79. /* Create a custom radio button */
  80. .checkmark {
  81.   position: absolute;
  82.   top: 0;
  83.   left: 0;
  84.   height: 21px;
  85.   width: 21px;
  86.   background-color: #eee;
  87.   border-radius: 50%;
  88. }
  89.  
  90. /* On mouse-over, add a grey background color */
  91. .container:hover input ~ .checkmark {
  92.   background-color: #ccc;
  93. }
  94.  
  95. /* When the radio button is checked, add a blue background */
  96. .container input:checked ~ .checkmark {
  97.   background-color: #1B955A;
  98. }
  99.  
  100. /* Create the indicator (the dot/circle - hidden when not checked) */
  101. .checkmark:after {
  102.   content: "";
  103.   position: absolute;
  104.   display: none;
  105. }
  106.  
  107. /* Show the indicator (dot/circle) when checked */
  108. .container input:checked ~ .checkmark:after {
  109.   display: block;
  110. }
  111.  
  112. /* Style the indicator (dot/circle) */
  113. .container .checkmark:after {
  114.   top: 3px;
  115.   left: 3px;
  116.   width: 15px;
  117.   height: 15px;
  118.   border-radius: 50%;
  119.   background: white;
  120. }
  121.  
  122.  
  123. .fade {
  124.     animation-name: clickItem;
  125.     animation-duration: 2s;
  126. }
  127.  
  128. @keyframes clickItem {
  129.   from {background-color: white;}
  130.   to {background-color: rgba(142, 92, 205, .75);}
  131. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement