You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

434 lines
7.8 KiB

9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. /*!
  2. * # Semantic UI 2.0.0 - Message
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2014 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Message
  13. *******************************/
  14. .ui.message {
  15. position: relative;
  16. min-height: 1em;
  17. margin: 1em 0em;
  18. background: #f0f0f0;
  19. padding: 1em 1.5em;
  20. line-height: 1.4285em;
  21. color: rgba(0, 0, 0, 0.8);
  22. -webkit-transition: opacity 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  23. transition: opacity 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  24. border-radius: 0.2857rem;
  25. box-shadow: 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset, 0px 0px 0px transparent;
  26. }
  27. .ui.message:first-child {
  28. margin-top: 0em;
  29. }
  30. .ui.message:last-child {
  31. margin-bottom: 0em;
  32. }
  33. /*--------------
  34. Content
  35. ---------------*/
  36. /* Header */
  37. .ui.message .header {
  38. display: block;
  39. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  40. font-weight: bold;
  41. margin: -0.165em 0em 0rem 0em;
  42. }
  43. /* Default font size */
  44. .ui.message .header:not(.ui) {
  45. font-size: 1.14285714em;
  46. }
  47. /* Paragraph */
  48. .ui.message p {
  49. opacity: 0.85;
  50. margin: 0.75em 0em;
  51. }
  52. .ui.message p:first-child {
  53. margin-top: 0em;
  54. }
  55. .ui.message p:last-child {
  56. margin-bottom: 0em;
  57. }
  58. .ui.message .header + p {
  59. margin-top: 0.25em;
  60. }
  61. /* List */
  62. .ui.message ul.list {
  63. opacity: 0.85;
  64. list-style-position: inside;
  65. margin: 0.5em 0em 0em;
  66. padding: 0em;
  67. }
  68. .ui.message ul.list:first-child {
  69. margin-top: 0em;
  70. }
  71. .ui.message ul.list:last-child {
  72. margin-bottom: 0em;
  73. }
  74. .ui.message ul.list li {
  75. position: relative;
  76. list-style-type: none;
  77. margin: 0em 0em 0.3em 1em;
  78. padding: 0em;
  79. }
  80. .ui.message ul.list li:before {
  81. position: absolute;
  82. content: '•';
  83. left: -1em;
  84. height: 100%;
  85. vertical-align: baseline;
  86. }
  87. .ui.message ul.list li:last-child {
  88. margin-bottom: 0em;
  89. }
  90. /* Icon */
  91. .ui.message > .icon {
  92. margin-right: 0.6em;
  93. }
  94. /* Close Icon */
  95. .ui.message > .close.icon {
  96. cursor: pointer;
  97. position: absolute;
  98. margin: 0em;
  99. top: 1.21425em;
  100. right: 0.5em;
  101. opacity: 0.7;
  102. -webkit-transition: opacity 0.1s linear
  103. ;
  104. transition: opacity 0.1s linear
  105. ;
  106. }
  107. .ui.message > .close.icon:hover {
  108. opacity: 1;
  109. }
  110. /* First / Last Element */
  111. .ui.message > :first-child {
  112. margin-top: 0em;
  113. }
  114. .ui.message > :last-child {
  115. margin-bottom: 0em;
  116. }
  117. /*******************************
  118. States
  119. *******************************/
  120. /*--------------
  121. Visible
  122. ---------------*/
  123. .ui.visible.visible.visible.visible.message {
  124. display: block;
  125. }
  126. .ui.icon.visible.visible.visible.visible.message {
  127. display: -webkit-box;
  128. display: -webkit-flex;
  129. display: -ms-flexbox;
  130. display: flex;
  131. }
  132. /*--------------
  133. Hidden
  134. ---------------*/
  135. .ui.hidden.hidden.hidden.hidden.message {
  136. display: none;
  137. }
  138. /*******************************
  139. Variations
  140. *******************************/
  141. /*--------------
  142. Compact
  143. ---------------*/
  144. .ui.compact.message {
  145. display: inline-block;
  146. }
  147. /*--------------
  148. Attached
  149. ---------------*/
  150. .ui.attached.message {
  151. margin-bottom: -1px;
  152. border-radius: 0.2857rem 0.2857rem 0em 0em;
  153. box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.1) inset;
  154. margin-left: -1px;
  155. margin-right: -1px;
  156. }
  157. .ui.attached + .ui.attached.message:not(.top):not(.bottom) {
  158. margin-top: -1px;
  159. border-radius: 0em;
  160. }
  161. .ui.bottom.attached.message {
  162. margin-top: -1px;
  163. border-radius: 0em 0em 0.2857rem 0.2857rem;
  164. box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.1) inset, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  165. }
  166. .ui.bottom.attached.message:not(:last-child) {
  167. margin-bottom: 1em;
  168. }
  169. .ui.attached.icon.message {
  170. display: block;
  171. width: auto;
  172. }
  173. /*--------------
  174. Icon
  175. ---------------*/
  176. .ui.icon.message {
  177. display: -webkit-box;
  178. display: -webkit-flex;
  179. display: -ms-flexbox;
  180. display: flex;
  181. width: 100%;
  182. -webkit-box-align: center;
  183. -webkit-align-items: center;
  184. -ms-flex-align: center;
  185. align-items: center;
  186. }
  187. .ui.icon.message > .icon:not(.close) {
  188. display: block;
  189. -webkit-box-flex: 0;
  190. -webkit-flex: 0 1 auto;
  191. -ms-flex: 0 1 auto;
  192. flex: 0 1 auto;
  193. width: auto;
  194. vertical-align: middle;
  195. font-size: 3em;
  196. opacity: 0.8;
  197. }
  198. .ui.icon.message > .content {
  199. display: block;
  200. -webkit-box-flex: 1;
  201. -webkit-flex: 1 1 auto;
  202. -ms-flex: 1 1 auto;
  203. flex: 1 1 auto;
  204. vertical-align: middle;
  205. }
  206. .ui.icon.message .icon:not(.close) + .content {
  207. padding-left: 0rem;
  208. }
  209. .ui.icon.message .circular.icon {
  210. width: 1em;
  211. }
  212. /*--------------
  213. Floating
  214. ---------------*/
  215. .ui.floating.message {
  216. box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset;
  217. }
  218. /*--------------
  219. Colors
  220. ---------------*/
  221. .ui.black.message {
  222. background-color: #1b1c1d;
  223. color: #ffffff;
  224. }
  225. /*--------------
  226. Types
  227. ---------------*/
  228. /* Positive */
  229. .ui.positive.message {
  230. background-color: #f3ffec;
  231. color: #255f26;
  232. }
  233. .ui.positive.message,
  234. .ui.attached.positive.message {
  235. box-shadow: 0px 0px 0px 1px #b4d3a4 inset, 0px 0px 0px transparent;
  236. }
  237. .ui.positive.message .header {
  238. color: #1a531b;
  239. }
  240. /* Negative */
  241. .ui.negative.message {
  242. background-color: #fff0f0;
  243. color: #973230;
  244. }
  245. .ui.negative.message,
  246. .ui.attached.negative.message {
  247. box-shadow: 0px 0px 0px 1px #e0b4b4 inset, 0px 0px 0px transparent;
  248. }
  249. .ui.negative.message .header {
  250. color: #912d2b;
  251. }
  252. /* Info */
  253. .ui.info.message {
  254. background-color: #eef9f9;
  255. color: #196178;
  256. }
  257. .ui.info.message,
  258. .ui.attached.info.message {
  259. box-shadow: 0px 0px 0px 1px #a3cfd8 inset, 0px 0px 0px transparent;
  260. }
  261. .ui.info.message .header {
  262. color: #0e566c;
  263. }
  264. /* Warning */
  265. .ui.warning.message {
  266. background-color: #fdf6e0;
  267. color: #715422;
  268. }
  269. .ui.warning.message,
  270. .ui.attached.warning.message {
  271. box-shadow: 0px 0px 0px 1px #c9ba9b inset, 0px 0px 0px transparent;
  272. }
  273. .ui.warning.message .header {
  274. color: #794b02;
  275. }
  276. /* Error */
  277. .ui.error.message {
  278. background-color: #fff0f0;
  279. color: #973230;
  280. }
  281. .ui.error.message,
  282. .ui.attached.error.message {
  283. box-shadow: 0px 0px 0px 1px #e0b4b4 inset, 0px 0px 0px transparent;
  284. }
  285. .ui.error.message .header {
  286. color: #912d2b;
  287. }
  288. /* Success */
  289. .ui.success.message {
  290. background-color: #f3ffec;
  291. color: #255f26;
  292. }
  293. .ui.success.message,
  294. .ui.attached.success.message {
  295. box-shadow: 0px 0px 0px 1px #b4d3a4 inset, 0px 0px 0px transparent;
  296. }
  297. .ui.success.message .header {
  298. color: #1a531b;
  299. }
  300. /* Colors */
  301. .ui.inverted.message,
  302. .ui.black.message {
  303. background-color: #1b1c1d;
  304. color: #ffffff;
  305. }
  306. .ui.blue.message {
  307. background-color: #dff0ff;
  308. color: #3b83c0;
  309. }
  310. .ui.blue.message .header {
  311. color: #3576ac;
  312. }
  313. .ui.green.message {
  314. background-color: #e5f9e7;
  315. color: #1ebc30;
  316. }
  317. .ui.green.message .header {
  318. color: #1aa62a;
  319. }
  320. .ui.orange.message {
  321. background-color: #ffedde;
  322. color: #e07b53;
  323. }
  324. .ui.orange.message .header {
  325. color: #dc6a3d;
  326. }
  327. .ui.pink.message {
  328. background-color: #ffe3fb;
  329. color: #d9499a;
  330. }
  331. .ui.pink.message .header {
  332. color: #d5348e;
  333. }
  334. .ui.purple.message {
  335. background-color: #eae7ff;
  336. color: #564f8a;
  337. }
  338. .ui.purple.message .header {
  339. color: #4c467a;
  340. }
  341. .ui.red.message {
  342. background-color: #ffe8e6;
  343. color: #d95c5c;
  344. }
  345. .ui.red.message .header {
  346. color: #d44747;
  347. }
  348. .ui.teal.message {
  349. background-color: #e1f7f7;
  350. color: #10a3a3;
  351. }
  352. .ui.teal.message .header {
  353. color: #0e8c8c;
  354. }
  355. .ui.yellow.message {
  356. background-color: #fff8db;
  357. color: #b58105;
  358. }
  359. .ui.yellow.message .header {
  360. color: #9c6f04;
  361. }
  362. /*--------------
  363. Sizes
  364. ---------------*/
  365. .ui.small.message {
  366. font-size: 0.92857143em;
  367. }
  368. .ui.message {
  369. font-size: 1em;
  370. }
  371. .ui.large.message {
  372. font-size: 1.14285714em;
  373. }
  374. .ui.huge.message {
  375. font-size: 1.42857143em;
  376. }
  377. .ui.massive.message {
  378. font-size: 1.71428571em;
  379. }
  380. /*******************************
  381. Theme Overrides
  382. *******************************/
  383. /*******************************
  384. User Variable Overrides
  385. *******************************/