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