fix px issue
This commit is contained in:
@@ -24,26 +24,26 @@ configuration {
|
||||
background-color: @bg0;
|
||||
text-color: @fg0;
|
||||
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
spacing: 0;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
spacing: 0px;
|
||||
}
|
||||
|
||||
/* 主窗口样式 */
|
||||
window {
|
||||
background-color: @bg0;
|
||||
location: center;
|
||||
width: 640;
|
||||
border-radius: 8;
|
||||
border: 1;
|
||||
width: 640px;
|
||||
border-radius: 8px;
|
||||
border: 1px;
|
||||
border-color: @bg1;
|
||||
}
|
||||
|
||||
/* 搜索输入栏样式 */
|
||||
inputbar {
|
||||
font: "Montserrat 20";
|
||||
padding: 12 12 12 12;
|
||||
spacing: 12;
|
||||
padding: 12px;
|
||||
spacing: 12px;
|
||||
children: [ icon-search, entry];
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ inputbar {
|
||||
icon-search {
|
||||
expand: false;
|
||||
filename: "search";
|
||||
size: 28;
|
||||
size: 28px;
|
||||
}
|
||||
|
||||
/* 元素垂直对齐设置 */
|
||||
@@ -66,22 +66,22 @@ entry {
|
||||
font: inherit;
|
||||
vertical-align: 0.5;
|
||||
text-align: center;
|
||||
padding: 5;
|
||||
spacing: 10;
|
||||
padding: 5px;
|
||||
spacing: 10px;
|
||||
placeholder: "Search";
|
||||
placeholder-color: @fg2;
|
||||
}
|
||||
|
||||
/* 消息区域样式 */
|
||||
message {
|
||||
border: 2 0 0;
|
||||
border: 2px 0 0;
|
||||
border-color: @bg1;
|
||||
background-color: @bg1;
|
||||
}
|
||||
|
||||
/* 文本框样式 */
|
||||
textbox {
|
||||
padding: 8 24;
|
||||
padding: 8px 24px;
|
||||
}
|
||||
|
||||
/* 列表视图样式 */
|
||||
@@ -89,16 +89,16 @@ listview {
|
||||
lines: 10;
|
||||
columns: 1;
|
||||
fixed-height: false;
|
||||
border: 1 0 0;
|
||||
border: 1px 0 0;
|
||||
border-color: @bg1;
|
||||
}
|
||||
|
||||
/* 列表项基本样式 */
|
||||
element {
|
||||
padding: 8 16;
|
||||
spacing: 16;
|
||||
border: 0;
|
||||
border-radius: 4;
|
||||
padding: 8px 16px;
|
||||
spacing: 16px;
|
||||
border: 0px;
|
||||
border-radius: 4px;
|
||||
background-color: transparent;
|
||||
children: [ element-icon, element-text];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user