From 8d7700b2b63a8abeb96a6f309610e9e8b4b4792c Mon Sep 17 00:00:00 2001 From: vsn4ik Date: Sat, 16 Aug 2014 19:20:13 +0400 Subject: Use single .dropdown-menu --- less/dropdowns.less | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'less') diff --git a/less/dropdowns.less b/less/dropdowns.less index 3eb7fc05c..b25b6aacd 100644 --- a/less/dropdowns.less +++ b/less/dropdowns.less @@ -103,9 +103,8 @@ &:focus { color: @dropdown-link-disabled-color; } -} -// Nuke hover/focus effects -.dropdown-menu > .disabled > a { + + // Nuke hover/focus effects &:hover, &:focus { text-decoration: none; -- cgit v1.2.3 From 9a39ee90b4fd4d5b9b6f9a6f2c9d5a29ffeafe92 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 23 Aug 2014 13:26:37 -0700 Subject: Fixes #13943 again: lighten links, and text, in navbar. Still not 100% compliant, but it's better. --- less/variables.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'less') diff --git a/less/variables.less b/less/variables.less index 0d354d16a..d6a972ff6 100644 --- a/less/variables.less +++ b/less/variables.less @@ -369,12 +369,12 @@ // Inverted navbar // Reset inverted navbar basics -@navbar-inverse-color: lighten(@gray-light, 12%); +@navbar-inverse-color: lighten(@gray-light, 15%); @navbar-inverse-bg: #222; @navbar-inverse-border: darken(@navbar-inverse-bg, 10%); // Inverted navbar links -@navbar-inverse-link-color: @gray-light; +@navbar-inverse-link-color: lighten(@gray-light, 15%); @navbar-inverse-link-hover-color: #fff; @navbar-inverse-link-hover-bg: transparent; @navbar-inverse-link-active-color: @navbar-inverse-link-hover-color; -- cgit v1.2.3 From 56bb92ac4fbf6d5773e91afd205fb8ec09e3a573 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 23 Aug 2014 13:42:45 -0700 Subject: Fixes #14386: Reset font, text, and line-height properties in popovers --- less/popovers.less | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'less') diff --git a/less/popovers.less b/less/popovers.less index bf6af40a0..3abd0598f 100644 --- a/less/popovers.less +++ b/less/popovers.less @@ -11,7 +11,11 @@ display: none; max-width: @popover-max-width; padding: 1px; - text-align: left; // Reset given new insertion method + // Reset font and text propertes given new insertion method + font-size: @font-size-base; + font-weight: normal; + line-height: @line-height-base; + text-align: left; background-color: @popover-bg; background-clip: padding-box; border: 1px solid @popover-fallback-border-color; @@ -33,8 +37,6 @@ margin: 0; // reset heading margin padding: 8px 14px; font-size: @font-size-base; - font-weight: normal; - line-height: 18px; background-color: @popover-title-bg; border-bottom: 1px solid darken(@popover-title-bg, 5%); border-radius: (@border-radius-large - 1) (@border-radius-large - 1) 0 0; -- cgit v1.2.3 From 4c15fa86421f6ee276b15d971618bcd906ab6a5d Mon Sep 17 00:00:00 2001 From: vsn4ik Date: Tue, 26 Aug 2014 02:04:34 +0400 Subject: Update print.less from source (html5-boilerplate). Simplyfy table style. --- less/print.less | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'less') diff --git a/less/print.less b/less/print.less index 3655d0395..90c58a366 100644 --- a/less/print.less +++ b/less/print.less @@ -1,15 +1,15 @@ // // Basic print styles // -------------------------------------------------- -// Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css +// Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css @media print { * { - text-shadow: none !important; - color: #000 !important; // Black prints faster: h5bp.com/s background: transparent !important; + color: #000 !important; // Black prints faster: h5bp.com/s box-shadow: none !important; + text-shadow: none !important; } a, @@ -25,9 +25,10 @@ content: " (" attr(title) ")"; } - // Don't show links for images, or javascript/internal links - a[href^="javascript:"]:after, - a[href^="#"]:after { + // Don't show links that are fragment identifiers, + // or use the `javascript:` pseudo protocol + a[href^="#"]:after, + a[href^="javascript:"]:after { content: ""; } @@ -72,12 +73,6 @@ .navbar { display: none; } - .table { - td, - th { - background-color: #fff !important; - } - } .btn, .dropup > .btn { > .caret { @@ -90,6 +85,11 @@ .table { border-collapse: collapse !important; + + td, + th { + background-color: #fff !important; + } } .table-bordered { th, -- cgit v1.2.3 From a03d269287f39c22fb7d4f5a5edd94293aa0c1ae Mon Sep 17 00:00:00 2001 From: vsn4ik Date: Tue, 26 Aug 2014 02:24:09 +0400 Subject: Less: Remove empty lines and blanks. --- less/dropdowns.less | 1 - less/list-group.less | 2 +- less/mixins/labels.less | 2 +- less/pager.less | 1 - less/popovers.less | 1 - less/print.less | 2 -- less/variables.less | 2 -- 7 files changed, 2 insertions(+), 9 deletions(-) (limited to 'less') diff --git a/less/dropdowns.less b/less/dropdowns.less index b25b6aacd..742c91265 100644 --- a/less/dropdowns.less +++ b/less/dropdowns.less @@ -211,4 +211,3 @@ } } } - diff --git a/less/list-group.less b/less/list-group.less index 7d857cfd3..1e62d3b94 100644 --- a/less/list-group.less +++ b/less/list-group.less @@ -75,7 +75,7 @@ a.list-group-item { background-color: @list-group-disabled-bg; color: @list-group-disabled-color; cursor: not-allowed; - + // Force color to inherit for custom content .list-group-item-heading { color: inherit; diff --git a/less/mixins/labels.less b/less/mixins/labels.less index 6f9e490b8..9f7a67ee3 100644 --- a/less/mixins/labels.less +++ b/less/mixins/labels.less @@ -2,7 +2,7 @@ .label-variant(@color) { background-color: @color; - + &[href] { &:hover, &:focus { diff --git a/less/pager.less b/less/pager.less index 59103f445..73a660d64 100644 --- a/less/pager.less +++ b/less/pager.less @@ -51,5 +51,4 @@ cursor: not-allowed; } } - } diff --git a/less/popovers.less b/less/popovers.less index 3abd0598f..ab720f2fb 100644 --- a/less/popovers.less +++ b/less/popovers.less @@ -131,5 +131,4 @@ bottom: -@popover-arrow-width; } } - } diff --git a/less/print.less b/less/print.less index 3655d0395..473f361b9 100644 --- a/less/print.less +++ b/less/print.less @@ -4,7 +4,6 @@ // Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css @media print { - * { text-shadow: none !important; color: #000 !important; // Black prints faster: h5bp.com/s @@ -97,5 +96,4 @@ border: 1px solid #ddd !important; } } - } diff --git a/less/variables.less b/less/variables.less index d6a972ff6..5be258be7 100644 --- a/less/variables.less +++ b/less/variables.less @@ -841,5 +841,3 @@ @dl-horizontal-offset: @component-offset-horizontal; //** Horizontal line color. @hr-border: @gray-lighter; - - -- cgit v1.2.3 From 3ce160754cd55540c68156da599c58f779826c3b Mon Sep 17 00:00:00 2001 From: Jaume Alemany Date: Wed, 27 Aug 2014 14:20:49 +0200 Subject: Make `popover-arrow-color` default to `popover-bg` --- less/variables.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less') diff --git a/less/variables.less b/less/variables.less index 5be258be7..48b983456 100644 --- a/less/variables.less +++ b/less/variables.less @@ -528,7 +528,7 @@ //** Popover arrow width @popover-arrow-width: 10px; //** Popover arrow color -@popover-arrow-color: #fff; +@popover-arrow-color: @popover-bg; //** Popover outer arrow width @popover-arrow-outer-width: (@popover-arrow-width + 1); -- cgit v1.2.3