Browse Source

Adds menu coupling for ui message

pull/2169/head
jlukic 9 years ago
parent
commit
afff903c1d
2 changed files with 11 additions and 3 deletions
  1. 13
      src/definitions/collections/message.less
  2. 1
      src/themes/default/collections/message.variables

13
src/definitions/collections/message.less

@ -119,9 +119,7 @@
top: @closeTopDistance; top: @closeTopDistance;
right: @closeRightDistance; right: @closeRightDistance;
opacity: @closeOpacity; opacity: @closeOpacity;
transition:
opacity 0.1s linear
;
transition: @closeTransition;
} }
.ui.message > .close.icon:hover { .ui.message > .close.icon:hover {
opacity: 1; opacity: 1;
@ -135,6 +133,13 @@
margin-bottom: 0em; margin-bottom: 0em;
} }
/*******************************
Coupling
*******************************/
.ui.dropdown .menu > .message {
margin: 0px -@borderWidth;
}
/******************************* /*******************************
States States
@ -160,6 +165,7 @@
display: none; display: none;
} }
/******************************* /*******************************
Variations Variations
*******************************/ *******************************/
@ -232,6 +238,7 @@
.ui.icon.message .circular.icon { .ui.icon.message .circular.icon {
width: 1em; width: 1em;
} }
/*-------------- /*--------------
Floating Floating
---------------*/ ---------------*/

1
src/themes/default/collections/message.variables

@ -56,6 +56,7 @@
@closeTopDistance: (1em + @lineHeightOffset); @closeTopDistance: (1em + @lineHeightOffset);
@closeRightDistance: 0.5em; @closeRightDistance: 0.5em;
@closeOpacity: 0.7; @closeOpacity: 0.7;
@closeTransition: opacity @defaultDuration @defaultEasing;
/*------------------- /*-------------------

Loading…
Cancel
Save