Changeset 37280


Ignore:
Timestamp:
2023-02-05T11:45:16+13:00 (15 months ago)
Author:
davidb
Message:

Change in approach to customise the CSS. Makes use of 'root' CSS variables

Location:
gs3-installations/eurovision-lod/trunk/interfaces/eurovision
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • gs3-installations/eurovision-lod/trunk/interfaces/eurovision/interfaceConfig.xml

    r34711 r37280  
    4747    </actionList>
    4848    <optionList>
    49             <option name="cssTheme" value="interfaces/eurovision-lod/style/themes/main/jquery-ui-1.8.16.custom.css"/>
     49            <!-- Uncomment and update this option if you want to introduce custom CSS to this interface. -->
     50        <!-- <option name="cssTheme" value="interfaces/default/style/themes/main/jquery-ui.theme.css"/> -->
     51
     52        <!--
     53             Or, alternative, as being done here ...
     54             Specify your own jquery-ui custome CSS file in this interface directory.
     55        -->
     56        <!--
     57            <option name="cssTheme" value="interfaces/eurovision/style/themes/main/jquery-ui-1.8.16.custom.css"/>
     58        -->
     59       
    5060        <option name="highlightQueryTerms" value="true"/>
    5161        <!-- Set one or other of the following two options (berryBasket and favouriteBasket) to true -->
  • gs3-installations/eurovision-lod/trunk/interfaces/eurovision/style/custom.css

    r35147 r37280  
    3030}
    3131
     32.ui-widget-header {
     33    border: 1px solid hsl(295, 40%, 28%);
     34}
    3235
    3336#resultsArea {
     
    3740.termHighlight {
    3841    background: hsl(195, 47%, 35%);;
     42}
     43
     44
     45.ui-button {
     46    padding: 0.3em 0.75em;
    3947}
    4048
     
    157165}
    158166
    159 /*
    160 #quicksearcharea { */
     167
     168#quicksearcharea ul {
     169    margin-top: 5px;
     170}
     171
     172#quicksearcharea li {
     173    display: inline;
     174    list-style: none;
     175    margin-left: 5px;
     176    padding: 4px 6px 4px 10px;
     177    font-size: 10px;
     178}
    161179
    162180form select, form input {
     
    212230}
    213231
     232/*
    214233#gs-nav li:hover {
    215234    background-color: hsl(295, 92%, 30%);
    216235}
     236*/
    217237
    218238/* but keep the currently selected one white on-hover */
     239/*
    219240#gs-nav li.ui-tabs-selected:hover, #gs-nav li.ui-tabs-selected:hover a {
    220241    background-color: #fff;
    221242    cursor: default;
    222243}
     244*/
     245
     246
     247#gs-nav li:hover {
     248    background-color: var(--gs-primary-hover-bg);
     249}
     250
     251
     252#gs-nav li.ui-tabs-selected:hover, #gs-nav li.ui-tabs-selected:hover a {
     253    background-color: var(--gs-primary-bg);
     254    cursor: default;
     255}
     256
     257
    223258
    224259
     
    261296    vertical-align: bottom;
    262297}
     298
     299
     300
Note: See TracChangeset for help on using the changeset viewer.