From a023f73509bb0090f366e46a01e8fa4e8ccac4aa Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Fri, 29 Apr 2022 15:34:54 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B04284=20Update=20jquery=20UI=20SCSS=20to?= =?UTF-8?q?=20remove=20SCSSPHP=20warnings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- css/ui-lightness/jqueryui.scss | 79 ++++++++++++++++++---------------- 1 file changed, 41 insertions(+), 38 deletions(-) diff --git a/css/ui-lightness/jqueryui.scss b/css/ui-lightness/jqueryui.scss index 37ebb2ec5..00208f723 100644 --- a/css/ui-lightness/jqueryui.scss +++ b/css/ui-lightness/jqueryui.scss @@ -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 * Copyright jQuery Foundation and other contributors; Licensed MIT * 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 { -ms-touch-action: none; @@ -46,26 +48,27 @@ } } .ui-helper-zfix { - width: 100%; - height: 100%; - top: 0; - left: 0; - position: absolute; - opacity: 0; - filter: Alpha(Opacity=0); + width: 100%; + height: 100%; + top: 0; + left: 0; + position: absolute; + opacity: 0; + filter: alpha(Opacity=0); } .ui-front { z-index: 100; } .ui-state-disabled { - cursor: default !important; - pointer-events: none; - opacity: .35; - filter: Alpha(Opacity=35); - background-image: none; - .ui-icon { - filter: Alpha(Opacity=35); - } + cursor: default !important; + pointer-events: none; + opacity: .35; + filter: alpha(Opacity=35); + background-image: none; + + .ui-icon { + filter: alpha(Opacity=35); + } } .ui-icon { display: inline-block; @@ -86,14 +89,14 @@ display: block; } .ui-widget-overlay { - position: fixed; - top: 0; - left: 0; - width: 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; - opacity: .5; - filter: Alpha(Opacity=50); + position: fixed; + top: 0; + left: 0; + width: 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; + opacity: .5; + filter: alpha(Opacity=50); } .ui-resizable { position: relative; @@ -1069,14 +1072,14 @@ body { font-weight: bold; } .ui-priority-secondary { - opacity: .7; - filter: Alpha(Opacity=70); - font-weight: normal; + opacity: .7; + filter: alpha(Opacity=70); + font-weight: normal; } .ui-state-disabled { - opacity: .35; - filter: Alpha(Opacity=35); - background-image: none; + opacity: .35; + filter: alpha(Opacity=35); + background-image: none; } .ui-icon { background-image: url($approot-relative + "css/ui-lightness/images/ui-icons_222222_256x240.png?v=" + $version); @@ -1137,14 +1140,14 @@ body { font-weight: bold; } .ui-priority-secondary { - opacity: .7; - filter: Alpha(Opacity=70); - font-weight: normal; + opacity: .7; + filter: alpha(Opacity=70); + font-weight: normal; } .ui-state-disabled { - opacity: .35; - filter: Alpha(Opacity=35); - background-image: none; + opacity: .35; + filter: alpha(Opacity=35); + background-image: none; } .ui-icon { background-image: url($approot-relative + "css/ui-lightness/images/ui-icons_ffffff_256x240.png?v=" + $version); @@ -1341,9 +1344,9 @@ a { font-weight: bold; } .ui-priority-secondary { - opacity: .7; - filter: Alpha(Opacity=70); - font-weight: normal; + opacity: .7; + filter: alpha(Opacity=70); + font-weight: normal; } .ui-icon-blank { background-position: 16px 16px;