Эх сурвалжийг харах

HUE-6077 [frontend] Add drop shadow to login form

Enrico Berti 8 жил өмнө
parent
commit
463026b

+ 1 - 1
desktop/core/src/desktop/static/desktop/css/login4.css

@@ -14,4 +14,4 @@ distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
- */.login-container .logo{width:140px;height:70px;text-align:center}.svg-hue-logo-main{fill:#338BB8}.svg-hue-logo-trunk{fill:#A585B9}
+ */.login-container{-webkit-box-shadow:0 2px 8px rgba(0,0,0,0.18);-moz-box-shadow:0 2px 8px rgba(0,0,0,0.18);box-shadow:0 2px 6px 0 rgba(0,0,0,0.18),0 2px 8px 0 rgba(0,0,0,0.13)}.login-container .logo{width:140px;height:70px;text-align:center}.svg-hue-logo-main{fill:#338BB8}.svg-hue-logo-trunk{fill:#A585B9}

+ 1 - 0
desktop/core/src/desktop/static/desktop/less/login4.less

@@ -23,6 +23,7 @@
     height: 70px;
     text-align: center;
   }
+  .hue-box-shadow-bottom;
 }
 
 .svg-hue-logo-main {

+ 1 - 3
desktop/core/src/desktop/templates/login.mako

@@ -33,9 +33,7 @@ ${ commonheader(_("Welcome to Hue"), "login", user, request, "50px", True, True)
 
 <style type="text/css">
   body {
-    %if not is_hue4():
-    background-color: #FAFAFA;
-    %endif
+    background-color: #F8F8F8;
     padding-top: 150px;
   }