Browse Source

Fixes #1054, issue with inheritance of link styles in menus

pull/1129/head
jlukic 10 years ago
parent
commit
09eba6ca06
3 changed files with 9 additions and 5 deletions
  1. 7
      server/files/stylesheets/semantic.css
  2. 6
      src/definitions/collections/menu.less
  3. 1
      src/definitions/modules/sidebar.less

7
server/files/stylesheets/semantic.css

@ -1580,9 +1580,14 @@ body.progress .ui.progress .bar {
#example.button :not(.buttons) .ui.button { #example.button :not(.buttons) .ui.button {
margin-bottom: 0.5em; margin-bottom: 0.5em;
} }
#example .masthead:before {
-webkit-animation-name: none;
-moz-animation-name: none;
-o-animation-name: none;
animation-name: none;
}
} }
@media only screen and (max-width : 998px) { @media only screen and (max-width : 998px) {
#example.index .main.menu .container { #example.index .main.menu .container {

6
src/definitions/collections/menu.less

@ -139,7 +139,7 @@
---------------*/ ---------------*/
.ui.menu .text.item > *, .ui.menu .text.item > *,
.ui.menu .item > a,
.ui.menu .item > a:not(.ui),
.ui.menu .item > p:only-child { .ui.menu .item > p:only-child {
user-select: text; user-select: text;
line-height: @textLineHeight; line-height: @textLineHeight;
@ -1175,7 +1175,7 @@
} }
.ui.inverted.menu .item, .ui.inverted.menu .item,
.ui.inverted.menu .item > a {
.ui.inverted.menu .item > a:not(.ui) {
color: @invertedTextColor; color: @invertedTextColor;
} }
@ -1184,7 +1184,7 @@
} }
.ui.inverted.menu .item .item, .ui.inverted.menu .item .item,
.ui.inverted.menu .item .item > a {
.ui.inverted.menu .item .item > a:not(.ui) {
color: @invertedSubMenuColor; color: @invertedSubMenuColor;
} }
.ui.inverted.menu .dropdown .menu .item { .ui.inverted.menu .dropdown .menu .item {

1
src/definitions/modules/sidebar.less

@ -38,7 +38,6 @@
margin: 0 !important; margin: 0 !important;
will-change: transform; will-change: transform;
overflow-y: auto !important; overflow-y: auto !important;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
} }

Loading…
Cancel
Save