From: Wolfram Schneider Date: Wed, 22 Oct 2014 17:02:09 +0000 (+0200) Subject: big CSS change to Upgrade demos to use new-style class-names, MKWS-306 X-Git-Tag: 1.0.0~136 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=d47009e372f60e6566343bc24a8ed6c23fc69c21;p=mkws-moved-to-github.git big CSS change to Upgrade demos to use new-style class-names, MKWS-306 --- diff --git a/examples/htdocs/mkws-widget-credo.css b/examples/htdocs/mkws-widget-credo.css index 4091ee0..eff934a 100644 --- a/examples/htdocs/mkws-widget-credo.css +++ b/examples/htdocs/mkws-widget-credo.css @@ -1,30 +1,30 @@ -.mkwsCredo { +.mkws-credo { font-family: Gill Sans, "Gillius ADF", Gillius, GilliusADF, Verdana, Sans-Serif; } -.mkwsCredo table { +.mkws-credo table { width: 100%; border-collapse: collapse; } -.mkwsCredo table tr.front { +.mkws-credo table tr.front { background: #ddf3c3; } -.mkwsCredo table tr:first-child td:first-child { +.mkws-credo table tr:first-child td:first-child { width: 70%; } -.mkwsCredo table tr:first-child .section { +.mkws-credo table tr:first-child .section { margin: 10px; border: 1px solid #c0c0c0; } -.mkwsCredo table tr { +.mkws-credo table tr { vertical-align: top; } -.mkwsCredo .front div.title { +.mkws-credo .front div.title { font-size: 150%; font-weight: bold; color: white; @@ -32,7 +32,7 @@ padding: 0.25em 0.5em; } -.mkwsCredo div.title { +.mkws-credo div.title { font-size: 150%; font-weight: bold; color: #666699; @@ -40,7 +40,7 @@ padding: 0.25em 0.5em; } -.mkwsCredo div.content { +.mkws-credo div.content { background: white; padding: 0.5em 1em; @@ -49,26 +49,26 @@ overflow: auto; } -.mkwsReference h1 { +.mkws-reference h1 { display:none; } -.mkwsReference img { +.mkws-reference img { float: left; margin: 0 1.5em 1em 0; border: 2px solid #c0c0c0; padding: 0.5em; } -.mkwsCredo .image .mkwsSummary { +.mkws-credo .image .mkws-summary { float: left; } -.mkwsCredo .image a { +.mkws-credo .image a { text-decoration: none; } -.mkwsCredo hr.divider { +.mkws-credo hr.divider { margin: 20px 1%; border-top: 3px dotted #c0c0c0; color: #fff; @@ -77,29 +77,29 @@ width: 98%; } -.mkwsCredit { +.mkws-credit { font-size: small; text-align: right; } -.mkwsCredit::before { +.mkws-credit::before { content: "Source: "; font-weight: bold; } -.mkwsFacet a { +.mkws-facet a { text-decoration: none; } -.mkwsFacet a:hover { +.mkws-facet a:hover { text-decoration: underline; } -.mkwsTerm { +.mkws-term { clear: both; } -.mkwsTerm span { +.mkws-term span { float: right; } diff --git a/examples/htdocs/mkws-widget-reference.css b/examples/htdocs/mkws-widget-reference.css index 6dfba21..71e46ac 100644 --- a/examples/htdocs/mkws-widget-reference.css +++ b/examples/htdocs/mkws-widget-reference.css @@ -1,4 +1,4 @@ -.mkwsReference { +.mkws-reference { max-width: 40em; font-family: Gill Sans, "Gillius ADF", Gillius, GilliusADF, Verdana, Sans-Serif; background: #f0f0e0; @@ -9,26 +9,26 @@ -webkit-border-radius: 1em; } -.mkwsReference h1 a { +.mkws-reference h1 a { color: #806020; } -.mkwsReference a { +.mkws-reference a { text-decoration: none; } -.mkwsReference img { +.mkws-reference img { float: right; margin: 0 0 1em 2em; border: 0.5em solid white; } -.mkwsCredit { +.mkws-credit { font-size: small; text-align: right; } -.mkwsCredit::before { +.mkws-credit::before { content: "Source: "; font-weight: bold; } diff --git a/examples/htdocs/mkws-widget-ru.css b/examples/htdocs/mkws-widget-ru.css index 0d5c684..1f00e33 100644 --- a/examples/htdocs/mkws-widget-ru.css +++ b/examples/htdocs/mkws-widget-ru.css @@ -1,4 +1,4 @@ -.mkwsReferenceUniverse { +.mkws-reference-universe { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; background: #FCFBFA; padding: 0.5em 1em 0.25em; diff --git a/examples/htdocs/mkws-widget-wimp.css b/examples/htdocs/mkws-widget-wimp.css index 2212e25..a567a9f 100644 --- a/examples/htdocs/mkws-widget-wimp.css +++ b/examples/htdocs/mkws-widget-wimp.css @@ -1,4 +1,4 @@ -.mkwsWimp { +.mkws-wimp { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; background: #FCFBFA; padding: 0.5em 1em 0.25em; diff --git a/examples/htdocs/topic.css b/examples/htdocs/topic.css index 303942a..c7c9a3d 100644 --- a/examples/htdocs/topic.css +++ b/examples/htdocs/topic.css @@ -37,23 +37,23 @@ b, strong { padding: 10px 15px; } -.mkwsFacetTitle { +.mkws-facet-title { font-style: italic; font-weight: 400; } - .mkwsTerm { + .mkws-term { padding: .1em 0; } - .mkwsTerm a { + .mkws-term a { padding-right: .5em; font-weight: 400; } -.mkwsSummary { +.mkws-summary { padding: .5em 0; line-height: 1.35; } -.mkwsSummary:last-child { +.mkws-summary:last-child { padding-bottom: 0; } @@ -63,22 +63,22 @@ b, strong { box-shadow: none; color: black; } - .jumbotron .mkwsSummary { + .jumbotron .mkws-summary { line-height: 1.5; } .jumbotron p{ font-size: 150%; } - .mkwsCredit { + .mkws-credit { font-size: 125% !important; font-style: italic; } -.mkwsGoogleImage .mkwsSummary { +.mkws-googleimage .mkws-summary { padding: 0; font-weight: 400; } - .mkwsGoogleImage img { + .mkws-googleimage img { max-width: 100%; max-height: 200px; padding: 1em 0 .5em; diff --git a/tools/htdocs/external/koha/koha-mkws-complete.css b/tools/htdocs/external/koha/koha-mkws-complete.css index 66385bc..40e2edc 100644 --- a/tools/htdocs/external/koha/koha-mkws-complete.css +++ b/tools/htdocs/external/koha/koha-mkws-complete.css @@ -1,4 +1,4 @@ -.mkwsReference { +.mkws-reference { max-width: 40em; font-family: Gill Sans, "Gillius ADF", Gillius, GilliusADF, Verdana, Sans-Serif; background: #f0f0e0; @@ -9,31 +9,31 @@ -webkit-border-radius: 1em; } -.mkwsReference h1 a { +.mkws-reference h1 a { color: #806020; } -.mkwsReference a { +.mkws-reference a { text-decoration: none; } -.mkwsReference img { +.mkws-reference img { float: right; margin: 0 0 1em 2em; border: 0.5em solid white; } -.mkwsCredit { +.mkws-credit { font-size: small; text-align: right; } -.mkwsCredit::before { +.mkws-credit::before { content: "Source: "; font-weight: bold; } /* original "ru" config -.mkwsReferenceUniverse { +.mkws-reference-universe { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; background: #FCFBFA; padding: 0.5em 1em 0.25em; @@ -47,22 +47,22 @@ } */ -.mkwsReferenceUniverse { +.mkws-reference-universe { padding: 0.5em 1em 0.25em; } -.mkwsReferenceUniverse h2 { +.mkws-reference-universe h2 { font-size: 100%; color: #4A5456; padding-bottom: .5em; } -.mkwsReferenceUniverse ul { +.mkws-reference-universe ul { margin: 0; padding: 0; } -.mkwsReferenceUniverse li { +.mkws-reference-universe li { margin: .95em .25em; padding-top: .75em; border-top: 1px dotted #BEC8CC; @@ -70,7 +70,7 @@ list-style: none; } -.mkwsReferenceUniverse a { +.mkws-reference-universe a { text-decoration: none; font-weight:bold; color: #2B77AF; @@ -84,23 +84,23 @@ */ /* submit button color */ -form[name=mkwsSearchForm] > input[type=submit].mkwsButton { +form[name=mkws-searchform] > input[type=submit].mkws-button { background: #006dcc; border: 3px outset #006dcc; margin-bottom: 10px; } -select.mkwsTeam_AUTO { +select.mkws-team_auto { width: 10em; font-size: 11px; height: 25px; } /* facet links */ -div.mkwsFacet > div.term { background: none; } +div.mkws-facet > div.term { background: none; } /* facet counter for a link */ -div.mkwsFacet > div.term > span { color: #000; } +div.mkws-facet > div.term > span { color: #000; } /* sidebar */ @media (min-width: 768px) and (max-width: 1199px) { @@ -148,7 +148,7 @@ div.mkwsFacet > div.term > span { color: #000; } margin-bottom: 5px; } -.mkws-autosearch div.mkwsRecords { +.mkws-autosearch div.mkws-records { padding: 3px; } @@ -165,30 +165,30 @@ div.mkwsFacet > div.term > span { color: #000; } text-decoration: none; } -.mkwsSwitch a, .mkwsLang a, .mkwsFacet a, .mkwsRanking a, .mkwsPager a, .mkwsNavi a, .mkwsRecords a, .mkwsRecord a { +.mkws-switch a, .mkws-lang a, .mkws-facet a, .mkws-ranking a, .mkws-pager a, .mkws-navi a, .mkws-records a, .mkws-record a { color: #0076b2; } -.mkwsTargets table thead tr td { +.mkws-targets table thead tr td { background-color: #0076b2; } -.mkwsCurrentPage { +.mkws-current-page { background: #0076b2; } -input[type=submit].mkwsButton { +input[type=submit].mkws-button { background: #006dcc; } -.mkwsFacet { +.mkws-facet { background: #fff; } /******************************************************************************** * Koha + mkws-widget-reference.css */ -.mkwsReference h1 a { color: #0076b2; } -.mkwsReference { +.mkws-reference h1 a { color: #0076b2; } +.mkws-reference { border: none; background: none; border-radius: none; diff --git a/tools/htdocs/external/koha/koha-mkws-widget-ru.css b/tools/htdocs/external/koha/koha-mkws-widget-ru.css index 6f6139f..68cd04b 100644 --- a/tools/htdocs/external/koha/koha-mkws-widget-ru.css +++ b/tools/htdocs/external/koha/koha-mkws-widget-ru.css @@ -1,5 +1,5 @@ /* original "ru" config -.mkwsReferenceUniverse { +.mkws-reference-universe { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; background: #FCFBFA; padding: 0.5em 1em 0.25em; @@ -13,22 +13,22 @@ } */ -.mkwsReferenceUniverse { +.mkws-reference-universe { padding: 0.5em 1em 0.25em; } -.mkwsReferenceUniverse h2 { +.mkws-reference-universe h2 { font-size: 100%; color: #4A5456; padding-bottom: .5em; } -.mkwsReferenceUniverse ul { +.mkws-reference-universe ul { margin: 0; padding: 0; } -.mkwsReferenceUniverse li { +.mkws-reference-universe li { margin: .95em .25em; padding-top: .75em; border-top: 1px dotted #BEC8CC; @@ -36,7 +36,7 @@ list-style: none; } -.mkwsReferenceUniverse a { +.mkws-reference-universe a { text-decoration: none; font-weight:bold; color: #2B77AF; diff --git a/tools/htdocs/external/koha/koha-mkws.css b/tools/htdocs/external/koha/koha-mkws.css index d35aad0..464a895 100644 --- a/tools/htdocs/external/koha/koha-mkws.css +++ b/tools/htdocs/external/koha/koha-mkws.css @@ -7,23 +7,23 @@ */ /* submit button color */ -form[name=mkwsSearchForm] > input[type=submit].mkwsButton { +form[name=mkws-searchform] > input[type=submit].mkws-button { background: #006dcc; border: 3px outset #006dcc; margin-bottom: 10px; } -select.mkwsTeam_AUTO { +select.mkws-team_auto { width: 10em; font-size: 11px; height: 25px; } /* facet links */ -div.mkwsFacet > div.term { background: none; } +div.mkws-facet > div.term { background: none; } /* facet counter for a link */ -div.mkwsFacet > div.term > span { color: #000; } +div.mkws-facet > div.term > span { color: #000; } /* sidebar */ @media (min-width: 768px) and (max-width: 1199px) { @@ -71,7 +71,7 @@ div.mkwsFacet > div.term > span { color: #000; } margin-bottom: 5px; } -.mkws-autosearch div.mkwsRecords { +.mkws-autosearch div.mkws-records { padding: 3px; } @@ -88,30 +88,30 @@ div.mkwsFacet > div.term > span { color: #000; } text-decoration: none; } -.mkwsSwitch a, .mkwsLang a, .mkwsFacet a, .mkwsRanking a, .mkwsPager a, .mkwsNavi a, .mkwsRecords a, .mkwsRecord a { +.mkws-switch a, .mkws-lang a, .mkws-facet a, .mkws-ranking a, .mkws-pager a, .mkws-navi a, .mkws-records a, .mkws-record a { color: #0076b2; } -.mkwsTargets table thead tr td { +.mkws-targets table thead tr td { background-color: #0076b2; } -.mkwsCurrentPage { +.mkws-current-page { background: #0076b2; } -input[type=submit].mkwsButton { +input[type=submit].mkws-button { background: #006dcc; } -.mkwsFacet { +.mkws-facet { background: #fff; } /******************************************************************************** * Koha + mkws-widget-reference.css */ -.mkwsReference h1 a { color: #0076b2; } -.mkwsReference { +.mkws-reference h1 a { color: #0076b2; } +.mkws-reference { border: none; background: none; border-radius: none;