소스 검색

Merge pull request #784 from spoorthyv/commandpalette

Fixed command palette styling
Brian E. Granger 8 년 전
부모
커밋
b6355cc361
1개의 변경된 파일9개의 추가작업 그리고 7개의 파일을 삭제
  1. 9 7
      src/default-theme/commandpalette.less

+ 9 - 7
src/default-theme/commandpalette.less

@@ -10,15 +10,14 @@
 
 
 .p-CommandPalette-search {
-  padding: 4px;
+  border-bottom: solid 2px #e0e0e0;
 }
 
 
 .p-CommandPalette-wrapper {
-  padding: 4px 4px;
   background: white;
-  border-bottom: 2px solid #E0E0E0;
   overflow: overlay;
+  padding: 12px 8px;
 }
 
 
@@ -39,17 +38,20 @@
 
 
 .p-CommandPalette-header {
-  padding: 4px;
+  padding: 10px 0 4px 8px;
   color: #757575;
   font-size: 12px;
   font-weight: 600;
-  background: #E1E1E1;
+  background: #fafafa;
   cursor: pointer;
+  text-transform: uppercase;
+  border-bottom: solid 1px #e0e0e0;
+  letter-spacing: 2px;
 }
 
 
 .p-CommandPalette-header.p-mod-active {
-  background: #7FDBFF;
+  background: #e0e0e0;
 }
 
 
@@ -80,7 +82,7 @@
 
 
 .p-CommandPalette-item.p-mod-active {
-  background: #7FDBFF;
+  background: #e0e0e0;
 }