diff options
Diffstat (limited to 'ext/mixed/css')
| -rw-r--r-- | ext/mixed/css/display-dark.css | 6 | ||||
| -rw-r--r-- | ext/mixed/css/display-default.css | 6 | ||||
| -rw-r--r-- | ext/mixed/css/display.css | 44 | 
3 files changed, 55 insertions, 1 deletions
diff --git a/ext/mixed/css/display-dark.css b/ext/mixed/css/display-dark.css index 34a0ccd1..681d248c 100644 --- a/ext/mixed/css/display-dark.css +++ b/ext/mixed/css/display-dark.css @@ -48,3 +48,9 @@ hr { border-top-color: #2f2f2f; }  .expression-rare, .expression-rare .kanji-link {      color: #666666;  } + +.icon-checkbox:checked + label { +    /* invert colors */ +    background-color: #d4d4d4; +    color: #1e1e1e; +} diff --git a/ext/mixed/css/display-default.css b/ext/mixed/css/display-default.css index 176c5387..add0a9c8 100644 --- a/ext/mixed/css/display-default.css +++ b/ext/mixed/css/display-default.css @@ -48,3 +48,9 @@ hr { border-top-color: #eeeeee; }  .expression-rare, .expression-rare .kanji-link {      color: #999999;  } + +.icon-checkbox:checked + label { +    /* invert colors */ +    background-color: #333333; +    color: #ffffff; +} diff --git a/ext/mixed/css/display.css b/ext/mixed/css/display.css index 7793ddeb..9152216f 100644 --- a/ext/mixed/css/display.css +++ b/ext/mixed/css/display.css @@ -72,13 +72,55 @@ ol, ul {      visibility: hidden;  } +/* + * Navigation + */ + +.term-navigation { +    position: fixed; +    top: 0px; +} + +.term-button-fade { +    opacity: 0.4; +} + + +/* + * Search page + */ + +.icon-checkbox { +    display: none; +} + +.icon-checkbox + label { +    cursor: pointer; +    font-size: 22px; +    padding: 2px; +    user-select: none; +} + +#query-parser { +    margin-top: 10px; +    font-size: 24px; +} + +.query-parser-term { +    margin-right: 5px; +} + +html:root[data-yomichan-page=search] body { +    overflow-y: scroll; /* always show scroll bar to avoid scanning problems */ +} +  /*   * Entries   */  .entry, .note { -    padding-top: 10px; +    padding-top: 20px;      padding-bottom: 10px;  }  |