myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hno...@apache.org
Subject svn commit: r1795336 - /myfaces/tobago/trunk/tobago-core/src/main/resources/scss/_tobago.scss
Date Tue, 16 May 2017 16:22:21 GMT
Author: hnoeth
Date: Tue May 16 16:22:21 2017
New Revision: 1795336

URL: http://svn.apache.org/viewvc?rev=1795336&view=rev
Log:
TOBAGO-1719 Update Bootstrap to 4.0.0 alpha 6 (from alpha 5)
* simplify CSS handling with .tobago-links (.tobago-links:not(.dropdown-item) removed)

Modified:
    myfaces/tobago/trunk/tobago-core/src/main/resources/scss/_tobago.scss

Modified: myfaces/tobago/trunk/tobago-core/src/main/resources/scss/_tobago.scss
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/resources/scss/_tobago.scss?rev=1795336&r1=1795335&r2=1795336&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/resources/scss/_tobago.scss (original)
+++ myfaces/tobago/trunk/tobago-core/src/main/resources/scss/_tobago.scss Tue May 16 16:22:21
2017
@@ -348,7 +348,7 @@ table.tobago-gridLayout > tbody {
 }
 
 button {
-  &.tobago-link:not(.dropdown-item), &.tobago-treeCommand {
+  &.tobago-link, &.tobago-treeCommand {
     color: $blue;
     border-width: 0;
     padding: 0;
@@ -365,8 +365,15 @@ button {
   }
 
   &.tobago-link.dropdown-item {
+    padding: 3px $dropdown-item-padding-x;
+    color: $dropdown-link-color;
+    text-align: inherit;
+    white-space: nowrap;
+
     &:focus, &:hover {
       cursor: pointer;
+      text-decoration: none;
+      background-color: $dropdown-link-hover-bg;
     }
   }
 
@@ -430,14 +437,6 @@ a.tobago-messages-button {
 
 /* nav ----------------------------------------------------------- */
 
-/*
-.nav-item > span > .tobago-link, .nav-item > span > .tobago-command {
-  padding-top: .425rem;
-  padding-bottom: .425rem;
-  display: inline-block;
-}
-*/
-
 /* styles for drop down menu first level */
 .dropdown-toggle {
   &:focus, &:hover {
@@ -485,7 +484,7 @@ a.tobago-messages-button {
     display: none;
   }
 
-  > button.tobago-link:not(.dropdown-item) {
+  > button.tobago-link {
     border-width: 0;
     color: $dropdown-link-color;
     padding: 0;
@@ -649,7 +648,7 @@ h1, h2, h3, h4, h5, h6 {
     vertical-align: text-bottom;
   }
 
-  .form-check-label:not(.dropdown-item) {
+  .form-check-label {
     margin-top: 0.5ex;
     vertical-align: text-top;
   }



Mime
View raw message