mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-04 07:54:06 +00:00
540dda26ed
The replacement command: git grep -l 'qrcx://localhost' | xargs sed -i 's/qrcx:\/\/localhost/qrc:\/\//g' The qrcx:// URL scheme was introduced in 2009 or earlier - it is present in the first commit in GoldenDict's git history. Back then GoldenDict supported Qt versions earlier than 4.6, in which QWebSecurityOrigin::addLocalScheme() was introduced. Adding the qrc URL scheme as local obsoletes the qrcx URL scheme. GoldenDict does not compile against Qt versions earlier than 4.6, so there is no reason to use this custom URL scheme anymore. Co-authored-by: Igor Kushnir <[email protected]>
100 lines
1.5 KiB
CSS
100 lines
1.5 KiB
CSS
html
|
|
{
|
|
background-color: white;
|
|
}
|
|
|
|
body
|
|
{
|
|
background: white;
|
|
}
|
|
|
|
.gdarticle
|
|
{
|
|
background: white;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1em;
|
|
}
|
|
|
|
::selection
|
|
{
|
|
background: #4492E8;
|
|
color: white;
|
|
}
|
|
|
|
/* Dictionary's name heading */
|
|
.gddictname
|
|
{
|
|
font-weight: normal;
|
|
font-size: 11px;
|
|
border: none;
|
|
border-top-left-radius: 8px;
|
|
border-top-right-radius: 0px;
|
|
background: #F0EDED;
|
|
padding-top: 5px;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.gddicticon
|
|
{
|
|
display: inline;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
.gddicticon img
|
|
{
|
|
border: 0;
|
|
height: 16px;
|
|
vertical-align: text-top;
|
|
}
|
|
|
|
/* The 'From ' string which precedes dictionary name in the heading */
|
|
.gdfromprefix
|
|
{
|
|
display: none;
|
|
}
|
|
|
|
/* Move the collapse/expand buttons to the right */
|
|
.collapse_expand_area
|
|
{
|
|
float: right;
|
|
margin-right: 2px;
|
|
}
|
|
|
|
.gdexpandicon, .gdexpandicon:hover, .gdcollapseicon, .gdcollapseicon:hover
|
|
{
|
|
width:15px;
|
|
background-position: center;
|
|
background-repeat:no-repeat;
|
|
vertical-align: text-bottom;
|
|
padding-left: -5px;
|
|
margin-left: 0px;
|
|
}
|
|
|
|
.gdexpandicon {
|
|
background-image: url('qrc:///icons/expand_article.png');
|
|
}
|
|
|
|
.gdexpandicon:hover {
|
|
background-image: url('qrc:///icons/expand_article_hovered.png');
|
|
}
|
|
|
|
.gdcollapseicon {
|
|
background-image: url('qrc:///icons/collapse_article.png');
|
|
}
|
|
|
|
.gdcollapseicon:hover {
|
|
background-image: url('qrc:///icons/collapse_article_hovered.png');
|
|
}
|
|
|
|
.bglpos { color: black; font-weight: bold; font-size: 11px; background: #F0EDED; display: inline; }
|
|
|
|
.bgltrn { color: #808080; font-size: 12px; display: inline; }
|
|
|
|
a, .mwiki a
|
|
{
|
|
color: #0066CC;
|
|
}
|
|
|