N°4284 Update jquery UI SCSS to remove SCSSPHP warnings

Replace "Alpha(..." with "alpha(..."

Example of warning at compilation with SCSSPHP :

DEPRECATION WARNING: Calling built-in functions with a non-standard name is deprecated since Scssphp 1.8.0 and will not work anymore in 2.0 (they will be treated as CSS function calls instead).
Use "alpha" instead of "Alpha".
         on line 55 of /var/www/html/iTop/css/../css/ui-lightness/jqueryui.scss
This commit is contained in:
Pierre Goiffon
2022-04-29 15:34:54 +02:00
parent 6f0e1a7f47
commit a023f73509

View File

@@ -4,6 +4,8 @@
* To view and modify this theme, visit http://jqueryui.com/themeroller/?scope=&folderName=custom-theme&bgImgOpacityError=18&bgImgOpacityHighlight=75&bgImgOpacityActive=65&bgImgOpacityHover=100&bgImgOpacityDefault=100&bgImgOpacityContent=100&bgImgOpacityHeader=35&cornerRadiusShadow=5px&offsetLeftShadow=-5px&offsetTopShadow=-5px&thicknessShadow=5px&opacityShadow=20&bgImgOpacityShadow=10&bgTextureShadow=flat&bgColorShadow=%23000000&opacityOverlay=50&bgImgOpacityOverlay=20&bgTextureOverlay=diagonals_thick&bgColorOverlay=%23666666&iconColorError=%23ffd27a&fcError=%23ffffff&borderColorError=%23cd0a0a&bgTextureError=diagonals_thick&bgColorError=%23b81900&iconColorHighlight=%231c94c4&fcHighlight=%23363636&borderColorHighlight=%23fed22f&bgTextureHighlight=flat&bgColorHighlight=%23ffe45c&iconColorActive=%23E87C1E&fcActive=%23E87C1E&borderColorActive=%23E87C1E&bgTextureActive=flat&bgColorActive=%23ffffff&iconColorHover=%23E87C1E&fcHover=%23E87C1E&borderColorHover=%23E87C1E&bgTextureHover=flat&bgColorHover=%23fde17c&iconColorDefault=%23F26522&fcDefault=%23555555&borderColorDefault=%23cccccc&bgTextureDefault=flat&bgColorDefault=%23f1f1f1&iconColorContent=%23222222&fcContent=%23333333&borderColorContent=%23dddddd&bgTextureContent=flat&bgColorContent=%23eeeeee&iconColorHeader=%23ffffff&fcHeader=%23ffffff&borderColorHeader=%23F26522&bgTextureHeader=flat&bgColorHeader=%23E87C1E&cornerRadius=0&fwDefault=bold&fsDefault=1.1em&ffDefault=Trebuchet%20MS%2CTahoma%2CVerdana%2CArial%2Csans-serif * To view and modify this theme, visit http://jqueryui.com/themeroller/?scope=&folderName=custom-theme&bgImgOpacityError=18&bgImgOpacityHighlight=75&bgImgOpacityActive=65&bgImgOpacityHover=100&bgImgOpacityDefault=100&bgImgOpacityContent=100&bgImgOpacityHeader=35&cornerRadiusShadow=5px&offsetLeftShadow=-5px&offsetTopShadow=-5px&thicknessShadow=5px&opacityShadow=20&bgImgOpacityShadow=10&bgTextureShadow=flat&bgColorShadow=%23000000&opacityOverlay=50&bgImgOpacityOverlay=20&bgTextureOverlay=diagonals_thick&bgColorOverlay=%23666666&iconColorError=%23ffd27a&fcError=%23ffffff&borderColorError=%23cd0a0a&bgTextureError=diagonals_thick&bgColorError=%23b81900&iconColorHighlight=%231c94c4&fcHighlight=%23363636&borderColorHighlight=%23fed22f&bgTextureHighlight=flat&bgColorHighlight=%23ffe45c&iconColorActive=%23E87C1E&fcActive=%23E87C1E&borderColorActive=%23E87C1E&bgTextureActive=flat&bgColorActive=%23ffffff&iconColorHover=%23E87C1E&fcHover=%23E87C1E&borderColorHover=%23E87C1E&bgTextureHover=flat&bgColorHover=%23fde17c&iconColorDefault=%23F26522&fcDefault=%23555555&borderColorDefault=%23cccccc&bgTextureDefault=flat&bgColorDefault=%23f1f1f1&iconColorContent=%23222222&fcContent=%23333333&borderColorContent=%23dddddd&bgTextureContent=flat&bgColorContent=%23eeeeee&iconColorHeader=%23ffffff&fcHeader=%23ffffff&borderColorHeader=%23F26522&bgTextureHeader=flat&bgColorHeader=%23E87C1E&cornerRadius=0&fwDefault=bold&fsDefault=1.1em&ffDefault=Trebuchet%20MS%2CTahoma%2CVerdana%2CArial%2Csans-serif
* Copyright jQuery Foundation and other contributors; Licensed MIT * Copyright jQuery Foundation and other contributors; Licensed MIT
* The original css file has been scssized (through www.css2scss.com) * The original css file has been scssized (through www.css2scss.com)
*
* Other modification done : replaced the `Alpha(` by `alpha(` to avoid warnings generated by SCSSPHP
*/ */
.ui-draggable-handle { .ui-draggable-handle {
-ms-touch-action: none; -ms-touch-action: none;
@@ -46,26 +48,27 @@
} }
} }
.ui-helper-zfix { .ui-helper-zfix {
width: 100%; width: 100%;
height: 100%; height: 100%;
top: 0; top: 0;
left: 0; left: 0;
position: absolute; position: absolute;
opacity: 0; opacity: 0;
filter: Alpha(Opacity=0); filter: alpha(Opacity=0);
} }
.ui-front { .ui-front {
z-index: 100; z-index: 100;
} }
.ui-state-disabled { .ui-state-disabled {
cursor: default !important; cursor: default !important;
pointer-events: none; pointer-events: none;
opacity: .35; opacity: .35;
filter: Alpha(Opacity=35); filter: alpha(Opacity=35);
background-image: none; background-image: none;
.ui-icon {
filter: Alpha(Opacity=35); .ui-icon {
} filter: alpha(Opacity=35);
}
} }
.ui-icon { .ui-icon {
display: inline-block; display: inline-block;
@@ -86,14 +89,14 @@
display: block; display: block;
} }
.ui-widget-overlay { .ui-widget-overlay {
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
background: #666666 url($approot-relative + "css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png?v=" + $version) 50% 50% repeat; background: #666666 url($approot-relative + "css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png?v=" + $version) 50% 50% repeat;
opacity: .5; opacity: .5;
filter: Alpha(Opacity=50); filter: alpha(Opacity=50);
} }
.ui-resizable { .ui-resizable {
position: relative; position: relative;
@@ -1069,14 +1072,14 @@ body {
font-weight: bold; font-weight: bold;
} }
.ui-priority-secondary { .ui-priority-secondary {
opacity: .7; opacity: .7;
filter: Alpha(Opacity=70); filter: alpha(Opacity=70);
font-weight: normal; font-weight: normal;
} }
.ui-state-disabled { .ui-state-disabled {
opacity: .35; opacity: .35;
filter: Alpha(Opacity=35); filter: alpha(Opacity=35);
background-image: none; background-image: none;
} }
.ui-icon { .ui-icon {
background-image: url($approot-relative + "css/ui-lightness/images/ui-icons_222222_256x240.png?v=" + $version); background-image: url($approot-relative + "css/ui-lightness/images/ui-icons_222222_256x240.png?v=" + $version);
@@ -1137,14 +1140,14 @@ body {
font-weight: bold; font-weight: bold;
} }
.ui-priority-secondary { .ui-priority-secondary {
opacity: .7; opacity: .7;
filter: Alpha(Opacity=70); filter: alpha(Opacity=70);
font-weight: normal; font-weight: normal;
} }
.ui-state-disabled { .ui-state-disabled {
opacity: .35; opacity: .35;
filter: Alpha(Opacity=35); filter: alpha(Opacity=35);
background-image: none; background-image: none;
} }
.ui-icon { .ui-icon {
background-image: url($approot-relative + "css/ui-lightness/images/ui-icons_ffffff_256x240.png?v=" + $version); background-image: url($approot-relative + "css/ui-lightness/images/ui-icons_ffffff_256x240.png?v=" + $version);
@@ -1341,9 +1344,9 @@ a {
font-weight: bold; font-weight: bold;
} }
.ui-priority-secondary { .ui-priority-secondary {
opacity: .7; opacity: .7;
filter: Alpha(Opacity=70); filter: alpha(Opacity=70);
font-weight: normal; font-weight: normal;
} }
.ui-icon-blank { .ui-icon-blank {
background-position: 16px 16px; background-position: 16px 16px;