Browse Source

Helios: removes outline from focused widgets

Nicolas Petton 10 years ago
parent
commit
ec3bdc5072
2 changed files with 10 additions and 8 deletions
  1. 3 4
      css/helios.css
  2. 7 4
      css/helios.less

+ 3 - 4
css/helios.css

@@ -81,6 +81,9 @@ body[id="helios"] .editor {
   left: 0;
   right: 0;
 }
+body[id="helios"] .hl_widget:focus {
+  outline: 0 none;
+}
 body[id="helios"] .buttons_bar {
   position: absolute;
   bottom: 0;
@@ -646,10 +649,6 @@ body[id="helios"] .dialog {
   -moz-transition: top .5s;
   -o-transition: top .5s;
 }
-body[id="helios"] .confirmation .hl_widget:focus,
-body[id="helios"] .dialog .hl_widget:focus {
-  outline: 0 none;
-}
 body[id="helios"] .confirmation .hl_widget .form-actions,
 body[id="helios"] .dialog .hl_widget .form-actions {
   padding: 0;

+ 7 - 4
css/helios.less

@@ -99,6 +99,13 @@ body[id="helios"] {
 		right: 0;
 	}
 
+	.hl_widget {
+
+		&:focus {
+			outline: 0 none;
+		}
+	}
+
 	.buttons_bar {
 		position: absolute;
 		bottom: 0;
@@ -744,10 +751,6 @@ body[id="helios"] {
 
 		.hl_widget {
 
-			&:focus {
-				outline: 0 none;
-			}
-
 			.form-actions {
 				padding: 0;
 				border: 0;