Skip to content

Commit

Permalink
Upgrade jQuery / jQuery-UI to the last version (#2011)
Browse files Browse the repository at this point in the history
* Upgrade jquery to 3.6.0.

* Update JQuery-UI + Few fixes in UI

* Change path to be come relative

Co-authored-by: Raphael Schneeberger <rs@scit.ch>
  • Loading branch information
jaapmarcus and ScIT-Raphael committed Jul 26, 2021
1 parent 3fa7685 commit 93c2079
Show file tree
Hide file tree
Showing 23 changed files with 193 additions and 727 deletions.
550 changes: 0 additions & 550 deletions web/css/dependencies/jquery-custom-dialogs.css

This file was deleted.

3 changes: 3 additions & 0 deletions web/css/dependencies/jquery-ui.custom.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

139 changes: 139 additions & 0 deletions web/css/src/dependencies/jquery-ui.custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
/*!
* JQuery UI Custom + few changes
*/
.ui-dialog {
position: absolute;
top: 0;
left: 0;
padding: .2em;
outline: 0;
}
.ui-dialog .ui-dialog-titlebar {
padding: .4em 1em;
position: relative;
}
.ui-dialog .ui-dialog-title {
float: left;
margin: .1em 0;
white-space: nowrap;
width: 90%;
overflow: hidden;
text-overflow: ellipsis;
}
.ui-dialog .ui-dialog-titlebar-close {
position: absolute;
right: .3em;
top: 50%;
width: 20px;
margin: -10px 0 0 0;
padding: 1px;
height: 20px;
}
.ui-dialog .ui-dialog-content {
position: relative;
border: 0;
padding: .5em 1em;
background: none;
overflow: auto;
}
.ui-dialog .ui-dialog-buttonpane {
text-align: left;
border-width: 1px 0 0 0;
background-image: none;
margin-top: .5em;
padding: .3em 1em .5em .4em;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
float: right;
}
.ui-dialog .ui-dialog-buttonpane button {
margin: .5em .4em .5em 0;
cursor: pointer;
}
.ui-dialog .ui-resizable-n {
height: 2px;
top: 0;
}
.ui-dialog .ui-resizable-e {
width: 2px;
right: 0;
}
.ui-dialog .ui-resizable-s {
height: 2px;
bottom: 0;
}
.ui-dialog .ui-resizable-w {
width: 2px;
left: 0;
}
.ui-dialog .ui-resizable-se,
.ui-dialog .ui-resizable-sw,
.ui-dialog .ui-resizable-ne,
.ui-dialog .ui-resizable-nw {
width: 7px;
height: 7px;
}
.ui-dialog .ui-resizable-se {
right: 0;
bottom: 0;
}
.ui-dialog .ui-resizable-sw {
left: 0;
bottom: 0;
}
.ui-dialog .ui-resizable-ne {
right: 0;
top: 0;
}
.ui-dialog .ui-resizable-nw {
left: 0;
top: 0;
}
.ui-tabs {
position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
padding: .2em;
}
.ui-tabs .ui-tabs-nav {
margin: 0;
padding: .2em .2em 0;
}
.ui-tabs .ui-tabs-nav li {
list-style: none;
float: left;
position: relative;
top: 0;
margin: 1px .2em 0 0;
border-bottom-width: 0;
padding: 0;
white-space: nowrap;
}
.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
float: left;
padding: .5em 1em;
text-decoration: none;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-active {
margin-bottom: -1px;
padding-bottom: 1px;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,
.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,
.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
cursor: text;
}
.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
cursor: pointer;
}
.ui-tabs .ui-tabs-panel {
display: block;
border-width: 0;
padding: 1em 1.4em;
background: none;
}
.ui-dialog-titlebar-close{
display: none !important;
}

.ui-tabs-panel{
clear:both !important;
}
2 changes: 1 addition & 1 deletion web/css/src/themes/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -1472,7 +1472,7 @@ form#vstobjects.suspended {
.cron-helper-tabs a:active {
color: #3b9de8 !important;
}
.cron-helper-tabs .ui-tabs-selected a {
.cron-helper-tabs .ui-tabs-selected a, li[aria-expanded="true"] a {
color: #ff3478 !important;
}

Expand Down
52 changes: 26 additions & 26 deletions web/css/src/themes/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
font-style: normal;
font-weight: 300;
src: local('Exo Light'), local('Exo-Light'),
url('../../webfonts/exo-v8-latin-ext_latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../../webfonts/exo-v8-latin-ext_latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('/webfonts/exo-v8-latin-ext_latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('/webfonts/exo-v8-latin-ext_latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
font-display: swap;
}

Expand All @@ -19,8 +19,8 @@
font-style: italic;
font-weight: 300;
src: local('Exo Light Italic'), local('Exo-LightItalic'),
url('../../webfonts/exo-v8-latin-ext_latin-300italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../../webfonts/exo-v8-latin-ext_latin-300italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('/webfonts/exo-v8-latin-ext_latin-300italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('/webfonts/exo-v8-latin-ext_latin-300italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
font-display: swap;
}

Expand All @@ -30,8 +30,8 @@
font-style: normal;
font-weight: 400;
src: local('Exo Regular'), local('Exo-Regular'),
url('../../webfonts/exo-v8-latin-ext_latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../../webfonts/exo-v8-latin-ext_latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('/webfonts/exo-v8-latin-ext_latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('/webfonts/exo-v8-latin-ext_latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
font-display: swap;
}

Expand All @@ -41,8 +41,8 @@
font-style: italic;
font-weight: 400;
src: local('Exo Italic'), local('Exo-Italic'),
url('../../webfonts/exo-v8-latin-ext_latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../../webfonts/exo-v8-latin-ext_latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('/webfonts/exo-v8-latin-ext_latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('/webfonts/exo-v8-latin-ext_latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
font-display: swap;
}

Expand All @@ -52,8 +52,8 @@
font-style: normal;
font-weight: 500;
src: local('Exo Medium'), local('Exo-Medium'),
url('../../webfonts/exo-v8-latin-ext_latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../../webfonts/exo-v8-latin-ext_latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('/webfonts/exo-v8-latin-ext_latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('/webfonts/exo-v8-latin-ext_latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
font-display: swap;
}

Expand All @@ -63,8 +63,8 @@
font-style: italic;
font-weight: 500;
src: local('Exo Medium Italic'), local('Exo-MediumItalic'),
url('../../webfonts/exo-v8-latin-ext_latin-500italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../../webfonts/exo-v8-latin-ext_latin-500italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('/webfonts/exo-v8-latin-ext_latin-500italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('/webfonts/exo-v8-latin-ext_latin-500italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
font-display: swap;
}

Expand All @@ -74,8 +74,8 @@
font-style: normal;
font-weight: 600;
src: local('Exo SemiBold'), local('Exo-SemiBold'),
url('../../webfonts/exo-v8-latin-ext_latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../../webfonts/exo-v8-latin-ext_latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('/webfonts/exo-v8-latin-ext_latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('/webfonts/exo-v8-latin-ext_latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
font-display: swap;
}

Expand All @@ -85,8 +85,8 @@
font-style: italic;
font-weight: 600;
src: local('Exo SemiBold Italic'), local('Exo-SemiBoldItalic'),
url('../../webfonts/exo-v8-latin-ext_latin-600italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../../webfonts/exo-v8-latin-ext_latin-600italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('/webfonts/exo-v8-latin-ext_latin-600italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('/webfonts/exo-v8-latin-ext_latin-600italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
font-display: swap;
}

Expand All @@ -96,8 +96,8 @@
font-style: normal;
font-weight: 700;
src: local('Exo Bold'), local('Exo-Bold'),
url('../../webfonts/exo-v8-latin-ext_latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../../webfonts/exo-v8-latin-ext_latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('/webfonts/exo-v8-latin-ext_latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('/webfonts/exo-v8-latin-ext_latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
font-display: swap;
}

Expand All @@ -107,8 +107,8 @@
font-style: italic;
font-weight: 700;
src: local('Exo Bold Italic'), local('Exo-BoldItalic'),
url('../../webfonts/exo-v8-latin-ext_latin-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../../webfonts/exo-v8-latin-ext_latin-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('/webfonts/exo-v8-latin-ext_latin-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('/webfonts/exo-v8-latin-ext_latin-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
font-display: swap;
}

Expand All @@ -121,8 +121,8 @@
@font-face {
font-family: 'Inconsolata';
src: local('Inconsolata Bold'), local('Inconsolata-Bold'),
url('../../webfonts/Inconsolata-Bold.woff2') format('woff2'),
url('../../webfonts/Inconsolata-Bold.woff') format('woff');
url('/webfonts/Inconsolata-Bold.woff2') format('woff2'),
url('/webfonts/Inconsolata-Bold.woff') format('woff');
font-weight: bold;
font-style: normal;
font-display: swap;
Expand All @@ -132,8 +132,8 @@
@font-face {
font-family: 'Inconsolata';
src: local('Inconsolata Regular'), local('Inconsolata-Regular'),
url('../../webfonts/Inconsolata-Regular.woff2') format('woff2'),
url('../../webfonts/Inconsolata-Regular.woff') format('woff');
url('/webfonts/Inconsolata-Regular.woff2') format('woff2'),
url('/webfonts/Inconsolata-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
Expand Down Expand Up @@ -843,7 +843,7 @@ a {
padding: 4rem;
}

.notification-container .empty . {
.notification-container .empty {
color: #54a6e5;
}

Expand Down Expand Up @@ -4057,7 +4057,7 @@ form#vstobjects.suspended {
color: #3b9de8;
}

.cron-helper-tabs .ui-tabs-selected a {
.cron-helper-tabs .ui-tabs-selected a, li[aria-expanded="true"] a {
color: #cc3366;
}

Expand Down
2 changes: 1 addition & 1 deletion web/css/src/themes/vestia.css
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ a.vst-advanced:active, a.vst-advanced:focus {
box-shadow: none !important;
}

.cron-helper-tabs .ui-tabs-selected a {
.cron-helper-tabs .ui-tabs-selected a, li[aria-expanded="true"] a {
color: #ff6701;
}

Expand Down
2 changes: 1 addition & 1 deletion web/css/themes/dark.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion web/css/themes/default.min.css

Large diffs are not rendered by default.

0 comments on commit 93c2079

Please sign in to comment.