Lingoes theme/style (by anion23)

Use Preferences -> Interface -> Display Style -> Lingoes.
This commit is contained in:
Tvangeste 2013-03-23 19:17:40 +01:00
parent d1787dd98b
commit eef66a8f0f
5 changed files with 397 additions and 0 deletions

View file

@ -0,0 +1,318 @@
body {
background: #EAF0F8;
margin: 0.4em;
font-family: "Arial Unicode MS", "Lucida Sans Unicode", Tahoma, "Palatino Linotype";
line-height: 120%;
}
a {
text-decoration: none;
color: darkblue;
}
a:hover {
text-decoration: underline;
}
.gdarticle {
background: #FFFEF2;
margin-top: 0.1em;
margin-bottom: 0.4em;
padding: 5px;
padding-top: -10px;
border: 1px solid #C7D4DC;
border-radius: 8px;
}
.gdactivearticle {
background: #FFFEF2;
border: 1px solid #92B0DD;
}
.gdarticleseparator + script + .gdactivearticle .gddictname {
border-top: 1px solid #92B0DD;
border-right: 1px solid #92B0DD;
}
.gddictname {
font-size: 12px;
font-weight: normal;
float: right;
border: 0px;
border-top: 1px solid #C7D4DC;
border-right: 1px solid #C7D4DC;
border-top-right-radius: 8px;
border-bottom-left-radius: 6px;
margin: -6px;
margin-bottom: 5px;
margin-left: 2px;
padding-right: 0.4em;
color: #34517D;
background: #DDE6F5;
-webkit-user-select: none;
user-select: none;
cursor: default;
}
.gdactivearticle .gddictname {
border-top: 1px solid #92B0DD;
border-right: 1px solid #92B0DD;
color: darkblue;
background: #CFDDF0;
}
.gdarticleseparator {
display: none;
}
/* The 'From ' string which preceeds dictionary name in the heading */
.gdfromprefix {
display: none;
}
/* The first headword in a (possibly) multi-headword DSL article */
.gdarticlebody > span:first-child .dsl_headwords,
.gdarticlebody > h3:first-child {
margin-top: -3px;
display: inline-block;
}
.mwiki .toc, .mwiki .metadata mbox-small plainlinks {
display:none
}
/* ÄÎÁÀÂËÅÍÈÅ ÈÊÎÍÊÈ ÑËÎÂÀÐß ÑÏÐÀÂÀ ÎÒ ÈÌÅÍÈ ÑËÎÂÀÐÈÊÀ  ÊÀÐÒÎ×ÊÅ */
.gddicticon {
display: inline;
vertical-align: center;
float: right;
padding-right: 5px;
padding-left: 0.3em;
}
.gddicticon img {
border: 0;
height: 15px;
vertical-align: text-top;
}
/* ÍÀÑÒÐÎÉÊÈ ÎÒÎÁÐÀÆÅÍÈß ÂÛÄÅËÅÍÈß */
::selection {
background: #839EC7;
color:#fff;
}
code::selection {
background: #839EC7;
}
/* ÍÀÑÒÐÎÉÊÈ ÎÒÎÁÐÀÆÅÍÈß ÇÀÃÎËÎÂÊÎÂ ÑÒÀÒÅÉ */
h3 {
color: inherit;
font-family: Arial;
}
/******** DSL Dictionaries ****************/
/* Íàñòðîéêè îòîáðàæåíèÿ çàãîëîâêîâ ñòàòåé */
.dsl_headwords {
color: inherit;
font-family: Arial;
}
/* Íàñòðîéêè îòîáðàæåíèÿ ôîðìàòèðîâàííîãî òåêñòà */
.dsl_b {
font-family: Arial;
}
.dsl_ex {
color: slategray;
}
.dsl_m0 {
text-align: left;
padding-left: 10px;
border: 1px inset gray; padding: 0.1em; padding-left: 0.1em;
margin-top: 1em; margin-bottom: 1em;
background: #FFFFDD;
}
.dsl_ref {
color: #0000DD;
}
.dsl_url {
color: #0000DD;
}
/* Íàñòðîéêè îòîáðàæåíèÿ óäàðåíèÿ â ñëîâàõ */
.dsl_stress_without_accent {
display: none;
color: green;
}
.dsl_stress_with_accent {
display: inline;
color: #DD0000;
}
.dsl_stress {
display: inline;
color: blue;
}
/* Íàñòðîéêè îòîáðàæåíèÿ èêîíêè çâóêà */
.dsl_s_wav img {
display: none;
}
.dsl_s_wav a {
text-decoration: none;
-webkit-user-select: none;
display: inline-block;
width: 18px;
height: 18px;
-webkit-border-radius: 100px;
text-align: center;
vertical-align: text-bottom;
}
.dsl_s_wav a {
color: #FFF;
border: 1px solid #798415;
-webkit-box-shadow: 1px 1px #CCC, inset -1px -1px #4E7500;
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(191,210,85,1)), color-stop(50%,rgba(142,185,42,1)), color-stop(51%,rgba(114,170,0,1)), color-stop(100%,rgba(158,203,45,1)));
}
.dsl_s_wav a:hover {
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#e6f0a3), color-stop(50%,#d2e638), color-stop(51%,#c3d825), color-stop(100%,#dbf043));
border: 1px solid #A2B01C;
-webkit-box-shadow: 1px 1px #CCC, inset -1px -1px #8A991A;
}
.dsl_s_wav a:active {
-webkit-box-shadow: 1px 1px #CCC, inset 1px 1px #B1C421;
}
.dsl_s_wav a:after {
display: inline-block;
font-family: "Webdings";
content:"X";
width: 18px;
height: 18px;
font-size: 16px;
text-align: center;
vertical-align: center;
-webkit-background-clip: text;
color: #E6EF8F;
-webkit-text-stroke: 1px #51580E;
}
.dsl_s_wav a:hover:after {
-webkit-text-stroke: 1px #656E11;
}
/******** Verbix Dictionaries ****************/
.sdct_h .normal {
font-family: Arial;
font-size: 10pt;
color:#000000;
font-weight: normal;
text-decoration:none;
}
.sdct_h .irregular {
font-family: Arial;
font-size: 10pt;
color:#FF0000;
font-weight: bold;
text-decoration:none;
}
.sdct_h .orto {
font-family: Arial;
font-size: 10pt;
color:#0000FF;
font-weight: normal;
text-decoration:none;
}
.sdct_h .archaic {
font-family: Arial;
font-size: 10pt;
color:#800080;
font-weight: normal;
text-decoration:none;
}
.sdct_h .notused {
font-family: Arial;
font-size: 10pt;
color:#808080;
font-weight: normal;
text-decoration:none;
}
.sdct_h .pronoun {
font-family: Arial;
font-size: 10pt;
color:#008000;
font-weight: normal;
text-decoration:none;
}
.sdct_h > table {
border: 1px solid #444444;
border-collapse: collapse;
}
.sdct_h td.verbtable {
border: 1px solid #444444;
}
.sdct_h th {
background-color: #A6C9EF;
font-weight: bold;
}
.sdct_h .mini {
font-size: 8pt; font-weight: normal; color: #808080;
}
.sdct_h div.spacerline {
clear: both;
margin-left: 8px;
width:100%;
border-top: 1px solid #ccc;
}
.sdct_h div.spacer {
clear: both;
}
.sdct_h div.float {
margin-left: 8px;
float: left;
}
.sdct_h div.float400 {
margin-left: 8px;
float: left;
width: 400px;
}
.sdct_h div.float250color {
margin-left: 8px;
float: left;
width: 250px;
border-style: dashed;
border-color:#0033CC;
border-collapse:collapse;
border-width:1px;
background-color:#eeeeee;
padding: 8px 8px 8px 8px;
}

BIN
icons/icon32_lingoes.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

View file

@ -81,6 +81,7 @@ Preferences::Preferences( QWidget * parent, Config::Preferences const & p ):
ui.displayStyle->addItem( QIcon( ":/icons/programicon.png" ), tr( "Modern" ), QString( "modern" ) );
ui.displayStyle->addItem( QIcon( ":/icons/icon32_dsl.png" ), tr( "Lingvo" ), QString( "lingvo" ) );
ui.displayStyle->addItem( QIcon( ":/icons/icon32_bgl.png" ), tr( "Babylon" ), QString( "babylon" ) );
ui.displayStyle->addItem( QIcon( ":/icons/icon32_lingoes.png" ), tr( "Lingoes" ), QString( "lingoes" ) );
for( int x = 0; x < ui.displayStyle->count(); ++x )
if ( ui.displayStyle->itemData( x ).toString() == p.displayStyle )

75
qt-style-st-lingoes.css Normal file
View file

@ -0,0 +1,75 @@
MainWindow {
background-color: #CFDDF0;
}
MainWindow #menubar {
background-color: #CFDDF0;
}
MainWindow #translateLine, ScanPopup #translateLine, MainWindow #wordList {
background-color: #fff;
}
MainWindow #centralWidget QTabBar::tab {
border: 1px solid #667B9B;
border-bottom-color: #667B9B;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
padding: 1px 3px;
margin-left: 1px;
margin-bottom: 4px;
background-color: #EAF0F8;
color: darkslategray;
}
MainWindow #centralWidget QTabBar::tab:selected {
background-color: #839EC7;
color: #fff;
border-bottom-style: none;
}
MainWindow #dictsPane #dictsList {
background: #EAF0F8;
color: darkblue;
}
ArticleView #searchFrame QMenu {background-color: none}
ArticleView QMenu {background-color: none}
MainWindow #dictionaryBar QToolTip {
background: #f14040;
color: white;
border-style: none;
}
QMainWindow::separator {
width: 1px; /* when vertical */
height: 1px; /* when horizontal */
}
#dictsPaneTitleBar {
background: #A8C0E4;
margin: 2px;
}
/* Colored header for the History Pane */
#historyPaneTitleBar {
background: #A8C0E4;
margin: 2px;
}
MainWindow #historyPane #historyList {
background: #EAF0F8;
color: #52627C;
}
MainStatusBar #text
{
background: #839EC7;
color: #fff;
}
ScanPopup #outerFrame
{
background-color: #CEDDEF;
}

View file

@ -59,5 +59,8 @@
<file>icons/clear.png</file>
<file>article-style-st-modern.css</file>
<file>qt-style-st-modern.css</file>
<file>article-style-st-lingoes.css</file>
<file>qt-style-st-lingoes.css</file>
<file>icons/icon32_lingoes.png</file>
</qresource>
</RCC>