You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2020/12/02 10:31:19 UTC

[myfaces-tobago] branch master updated: refactor theme: tobago-footer

This is an automated email from the ASF dual-hosted git repository.

bommel pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/master by this push:
     new abe7e11  refactor theme: tobago-footer
abe7e11 is described below

commit abe7e11ce05950f0d24be2ddf12c48fe00726898
Author: Henning Nöth <hn...@apache.org>
AuthorDate: Wed Dec 2 09:46:54 2020 +0100

    refactor theme: tobago-footer
    
    * merge duplicated tobago-footer blocks
    * use variables instead of exact pixel values
    * shadow is now black
    * CSS for fixed-bottom is not needed
---
 tobago-core/npm/scss/_tobago.scss | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/tobago-core/npm/scss/_tobago.scss b/tobago-core/npm/scss/_tobago.scss
index 9a8fc9a..c745865 100644
--- a/tobago-core/npm/scss/_tobago.scss
+++ b/tobago-core/npm/scss/_tobago.scss
@@ -392,16 +392,9 @@ tobago-focus {
 
 tobago-footer {
   display: block;
-}
-
-tobago-footer {
-  background-color: #ffffff;
-  padding: 5px 10px;
-  box-shadow: 0 0 5px 5px rgba(200, 200, 200, 0.5);
-}
-
-.fixed-bottom {
-  margin-top: 10px;
+  background-color: $white;
+  padding: $navbar-padding-y ($container-padding-x / 2);
+  box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.1);
 }
 
 /* form -------------------------------------------------------------- */