]> source.dussan.org Git - nextcloud-server.git/commitdiff
Jquery-ui-fixes scss
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Thu, 22 Dec 2016 10:17:28 +0000 (11:17 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Fri, 6 Jan 2017 08:42:14 +0000 (09:42 +0100)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
core/css/jquery-ui-fixes.scss [new file with mode: 0644]

diff --git a/core/css/jquery-ui-fixes.scss b/core/css/jquery-ui-fixes.scss
new file mode 100644 (file)
index 0000000..4cf4f4c
--- /dev/null
@@ -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;
+}