1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
|
.roundedOneSAR {
width: 28px;
height: 28px;
position: relative;
margin: 20px auto;
background: #fcfff4;
background: linear-gradient(to bottom, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
border-radius: 50px;
box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0, 0, 0, 0.5);
}
.roundedOneSAR label {
width: 20px;
height: 20px;
cursor: pointer;
position: absolute;
left: 4px;
top: 4px;
background: linear-gradient(to bottom, #222222 0%, #45484d 100%);
border-radius: 50px;
box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px white;
}
.roundedOneSAR label:after {
content: '';
width: 16px;
height: 16px;
position: absolute;
top: 2px;
left: 2px;
background: #27ae60;
background: linear-gradient(to bottom, #27ae60 0%, #145b32 100%);
opacity: 0;
border-radius: 50px;
box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0, 0, 0, 0.5);
}
.roundedOneSAR label:hover::after {
opacity: 0.3;
}
.roundedOneSAR input[type=checkbox] {
visibility: hidden;
}
.roundedOneSAR input[type=checkbox]:checked + label:after {
opacity: 1;
}
.roundedOneHalf {
width: 28px;
height: 28px;
position: relative;
margin: 20px auto;
background: #fcfff4;
background: linear-gradient(to bottom, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
border-radius: 50px;
box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0, 0, 0, 0.5);
}
.roundedOneHalf label {
width: 20px;
height: 20px;
cursor: pointer;
position: absolute;
left: 4px;
top: 4px;
background: linear-gradient(to bottom, #222222 0%, #45484d 100%);
border-radius: 50px;
box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px white;
}
.roundedOneHalf label:after {
content: '';
width: 16px;
height: 16px;
position: absolute;
top: 2px;
left: 2px;
background: #27ae60;
background: linear-gradient(to bottom, #27ae60 0%, #145b32 100%);
opacity: 0;
border-radius: 50px;
box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0, 0, 0, 0.5);
}
.roundedOneHalf label:hover::after {
opacity: 0.3;
}
.roundedOneHalf input[type=checkbox] {
visibility: hidden;
}
.roundedOneHalf input[type=checkbox]:checked + label:after {
opacity: 1;
}
</style>
</head>
<body>
<div class="check_list">
<div class="text-center">
<table>
<tr><th>SAR</th><th>Half</th></tr>
<tr><td><section title=".roundedOneSAR">
<!-- .roundedOne -->
<div class="roundedOneSAR">
<input type="checkbox" value="None" id="roundedOneSAR" name="check" />
<label for="roundedOneSAR"></label>
</div>
<!-- end .roundedOne -->
</section></td>
<td><section title=".roundedOneHalf">
<!-- .roundedOne -->
<div class="roundedOneHalf">
<input type="checkbox" value="None" id="roundedOneHalf" name="check" />
<label for="roundedOneHalf"></label>
</div>
<!-- end .roundedOne -->
</section></td>
</tr>
</table>
</div>
</div>
</body>
</html> |
Partager