Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 760 | blopes | 1 | body { |
| 2 | .ui-messages { |
||
| 3 | padding: 0; |
||
| 4 | margin: 0; |
||
| 5 | font-weight: $messagesFontWeight; |
||
| 6 | position: relative; |
||
| 7 | border-radius: $borderRadius; |
||
| 8 | |||
| 9 | > div { |
||
| 10 | padding: $messagesPadding; |
||
| 11 | margin: $messagesMargin; |
||
| 12 | border-radius: $borderRadius; |
||
| 13 | } |
||
| 14 | |||
| 15 | ul { |
||
| 16 | margin: 0; |
||
| 17 | |||
| 18 | .ui-messages-info-summary, |
||
| 19 | .ui-messages-warn-summary, |
||
| 20 | .ui-messages-error-summary, |
||
| 21 | .ui-messages-fatal-summary { |
||
| 22 | margin: 0 $inlineSpacing 0 0; |
||
| 23 | } |
||
| 24 | |||
| 25 | .ui-messages-info-detail, |
||
| 26 | .ui-messages-warn-detail, |
||
| 27 | .ui-messages-error-detail, |
||
| 28 | .ui-messages-fatal-detail { |
||
| 29 | margin: 0; |
||
| 30 | } |
||
| 31 | } |
||
| 32 | |||
| 33 | .ui-messages-close { |
||
| 34 | position: absolute; |
||
| 35 | right: -1 * $actionIconWidth / 2; |
||
| 36 | top: -1 * $actionIconHeight / 2; |
||
| 37 | @include action-icon(); |
||
| 38 | text-align: center; |
||
| 39 | transition: background-color $transitionDuration; |
||
| 40 | |||
| 41 | .ui-icon-close { |
||
| 42 | @include icon_override("\e90b"); |
||
| 43 | } |
||
| 44 | } |
||
| 45 | |||
| 46 | .ui-messages-info { |
||
| 47 | background: $infoMessageBg; |
||
| 48 | border: $infoMessageBorder; |
||
| 49 | border-width: $messagesBorderWidth; |
||
| 50 | color: $infoMessageTextColor; |
||
| 51 | |||
| 52 | .ui-messages-info-icon { |
||
| 53 | @include icon_override("\e924"); |
||
| 54 | font-size: $messagesIconFontSize; |
||
| 55 | margin: 0 $inlineSpacing 0 0; |
||
| 56 | color: $infoMessageIconColor; |
||
| 57 | } |
||
| 58 | |||
| 59 | .ui-messages-close { |
||
| 60 | background: $infoMessageBg; |
||
| 61 | color: $infoMessageIconColor; |
||
| 62 | |||
| 63 | &:hover { |
||
| 64 | background: darken($infoMessageBg, 5%); |
||
| 65 | } |
||
| 66 | } |
||
| 67 | } |
||
| 68 | |||
| 69 | .ui-messages-warn { |
||
| 70 | background:$warnMessageBg; |
||
| 71 | border: $warnMessageBorder; |
||
| 72 | border-width: $messagesBorderWidth; |
||
| 73 | color: $warnMessageTextColor; |
||
| 74 | |||
| 75 | .ui-messages-warn-icon { |
||
| 76 | @include icon_override("\e922"); |
||
| 77 | font-size: $messagesIconFontSize; |
||
| 78 | margin: 0 $inlineSpacing 0 0; |
||
| 79 | color: $warnMessageIconColor; |
||
| 80 | } |
||
| 81 | |||
| 82 | .ui-messages-close { |
||
| 83 | background:$warnMessageBg; |
||
| 84 | color: $warnMessageIconColor; |
||
| 85 | |||
| 86 | &:hover { |
||
| 87 | background: darken($warnMessageBg, 5%); |
||
| 88 | } |
||
| 89 | } |
||
| 90 | } |
||
| 91 | |||
| 92 | .ui-messages-error, .ui-messages-fatal { |
||
| 93 | background: $errorMessageBg; |
||
| 94 | border: $errorMessageBorder; |
||
| 95 | border-width: $messagesBorderWidth; |
||
| 96 | color: $errorMessageTextColor; |
||
| 97 | |||
| 98 | .ui-messages-error-icon, |
||
| 99 | .ui-messages-fatal { |
||
| 100 | @include icon_override("\e90c"); |
||
| 101 | font-size: $messagesIconFontSize; |
||
| 102 | margin: 0 $inlineSpacing 0 0; |
||
| 103 | color: $errorMessageIconColor; |
||
| 104 | } |
||
| 105 | |||
| 106 | .ui-messages-close { |
||
| 107 | background: $errorMessageBg; |
||
| 108 | color: $errorMessageIconColor; |
||
| 109 | |||
| 110 | &:hover { |
||
| 111 | background: darken($errorMessageBg, 5%); |
||
| 112 | } |
||
| 113 | } |
||
| 114 | } |
||
| 115 | } |
||
| 116 | } |