mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 12:44:07 +00:00
108 lines
2.4 KiB
CSS
108 lines
2.4 KiB
CSS
MainWindow #translateLine, ScanPopup #translateLine, MainWindow #wordList, MainWindow #dictsPane #dictsList, MainWindow #historyPane #historyList, MainWindow #favoritesPane #favoritesTree {
|
|
}
|
|
|
|
#translateLine {
|
|
color: palette(Text); /* ensure the text is inverse of the background, and also placehold text is grey */
|
|
}
|
|
|
|
#translateLine[noResults="true"] {
|
|
background: #febb7d;
|
|
}
|
|
|
|
#navToolbar #menuButton::menu-indicator {
|
|
image: none;
|
|
}
|
|
|
|
#navToolbar #translateLine {
|
|
border: 1px solid gray;
|
|
border-radius: 3px;
|
|
padding: 1px 3px 2px 3px;
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
margin-left: 0;
|
|
}
|
|
|
|
GroupComboBox {
|
|
margin-right: 0;
|
|
border: 1px solid gray;
|
|
border-right: 1px transparent;
|
|
border-radius: 3px;
|
|
border-top-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
padding: 2px 4px 2px 4px;
|
|
|
|
background: palette(window); /* Distinguish the combobox from the translate line by make it darker*/
|
|
color: palette(Text);
|
|
}
|
|
|
|
GroupComboBox:on {
|
|
padding: 3px 3px 1px 5px;
|
|
}
|
|
|
|
GroupComboBox::drop-down {
|
|
subcontrol-origin: padding;
|
|
subcontrol-position: top right;
|
|
width: 15px;
|
|
border-left: 1px solid darkgray;
|
|
border-right: 1px transparent;
|
|
|
|
/* Hack: For unknown reason, if the padding right is unset, the drop-down won't show full content */
|
|
padding-right: 4px;
|
|
border-right: 1px solid darkgray;
|
|
/* Hack: end*/
|
|
|
|
}
|
|
|
|
GroupComboBox::down-arrow {
|
|
image: url(:/icons/1downarrow.svg);
|
|
max-height: 100%;
|
|
}
|
|
|
|
|
|
ArticleView #searchText[noResults="true"] {
|
|
background: #febb7d;
|
|
}
|
|
|
|
MainStatusBar #text {
|
|
border-top-right-radius: 3px;
|
|
border-top: 1px solid palette(dark);
|
|
border-right: 1px solid palette(dark);
|
|
background: palette(window);
|
|
padding: 2px;
|
|
}
|
|
|
|
MainStatusBar #icon {
|
|
border-top: 1px solid palette(dark);
|
|
background: palette(window);
|
|
padding: 2px;
|
|
padding-left: 4px;
|
|
padding-right: 0;
|
|
}
|
|
|
|
ScanPopup #translateLine {
|
|
margin: 0;
|
|
padding: 1px 3px 1px 3px;
|
|
border: 1px solid gray;
|
|
border-radius: 3px;
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
}
|
|
|
|
|
|
.ScanPopup #outerFrame {
|
|
border: 1px solid palette(dark);
|
|
}
|
|
|
|
.ScanPopup MainStatusBar #text {
|
|
border-bottom: 1px solid palette(dark);
|
|
}
|
|
|
|
.ScanPopup MainStatusBar[hasImage="false"] #text {
|
|
border-left: 1px solid palette(dark);
|
|
}
|
|
|
|
.ScanPopup MainStatusBar #icon {
|
|
border-left: 1px solid palette(dark);
|
|
border-bottom: 1px solid palette(dark);
|
|
}
|