Explorar o código

[core] Removes px unit from values set to 0

mrmrs %!s(int64=12) %!d(string=hai) anos
pai
achega
a19ae1245c

+ 52 - 52
apps/hbase/static/css/hbase.css

@@ -38,13 +38,13 @@ ul#hbase-breadcrumbs li a {
 }
 
 .smartview {
-	padding:0px;
+	padding:0;
 }
 
 .smartview .smartview-row {
-	padding:0px;
-    font-size:0px;
-    margin:0px;
+	padding:0;
+    font-size:0;
+    margin:0;
 	border: 1px solid #ccc;
 	margin-bottom: -1px;
 	position: relative;
@@ -52,16 +52,16 @@ ul#hbase-breadcrumbs li a {
 
 .smartview .smartview-row input[type="checkbox"] {
 	border:solid 1px #ccc;
-	border-radius: 0px;
-	margin: 0px;
-	padding: 0px;
+	border-radius: 0;
+	margin: 0;
+	padding: 0;
 }
 
 .smartview .smartview-row h5 {
-	padding:0px 10px;
+	padding:0 10px;
 	line-height: 40px;
 	background:#ddd;
-	margin:0px;
+	margin:0;
 	border-bottom: solid 1px #ccc;
 	background-color: #f5f5f5;
 	background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));
@@ -90,7 +90,7 @@ ul#hbase-breadcrumbs li a {
 
 .smartview .smartview-row-controls.controls-hover-bottom {
 	position: absolute;
-	bottom: 0px;
+	bottom: 0;
 	right:5px;
 	z-index: 10;
 }
@@ -111,8 +111,8 @@ ul#hbase-breadcrumbs li a {
 	height:auto;
     white-space: nowrap;
     list-style: none;
-    margin: 0px;
-    padding:0px;
+    margin: 0;
+    padding:0;
     margin-right:-1px;
     display:block;
     background: #ddd;
@@ -126,13 +126,13 @@ ul#hbase-breadcrumbs li a {
     color:#000;
     font-size:12px;
     overflow: hidden;
-    padding:0px;
+    padding:0;
     height:100%;
     max-width:200px;
     max-height: 200px;
     display:table-cell;
     min-width: 140px;
-    border-top:0px;
+    border-top:0;
 }
 
 .smartview.gridView ul.smartview-cells > li {
@@ -168,7 +168,7 @@ ul#hbase-breadcrumbs li a {
 
 .smartview ul.smartview-cells > li h6 {
 	padding:6px;
-	margin:0px;
+	margin:0;
 	color:#3a3a3a;
 	background:#fafafa;
 	border-bottom: solid 1px #ccc;
@@ -194,11 +194,11 @@ ul#hbase-breadcrumbs li a {
 	color:#333;
 	text-decoration: none;
 	display: none;
-	padding:0px 6px;
+	padding:0 6px;
 }
 
 .smartview ul.smartview-cells > li pre {
-	border-radius: 0px;
+	border-radius: 0;
 	border:none;
 	background:transparent;
 	display:block;
@@ -213,7 +213,7 @@ ul#hbase-breadcrumbs li a {
 
 .smartview ul.smartview-cells > li > div > textarea {
 	display: block;
-	border-radius: 0px;
+	border-radius: 0;
     outline: none;
     width: 100%;
     min-width: 200px;
@@ -251,13 +251,13 @@ ul#hbase-breadcrumbs li a {
 }
 
 .subnav {
-	padding:5px 0px;
+	padding:5px 0;
 	line-height:30px;
 	border:none;
 }
 
 .subnav select, .subnav input, .well input, .well select, .smartview select, .smartview .smartview-row-controls input {
-	margin:0px;
+	margin:0;
 }
 .ui-autocomplete {
 	z-index:10000 !important;
@@ -283,7 +283,7 @@ ul#hbase-breadcrumbs li a {
 	line-height: 1em;
 	margin-right: 10px;
 	-webkit-appearance: none;
-	-webkit-box-shadow: rgba(0, 0, 0, 0.0745098) 0px 1px 1px 0px inset;
+	-webkit-box-shadow: rgba(0, 0, 0, 0.0745098) 0 1px 1px 0 inset;
 	-webkit-rtl-ordering: logical;
 	-webkit-transition-delay: 0s, 0s;
 	-webkit-transition-duration: 0.2s, 0.2s;
@@ -296,7 +296,7 @@ ul#hbase-breadcrumbs li a {
 	border-bottom-left-radius: 3px;
 	border-bottom-style: solid;
 	border-bottom-width: 1px;
-	border-image-outset: 0px;
+	border-image-outset: 0;
 	border-image-repeat: stretch;
 	border-image-slice: 100%;
 	border-image-source: none;
@@ -311,7 +311,7 @@ ul#hbase-breadcrumbs li a {
 	border-top-left-radius: 3px;
 	border-top-style: solid;
 	border-top-width: 1px;
-	box-shadow: rgba(0, 0, 0, 0.0745098) 0px 1px 1px 0px inset;
+	box-shadow: rgba(0, 0, 0, 0.0745098) 0 1px 1px 0 inset;
 	color: rgb(85, 85, 85);
 	cursor: auto;
 	display: inline-block;
@@ -321,17 +321,17 @@ ul#hbase-breadcrumbs li a {
 	height: 20px;
 	letter-spacing: normal;
 	line-height: 25px;
-	margin-bottom: 0px;
-	margin-left: 0px;
-	margin-right: 0px;
-	margin-top: 0px;
+	margin-bottom: 0;
+	margin-left: 0;
+	margin-right: 0;
+	margin-top: 0;
 	padding-bottom: 4px;
 	padding-left: 6px;
 	padding-right: 6px;
 	padding-top: 4px;
 	text-align: start;
-	text-indent: 0px;
-	text-shadow: rgba(0, 0, 0, 0) 0px 0px 1px;
+	text-indent: 0;
+	text-shadow: rgba(0, 0, 0, 0) 0 0 1px;
 	text-transform: none;
 	transition-delay: 0s, 0s;
 	transition-duration: 0.2s, 0.2s;
@@ -346,8 +346,8 @@ ul#hbase-breadcrumbs li a {
 }
 #search-tags {
 	display: block;
-	margin: 0px;
-	padding: 0px;
+	margin: 0;
+	padding: 0;
 	outline: none;
 	list-style: none;
 	width: 100%;
@@ -363,12 +363,12 @@ ul#hbase-breadcrumbs li a {
 	padding: 2px;
 }
 #search-tags span:hover {
-	margin: 0px;
+	margin: 0;
 	border: dashed 1px #5D6F8C;
 }
 
 #search-tags > span > span {
-	padding: 0px 3px;
+	padding: 0 3px;
 	border-radius: 3px;
 }
 
@@ -380,7 +380,7 @@ ul#hbase-breadcrumbs li a {
 #search-tags span.scan {
 	color: #fff;
 	background: #EDA11F;
-	padding: 0px 3px;
+	padding: 0 3px;
 	border-radius: 3px;
 }
 
@@ -413,17 +413,17 @@ ul#hbase-breadcrumbs li a {
 {
 	background: yellow;
 	border: none;
-	border-radius: 0px;
+	border-radius: 0;
 	min-width: 1px;
-	padding:0px;
+	padding:0;
 }
 
 
 #search-typeahead {
 	position: absolute;
 	z-index: 10000;
-	margin: 0px;
-	padding: 0px;
+	margin: 0;
+	padding: 0;
 	padding-top: 1px;
 	list-style: none;
 	margin-top: 40px;
@@ -455,14 +455,14 @@ ul#hbase-breadcrumbs li a {
 }
 
 #searchbar-main input[type=text].tag-searchbar {
-	border: 0px;
+	border: 0;
 	background: transparent;
 	box-shadow: none;
 	border:none;
     msargin-right:15%;
-    padding:0px;
+    padding:0;
     display: inline-block;
-    border-radius: 0px;
+    border-radius: 0;
     overflow: hidden;
     width:100%;
 }
@@ -481,9 +481,9 @@ ul#hbase-breadcrumbs li a {
 
 #searchbar-main i.tagIndicator {
 	color: #000;
-	padding: 0px !important;
-	border: 0px;
-	margin: 0px;
+	padding: 0 !important;
+	border: 0;
+	margin: 0;
 	background: black !important;
 	display: inline-block;
 	width: 1px;
@@ -516,7 +516,7 @@ ul#hbase-breadcrumbs li a {
 	width: 80%;
 	left: 50%;
 	top: 10%;
-	margin-top:0px;
+	margin-top:0;
 	overflow: visible;
 }
 
@@ -551,15 +551,15 @@ textarea {
 #new_table_modal ul, #new_row_field_list
 {
 	list-style-type: none;
-	padding: 0px;
-	margin: 0px;
+	padding: 0;
+	margin: 0;
 }
 
 .add-on
 {
 	border-radius: 1.5em;
-	border-bottom-left-radius: 0px;
-	border-top-left-radius: 0px;
+	border-bottom-left-radius: 0;
+	border-top-left-radius: 0;
 	height: auto;
 	display: inline-block;
 	padding: 3px 12px 3px 8px;
@@ -579,8 +579,8 @@ textarea {
 	cursor: pointer;
 	color: #ccc;
 	z-index: 100;
-	width: 0px;
-	height: 0px;
+	width: 0;
+	height: 0;
 	overflow: visible;
 	display: block;
 }
@@ -619,5 +619,5 @@ textarea {
 	background: linear-gradient(to bottom,  #292b2d 0%,#000000 100%); /* W3C */
 	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#292b2d', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
 	border-color: #333;
-	box-shadow: 0px 3px 5px rgba(0,0,0,.3);
+	box-shadow: 0 3px 5px rgba(0,0,0,.3);
 }

+ 5 - 5
apps/metastore/static/help/index.html

@@ -6,9 +6,9 @@
 <h2><a name="Metastore-Contents"></a>Contents</h2>
 
 <style type='text/css'>/*<![CDATA[*/
-div.rbtoc1359395567394 {margin-left: 1.5em;padding: 0px;}
-div.rbtoc1359395567394 ul {margin-left: 0px;padding-left: 20px;}
-div.rbtoc1359395567394 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1359395567394 {margin-left: 1.5em;padding: 0;}
+div.rbtoc1359395567394 ul {margin-left: 0;padding-left: 20px;}
+div.rbtoc1359395567394 li {margin-left: 0;padding-left: 0;}
 
 /*]]>*/</style><div class='rbtoc1359395567394'>
 <ul>
@@ -44,7 +44,7 @@ div.rbtoc1359395567394 li {margin-left: 0px;padding-left: 0px;}
 
 <h1><a name="Metastore-StartingMetastore"></a>Starting Table Browser</h1>
 
-<p>To start the Table Browser application, click the <b>Table Browser</b> icon (<span class="image-wrap" style=""><img src="/metastore/static/art/table-browser-24-1.png" width="30" style="border: 0px solid black"/></span>) in the navigation bar at the top of the Hue browser page.</p>
+<p>To start the Table Browser application, click the <b>Table Browser</b> icon (<span class="image-wrap" style=""><img src="/metastore/static/art/table-browser-24-1.png" width="30" style="border: 0 solid black"/></span>) in the navigation bar at the top of the Hue browser page.</p>
 
 <h3><a name="Metastore-InstallingtheSampleTables"></a>Installing the Sample Tables</h3>
 
@@ -225,6 +225,6 @@ The file location of the selected table displays in its directory in the File Br
                         </td>
 		    </tr>
 	    </table>
-	    
+
     </body>
 </html>

+ 10 - 10
apps/oozie/static/css/workflow.css

@@ -43,7 +43,7 @@ ul {
 
 .action {
   border: 1px solid #DDD;
-  padding: 0px;
+  padding: 0;
   -webkit-border-radius: 4px;
   -moz-border-radius: 4px;
   border-radius: 4px;
@@ -87,8 +87,8 @@ ul {
   background-color: #EEE;
   padding-top: 5px;
   margin-top: 10px;
-  -webkit-box-shadow: inset 0px 3px 5px 0px #DDD;
-  box-shadow: inset 0px 3px 5px 0px #DDD;
+  -webkit-box-shadow: inset 0 3px 5px 0 #DDD;
+  box-shadow: inset 0 3px 5px 0 #DDD;
 }
 
 #graph, #new-node {
@@ -132,9 +132,9 @@ ul {
 }
 
 #actionToolbar.shadowed {
-  -webkit-box-shadow: 0px 3px 5px rgba(150, 150, 150, 0.15);
-  -moz-box-shadow: 0px 3px 5px rgba(150, 150, 150, 0.15);
-  box-shadow: 0px 3px 5px rgba(150, 150, 150, 0.15);
+  -webkit-box-shadow: 0 3px 5px rgba(150, 150, 150, 0.15);
+  -moz-box-shadow: 0 3px 5px rgba(150, 150, 150, 0.15);
+  box-shadow: 0 3px 5px rgba(150, 150, 150, 0.15);
 }
 
 #actionToolbar h5 {
@@ -147,9 +147,9 @@ ul {
   width: 100%;
   bottom: 0;
   margin-bottom: 0;
-  -webkit-box-shadow: 0px -1px 3px rgba(50, 50, 50, 0.15);
-  -moz-box-shadow: 0px -1px 3px rgba(50, 50, 50, 0.15);
-  box-shadow: 0px -1px 3px rgba(50, 50, 50, 0.15);
+  -webkit-box-shadow: 0 -1px 3px rgba(50, 50, 50, 0.15);
+  -moz-box-shadow: 0 -1px 3px rgba(50, 50, 50, 0.15);
+  box-shadow: 0 -1px 3px rgba(50, 50, 50, 0.15);
   z-index: 1020;
   margin-left: -20px;
   left:0;
@@ -171,4 +171,4 @@ ul {
 
 #importAction .action-row, #importOozieAction .action-row {
   cursor: pointer;
-}
+}

+ 2 - 2
apps/search/static/css/admin.css

@@ -46,7 +46,7 @@ h3 {
 }
 
 .form-actions {
-  padding-left: 0px!important;
+  padding-left: 0!important;
 }
 
 .bubble {
@@ -154,4 +154,4 @@ h1.emptyMessage {
 .cloud-tmpl:hover, .cloud-tmpl.selected:hover  {
   color: #000;
   border: 1px dashed #CCCCCC;
-}
+}

+ 4 - 4
desktop/core/src/desktop/app_template/src/app_name/static/css/app_name.css

@@ -1,14 +1,14 @@
-/* 
+/*
 	${app_name} styles
 	important: these should be namespaced
 	example:
 		let's say you are creating an app called "calculator"; you should prefix all your styles with your application's name like so
-		
+
 		.calculator img {
 			border: 1px solid #000;
 		}
 		.calculator p {
-			margin: 10px 0px;
+			margin: 10px 0;
 		}
 		etc...
 
@@ -24,4 +24,4 @@
 	position: absolute;
 	top: 27px;
 	left: 3px;
-}
+}

+ 1 - 1
desktop/core/src/desktop/templates/common_header.mako

@@ -60,7 +60,7 @@ from django.utils.translation import ugettext as _
       }
       .banner {
         height: 40px;
-        padding: 0px;
+        padding: 0;
       }
       .subnav-fixed {
         top: 80px;

+ 14 - 14
desktop/core/static/css/hue3.css

@@ -439,7 +439,7 @@ ul.errorlist li {
 .ribbon {
   font: bold 15px sans-serif;
   text-align: center;
-  text-shadow: rgba(255, 255, 255, 0.5) 0px 1px 0px;
+  text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
   -webkit-transform: rotate(45deg);
   -moz-transform: rotate(45deg);
   -ms-transform: rotate(45deg);
@@ -458,9 +458,9 @@ ul.errorlist li {
   background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
   background-repeat: repeat-x;
   color: #ffffff;
-  -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
-  -moz-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
-  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
+  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
+  -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
+  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
 }
 
 .ribbon:before, .ribbon:after {
@@ -1126,8 +1126,8 @@ a#advanced-btn:hover {
 #jHueTourMask {
   position: absolute;
   display: none;
-  top: 0px;
-  left: 0px;
+  top: 0;
+  left: 0;
   z-index: 9998;
   background-color: #FFFFFF;
   opacity: 0.9;
@@ -1169,12 +1169,12 @@ a#advanced-btn:hover {
   padding-right: 8px;
   border-left: none;
   border-right: 1px solid #01639C;
-  -webkit-border-top-left-radius: 0px;
-  -webkit-border-bottom-left-radius: 0px;
-  -moz-border-radius-topleft: 0px;
-  -moz-border-radius-bottomleft: 0px;
-  border-top-left-radius: 0px;
-  border-bottom-left-radius: 0px;
+  -webkit-border-top-left-radius: 0;
+  -webkit-border-bottom-left-radius: 0;
+  -moz-border-radius-topleft: 0;
+  -moz-border-radius-bottomleft: 0;
+  border-top-left-radius: 0;
+  border-bottom-left-radius: 0;
   -webkit-border-top-right-radius: 4px;
   -webkit-border-bottom-right-radius: 4px;
   -moz-border-radius-topright: 4px;
@@ -1218,7 +1218,7 @@ a#advanced-btn:hover {
 }
 
 .navbar .nav > li > a {
-  margin-right: 0px!important;
+  margin-right: 0!important;
   padding-right: 5px;
   padding-left: 5px;
 }
@@ -1420,4 +1420,4 @@ a#advanced-btn:hover {
   height: 45px;
 }#jHueTourVideoPlayer .modal-body {
   max-height: 460px;
-}
+}