app/assets/stylesheets/semantic-ui/collections/menu.less in semantic-ui-rails-0.12.0 vs app/assets/stylesheets/semantic-ui/collections/menu.less in semantic-ui-rails-0.12.2
- old
+ new
@@ -104,38 +104,38 @@
Colors
---------------*/
/* Text Color */
.ui.menu .item,
-.ui.menu .item > a {
+.ui.menu .item > a:not(.button) {
color: rgba(0, 0, 0, 0.75);
}
.ui.menu .item .item,
-.ui.menu .item .item > a {
+.ui.menu .item .item > a:not(.button) {
color: rgba(30, 30, 30, 0.7);
}
.ui.menu .item .item .item,
-.ui.menu .item .item .item > a {
+.ui.menu .item .item .item > a:not(.button) {
color: rgba(30, 30, 30, 0.6);
}
.ui.menu .dropdown.item .menu .item,
-.ui.menu .dropdown.item .menu .item a {
+.ui.menu .dropdown.item .menu .item a:not(.button) {
color: rgba(0, 0, 0, 0.75);
}
/* Hover */
.ui.menu .item .menu a.item:hover,
.ui.menu .item .menu a.item.hover,
.ui.menu .item .menu .link.item:hover,
.ui.menu .item .menu .link.item.hover {
color: rgba(0, 0, 0, 0.85);
}
-.ui.menu .dropdown.item .menu .item a:hover {
+.ui.menu .dropdown.item .menu .item a:not(.button):hover {
color: rgba(0, 0, 0, 0.85);
}
/* Active */
.ui.menu .active.item,
-.ui.menu .active.item a {
+.ui.menu .active.item a:not(.button) {
color: rgba(0, 0, 0, 0.85);
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
border-radius: 0px;
@@ -229,24 +229,24 @@
margin: -0.55em 0;
padding-bottom: 0.55em;
padding-top: 0.55em;
font-size: 0.875em;
- box-shadow: none;
}
/*--------------
Inputs
---------------*/
.ui.menu:not(.vertical) .item > .input {
- margin-top: -0.83em;
- margin-bottom: -0.83em;
+ margin-top: -0.85em;
+ margin-bottom: -0.85em;
padding-top: 0.3em;
padding-bottom: 0.3em;
width: 100%;
+ vertical-align: top;
}
.ui.menu .item > .input input {
padding-top: 0.5em;
padding-bottom: 0.5em;
}
@@ -257,10 +257,37 @@
}
.ui.vertical.menu .ui.input > .icon {
padding-top: 0.63em;
}
+/* Action Input */
+.ui.menu:not(.vertical) .item > .button.labeled > .icon {
+ padding-top: 0.6em;
+}
+.ui.menu:not(.vertical) .item .action.input > .button {
+ font-size: 0.8em;
+ padding: 0.55em 0.8em;
+}
+
+/* Resizes */
+.ui.small.menu:not(.vertical) .item > .input input {
+ padding-top: 0.4em;
+ padding-bottom: 0.4em;
+}
+.ui.large.menu:not(.vertical) .item > .input input {
+ top: -0.125em;
+ padding-bottom: 0.6em;
+ padding-top: 0.6em;
+}
+.ui.large.menu:not(.vertical) .item .action.input > .button {
+ font-size: 0.8em;
+ padding: 0.9em;
+}
+.ui.large.menu:not(.vertical) .item .action.input > .button > .icon {
+ padding-top: 0.8em;
+}
+
/*--------------
Header
---------------*/
.ui.menu .header.item {
@@ -520,11 +547,11 @@
background-image: -ms-linear-gradient(left,
rgba(0, 0, 0, 0.03) 0%,
rgba(0, 0, 0, 0.1) 1.5em,
rgba(0, 0, 0, 0.03) 100%)
;
- background-image: linear-gradient(left,
+ background-image: linear-gradient(to right,
rgba(0, 0, 0, 0.03) 0%,
rgba(0, 0, 0, 0.1) 1.5em,
rgba(0, 0, 0, 0.03) 100%)
;
}
@@ -1355,11 +1382,11 @@
background-image: -ms-linear-gradient(left,
rgba(255, 255, 255, 0.03) 0%,
rgba(255, 255, 255, 0.1) 50%,
rgba(255, 255, 255, 0.03) 100%)
;
- background-image: linear-gradient(left,
+ background-image: linear-gradient(to right,
rgba(255, 255, 255, 0.03) 0%,
rgba(255, 255, 255, 0.1) 50%,
rgba(255, 255, 255, 0.03) 100%)
;
}
@@ -1774,14 +1801,10 @@
---------------*/
.ui.small.menu .item {
font-size: 0.875rem;
}
-.ui.small.menu:not(.vertical) .item > .input input {
- padding-top: 0.4em;
- padding-bottom: 0.4em;
-}
.ui.small.vertical.menu {
width: 13rem;
}
.ui.menu .item {
@@ -1796,16 +1819,11 @@
font-size: 1.125rem;
}
.ui.large.menu .item .item {
font-size: 0.875rem;
}
-.ui.large.menu:not(.vertical) .item > .input input {
- top: -0.125em;
- padding-bottom: 0.6em;
- padding-top: 0.6em;
-}
.ui.large.menu .dropdown.item .item {
font-size: 1rem;
}
.ui.large.vertical.menu {
width: 18rem;
-}
\ No newline at end of file
+}