myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hno...@apache.org
Subject [myfaces-tobago] branch master updated: TOBAGO-1759 Update Bootstrap to 4.0.0 beta 1 (from alpha 6) * fix message layout: has-{danger|warning|info} CSS classes doesn't exist anymore in Bootstrap. Now: tobago-has-info is removed * added shadows for focused fields with {fatal|error|warning|info}-markups (new border-color message layout)
Date Thu, 12 Oct 2017 11:42:04 GMT
This is an automated email from the ASF dual-hosted git repository.

hnoeth 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 afcf9b7  TOBAGO-1759 Update Bootstrap to 4.0.0 beta 1 (from alpha 6) * fix message
layout: has-{danger|warning|info} CSS classes doesn't exist anymore in Bootstrap. Now: tobago-has-info
is removed * added shadows for focused fields with {fatal|error|warning|info}-markups (new
border-color message layout)
afcf9b7 is described below

commit afcf9b7ce0b6d987ba812bedfd2d418d571d343b
Author: Henning Noeth <hnoeth@apache.org>
AuthorDate: Thu Oct 12 13:41:17 2017 +0200

    TOBAGO-1759 Update Bootstrap to 4.0.0 beta 1 (from alpha 6)
    * fix message layout: has-{danger|warning|info} CSS classes doesn't exist anymore in Bootstrap.
Now: tobago-has-info is removed
    * added shadows for focused fields with {fatal|error|warning|info}-markups (new border-color
message layout)
---
 tobago-core/src/main/resources/scss/_tobago.scss | 49 ++++++++++++------------
 1 file changed, 24 insertions(+), 25 deletions(-)

diff --git a/tobago-core/src/main/resources/scss/_tobago.scss b/tobago-core/src/main/resources/scss/_tobago.scss
index cda47cb..91014c9 100644
--- a/tobago-core/src/main/resources/scss/_tobago.scss
+++ b/tobago-core/src/main/resources/scss/_tobago.scss
@@ -19,7 +19,6 @@
 XXX used variables: only for the IDE, will not really used by the build system, because this
 XXX code will be inserted after the _variables.scss
 */
-$brand-info: #00f !default;
 $zindex-dropdown: 1000 !default;
 $zindex-popover: 1060 !default;
 $spacer: 1rem !default;
@@ -1152,6 +1151,30 @@ th.tobago-sheet-headerCell-markup-filler > .tobago-sheet-header
{
 .tobago-textarea {
 }
 
+/* facesMessages messageLayout focus shadows ------------------------ */
+.tobago-date,
+.tobago-in,
+.tobago-selectManyListbox,
+.tobago-selectOneChoice,
+.tobago-selectOneListbox,
+.tobago-textarea {
+  &-markup-fatal, &-markup-error {
+    &.border-danger:focus {
+      box-shadow: 0 0 0 .2rem rgba(theme-color("danger"), .25);
+    }
+  }
+  &-markup-warn {
+    &.border-warning:focus {
+      box-shadow: 0 0 0 .2rem rgba(theme-color("warning"), .25);
+    }
+  }
+  &-markup-info {
+    &.border-info:focus {
+      box-shadow: 0 0 0 .2rem rgba(theme-color("info"), .25);
+    }
+  }
+}
+
 /* menuStore -------------------------------------------------------- */
 
 .tobago-page-menuStore {
@@ -1199,30 +1222,6 @@ fixme: there is a problem with the selectManyShuttle with this style.
   display: none;
 }
 
-.tobago-has-info {
-  .form-control-feedback, .form-control-label, .form-check-label, .form-check-inline, .custom-control
{
-    color: $brand-info;
-  }
-
-  .form-control {
-    border-color: $brand-info;
-  }
-
-  .input-group-addon {
-    color: $brand-info;
-    background-color: #eaf6ea;
-    border-color: $brand-info;
-  }
-
-  .form-control-feedback {
-    color: $brand-info;
-  }
-
-  .form-control-success {
-    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2MTIgNzkyIj48cGF0aCBmaWxsPSIjNWNiODVjIiBkPSJNMjMzLjggNjEwYy0xMy4zIDAtMjYtNi0zNC0xNi44TDkwLjUgNDQ4LjhDNzYuMyA0MzAgODAgNDAzLjMgOTguOCAzODljMTguOC0xNC4yIDQ1LjUtMTAuNCA1OS44IDguNGw3MiA5NUw0NTEuMyAyNDJjMTIuNS0yMCAzOC44LTI2LjIgNTguOC0xMy43IDIwIDEyLjQgMjYgMzguNyAxMy43IDU4LjhMMjcwIDU5MGMtNy40IDEyLTIwLjIgMTkuNC0zNC4zIDIwaC0yeiIvPjwvc3ZnPg==");
-  }
-}
-
 .tobago-required .tobago-label:after {
   content: "*";
   color: red;

-- 
To stop receiving notification emails like this one, please contact
['"commits@myfaces.apache.org" <commits@myfaces.apache.org>'].

Mime
View raw message