瀏覽代碼

Helios key helper command displayed in 2 columns

Nicolas Petton 10 年之前
父節點
當前提交
0e1c0bd217
共有 2 個文件被更改,包括 10 次插入6 次删除
  1. 5 3
      css/helios.css
  2. 5 3
      css/helios.less

+ 5 - 3
css/helios.css

@@ -508,8 +508,9 @@ body[id="helios"] .key_helper {
   top: 120px;
   left: 50%;
   width: 400px;
+  max-height: 300px;
   margin-left: -200px;
-  background: rgba(243, 243, 243, 0.9);
+  background: white;
   box-shadow: 0 0 6px #aaa;
   border: 1px solid #aaa;
   font-size: 11px;
@@ -520,8 +521,9 @@ body[id="helios"] .key_helper {
   -ms-transition: all .5s;
 }
 body[id="helios"] .key_helper .command {
-  padding: 2px;
-  display: block;
+  padding: 0;
+  display: inline-block;
+  width: 50%;
 }
 body[id="helios"] .key_helper .command strong {
   display: inline-block;

+ 5 - 3
css/helios.less

@@ -584,8 +584,9 @@ body[id="helios"] {
 		top: 120px;
 		left: 50%;
 		width: 400px;
+		max-height: 300px;
 		margin-left: -200px;
-		background: rgba(243, 243, 243, 0.9);
+		background: white;
 		box-shadow: 0 0 6px #aaa;
 		border: 1px solid #aaa;
 		font-size: 11px;
@@ -598,8 +599,9 @@ body[id="helios"] {
 
 
 		.command {
-			padding: 2px;
-			display: block;
+			padding: 0;
+			display: inline-block;
+			width: 50%;
 
 			strong {
 				display: inline-block;