diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2016-12-22 11:17:28 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-01-06 09:42:14 +0100 |
commit | 62acac9b8018e4190bdba5c5f2ed4b647a4d5755 (patch) | |
tree | 06f76534b5a8eea01c0feb7af2336302d37d5e71 | |
parent | 03fb2330a195da278e8514477d6a8ef4f558e8d4 (diff) | |
download | nextcloud-server-62acac9b8018e4190bdba5c5f2ed4b647a4d5755.tar.gz nextcloud-server-62acac9b8018e4190bdba5c5f2ed4b647a4d5755.zip |
Jquery-ui-fixes scss
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r-- | core/css/jquery-ui-fixes.scss | 132 |
1 files changed, 132 insertions, 0 deletions
diff --git a/core/css/jquery-ui-fixes.scss b/core/css/jquery-ui-fixes.scss new file mode 100644 index 00000000000..4cf4f4cdd4a --- /dev/null +++ b/core/css/jquery-ui-fixes.scss @@ -0,0 +1,132 @@ +/* Component containers +----------------------------------*/ + +.ui-widget { + font-family: 'Lucida Grande', Arial, Verdana, sans-serif; + font-size: 1em; + button { + font-family: 'Lucida Grande', Arial, Verdana, sans-serif; + } +} + +.ui-widget-content { + border: 1px solid #dddddd; + background: #eeeeee url('images/ui-bg_highlight-soft_100_eeeeee_1x100.png') 50% top repeat-x; + color: #333333; + a { + color: #333333; + } +} + +.ui-widget-header { + border: 1px solid #0082c9; + background: #0082c9; + color: #ffffff; + a { + color: #ffffff; + } +} + +/* Interaction states +----------------------------------*/ + +.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { + border: 1px solid #ddd; + background: #f8f8f8 url('images/ui-bg_glass_100_f8f8f8_1x400.png') 50% 50% repeat-x; + font-weight: bold; + color: #555; +} + +.ui-state-default a { + color: #555; + &:link, &:visited { + color: #555; + } +} + +.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { + border: 1px solid #ddd; + background: #ffffff url('images/ui-bg_flat_100_ffffff_40x100.png') 50% 50% repeat-x; + font-weight: bold; + color: #333; +} + +.ui-state-hover a { + color: #333; + &:hover, &:link, &:visited { + color: #333; + } +} + +.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { + border: 1px solid #0082c9; + background: #f8f8f8 url('images/ui-bg_glass_100_f8f8f8_1x400.png') 50% 50% repeat-x; + font-weight: bold; + color: #0082c9; +} + +.ui-state-active a { + color: #0082c9; + &:link, &:visited { + color: #0082c9; + } +} + +/* Interaction Cues +----------------------------------*/ + +.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight { + border: 1px solid #ddd; + background: #f8f8f8 url('images/ui-bg_highlight-hard_100_f8f8f8_1x100.png') 50% top repeat-x; + color: #555; +} + +.ui-state-highlight a, .ui-widget-content .ui-state-highlight a, .ui-widget-header .ui-state-highlight a { + color: #555; +} + +.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error { + border: 1px solid #cd0a0a; + background: #b81900 url('images/ui-bg_diagonals-thick_18_b81900_40x40.png') 50% 50% repeat; + color: #ffffff; +} + +.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a, .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { + color: #ffffff; +} + +/* Icons +----------------------------------*/ + +.ui-state-default .ui-icon, .ui-state-hover .ui-icon, .ui-state-focus .ui-icon, .ui-state-active .ui-icon { + background-image: url('images/ui-icons_1d2d44_256x240.png'); +} + +.ui-state-highlight .ui-icon { + background-image: url('images/ui-icons_ffffff_256x240.png'); +} + +.ui-state-error .ui-icon, .ui-state-error-text .ui-icon { + background-image: url('images/ui-icons_ffd27a_256x240.png'); +} + +/* Misc visuals +----------------------------------*/ +/* Overlays */ + +.ui-widget-overlay { + background: #666666 url('images/ui-bg_diagonals-thick_20_666666_40x40.png') 50% 50% repeat; + opacity: .5; +} + +.ui-widget-shadow { + margin: -5px 0 0 -5px; + padding: 5px; + background: #000000 url('images/ui-bg_flat_10_000000_40x100.png') 50% 50% repeat-x; + opacity: .2; + border-radius: 5px; +} + +.ui-menu .ui-menu-item a { + padding: 6px; +} |