Skip to content

Commit 93c2079

Browse files
Upgrade jQuery / jQuery-UI to the last version (hestiacp#2011)
* 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>
1 parent 3fa7685 commit 93c2079

23 files changed

+193
-727
lines changed

web/css/dependencies/jquery-custom-dialogs.css

Lines changed: 0 additions & 550 deletions
This file was deleted.

web/css/dependencies/jquery-ui.custom.min.css

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
/*!
2+
* JQuery UI Custom + few changes
3+
*/
4+
.ui-dialog {
5+
position: absolute;
6+
top: 0;
7+
left: 0;
8+
padding: .2em;
9+
outline: 0;
10+
}
11+
.ui-dialog .ui-dialog-titlebar {
12+
padding: .4em 1em;
13+
position: relative;
14+
}
15+
.ui-dialog .ui-dialog-title {
16+
float: left;
17+
margin: .1em 0;
18+
white-space: nowrap;
19+
width: 90%;
20+
overflow: hidden;
21+
text-overflow: ellipsis;
22+
}
23+
.ui-dialog .ui-dialog-titlebar-close {
24+
position: absolute;
25+
right: .3em;
26+
top: 50%;
27+
width: 20px;
28+
margin: -10px 0 0 0;
29+
padding: 1px;
30+
height: 20px;
31+
}
32+
.ui-dialog .ui-dialog-content {
33+
position: relative;
34+
border: 0;
35+
padding: .5em 1em;
36+
background: none;
37+
overflow: auto;
38+
}
39+
.ui-dialog .ui-dialog-buttonpane {
40+
text-align: left;
41+
border-width: 1px 0 0 0;
42+
background-image: none;
43+
margin-top: .5em;
44+
padding: .3em 1em .5em .4em;
45+
}
46+
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
47+
float: right;
48+
}
49+
.ui-dialog .ui-dialog-buttonpane button {
50+
margin: .5em .4em .5em 0;
51+
cursor: pointer;
52+
}
53+
.ui-dialog .ui-resizable-n {
54+
height: 2px;
55+
top: 0;
56+
}
57+
.ui-dialog .ui-resizable-e {
58+
width: 2px;
59+
right: 0;
60+
}
61+
.ui-dialog .ui-resizable-s {
62+
height: 2px;
63+
bottom: 0;
64+
}
65+
.ui-dialog .ui-resizable-w {
66+
width: 2px;
67+
left: 0;
68+
}
69+
.ui-dialog .ui-resizable-se,
70+
.ui-dialog .ui-resizable-sw,
71+
.ui-dialog .ui-resizable-ne,
72+
.ui-dialog .ui-resizable-nw {
73+
width: 7px;
74+
height: 7px;
75+
}
76+
.ui-dialog .ui-resizable-se {
77+
right: 0;
78+
bottom: 0;
79+
}
80+
.ui-dialog .ui-resizable-sw {
81+
left: 0;
82+
bottom: 0;
83+
}
84+
.ui-dialog .ui-resizable-ne {
85+
right: 0;
86+
top: 0;
87+
}
88+
.ui-dialog .ui-resizable-nw {
89+
left: 0;
90+
top: 0;
91+
}
92+
.ui-tabs {
93+
position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
94+
padding: .2em;
95+
}
96+
.ui-tabs .ui-tabs-nav {
97+
margin: 0;
98+
padding: .2em .2em 0;
99+
}
100+
.ui-tabs .ui-tabs-nav li {
101+
list-style: none;
102+
float: left;
103+
position: relative;
104+
top: 0;
105+
margin: 1px .2em 0 0;
106+
border-bottom-width: 0;
107+
padding: 0;
108+
white-space: nowrap;
109+
}
110+
.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
111+
float: left;
112+
padding: .5em 1em;
113+
text-decoration: none;
114+
}
115+
.ui-tabs .ui-tabs-nav li.ui-tabs-active {
116+
margin-bottom: -1px;
117+
padding-bottom: 1px;
118+
}
119+
.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,
120+
.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,
121+
.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
122+
cursor: text;
123+
}
124+
.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
125+
cursor: pointer;
126+
}
127+
.ui-tabs .ui-tabs-panel {
128+
display: block;
129+
border-width: 0;
130+
padding: 1em 1.4em;
131+
background: none;
132+
}
133+
.ui-dialog-titlebar-close{
134+
display: none !important;
135+
}
136+
137+
.ui-tabs-panel{
138+
clear:both !important;
139+
}

web/css/src/themes/dark.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1472,7 +1472,7 @@ form#vstobjects.suspended {
14721472
.cron-helper-tabs a:active {
14731473
color: #3b9de8 !important;
14741474
}
1475-
.cron-helper-tabs .ui-tabs-selected a {
1475+
.cron-helper-tabs .ui-tabs-selected a, li[aria-expanded="true"] a {
14761476
color: #ff3478 !important;
14771477
}
14781478

web/css/src/themes/default.css

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
font-style: normal;
99
font-weight: 300;
1010
src: local('Exo Light'), local('Exo-Light'),
11-
url('../../webfonts/exo-v8-latin-ext_latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
12-
url('../../webfonts/exo-v8-latin-ext_latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
11+
url('/webfonts/exo-v8-latin-ext_latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
12+
url('/webfonts/exo-v8-latin-ext_latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
1313
font-display: swap;
1414
}
1515

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

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

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

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

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

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

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

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

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

@@ -121,8 +121,8 @@
121121
@font-face {
122122
font-family: 'Inconsolata';
123123
src: local('Inconsolata Bold'), local('Inconsolata-Bold'),
124-
url('../../webfonts/Inconsolata-Bold.woff2') format('woff2'),
125-
url('../../webfonts/Inconsolata-Bold.woff') format('woff');
124+
url('/webfonts/Inconsolata-Bold.woff2') format('woff2'),
125+
url('/webfonts/Inconsolata-Bold.woff') format('woff');
126126
font-weight: bold;
127127
font-style: normal;
128128
font-display: swap;
@@ -132,8 +132,8 @@
132132
@font-face {
133133
font-family: 'Inconsolata';
134134
src: local('Inconsolata Regular'), local('Inconsolata-Regular'),
135-
url('../../webfonts/Inconsolata-Regular.woff2') format('woff2'),
136-
url('../../webfonts/Inconsolata-Regular.woff') format('woff');
135+
url('/webfonts/Inconsolata-Regular.woff2') format('woff2'),
136+
url('/webfonts/Inconsolata-Regular.woff') format('woff');
137137
font-weight: normal;
138138
font-style: normal;
139139
font-display: swap;
@@ -843,7 +843,7 @@ a {
843843
padding: 4rem;
844844
}
845845

846-
.notification-container .empty . {
846+
.notification-container .empty {
847847
color: #54a6e5;
848848
}
849849

@@ -4057,7 +4057,7 @@ form#vstobjects.suspended {
40574057
color: #3b9de8;
40584058
}
40594059

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

web/css/src/themes/vestia.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ a.vst-advanced:active, a.vst-advanced:focus {
672672
box-shadow: none !important;
673673
}
674674

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

web/css/themes/dark.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/css/themes/default.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)