Browse Source

Fix, remove duplicated props

Volodymyr Tkach 2 years ago
parent
commit
4f1384e239
2 changed files with 1 additions and 8 deletions
  1. 1 0
      css/controls/checkbox/example.html
  2. 0 8
      css/controls/checkbox/ios.css

+ 1 - 0
css/controls/checkbox/example.html

@@ -2,6 +2,7 @@
 <html>
 	<head>
 		<meta charset="utf-8" />
+		<link rel="stylesheet" href="./../../reset.css">
 		<link rel="stylesheet" href="./ios.css">
 	</head>
 	<body>

+ 0 - 8
css/controls/checkbox/ios.css

@@ -1,5 +1,4 @@
 .checkbox-ios {
-	box-sizing: border-box;
 	display: inline-block;
 	height: 20px;
 	vertical-align: middle;
@@ -7,7 +6,6 @@
 }
 
 .checkbox-ios input[type=checkbox] {
-	box-sizing: border-box;
 	max-height: 0;
 	max-width: 0;
 	opacity: 0;
@@ -17,7 +15,6 @@
 .checkbox-ios input[type=checkbox] + label {
 	border-radius: 24px;
 	border: 2px solid #212529;
-	box-sizing: border-box;
 	cursor: pointer;
 	display: block;
 	height: 20px;
@@ -31,7 +28,6 @@
 .checkbox-ios input[type=checkbox] + label:before {
 	background: #212529;
 	border-radius: 24px;
-	box-sizing: border-box;
 	content: "";
 	display: block;
 	height: 12px;
@@ -44,12 +40,10 @@
 
 .checkbox-ios input[type=checkbox]:checked + label {
 	border-color: #212529;
-	box-sizing: border-box;
 }
 
 .checkbox-ios input[type=checkbox]:checked + label:before {
 	background: #212529;
-	box-sizing: border-box;
 	left: 17px;
 }
 
@@ -57,7 +51,6 @@
 	border-color: #212529;
 	border-style: solid;
 	border-width: 0px 0px 2px 2px;
-	box-sizing: border-box;
 	content: "";
 	display: block;
 	height: 5px;
@@ -72,7 +65,6 @@
 
 .checkbox-ios input[type=checkbox]:checked + label:after {
 	border-color: #212529;
-	box-sizing: border-box;
 	opacity: 1;
 }