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.

463 lines
8.5 KiB

9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
9 years ago
9 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
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 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
10 years ago
10 years ago
9 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
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
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
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
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.1.0 - Message
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2015 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: #f8f8f9;
  19. padding: 1em 1.5em;
  20. line-height: 1.4285em;
  21. color: rgba(0, 0, 0, 0.87);
  22. -webkit-transition: opacity 0.1s ease, color 0.1s ease, background 0.1s ease, box-shadow 0.1s ease;
  23. transition: opacity 0.1s ease, color 0.1s ease, background 0.1s ease, box-shadow 0.1s ease;
  24. border-radius: 0.28571429rem;
  25. box-shadow: 0px 0px 0px 1px rgba(34, 36, 38, 0.22) inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  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.14285em 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. text-align: left;
  64. padding: 0em;
  65. opacity: 0.85;
  66. list-style-position: inside;
  67. margin: 0.5em 0em 0em;
  68. }
  69. .ui.message ul.list:first-child {
  70. margin-top: 0em;
  71. }
  72. .ui.message ul.list:last-child {
  73. margin-bottom: 0em;
  74. }
  75. .ui.message ul.list li {
  76. position: relative;
  77. list-style-type: none;
  78. margin: 0em 0em 0.3em 1em;
  79. padding: 0em;
  80. }
  81. .ui.message ul.list li:before {
  82. position: absolute;
  83. content: '•';
  84. left: -1em;
  85. height: 100%;
  86. vertical-align: baseline;
  87. }
  88. .ui.message ul.list li:last-child {
  89. margin-bottom: 0em;
  90. }
  91. /* Icon */
  92. .ui.message > .icon {
  93. margin-right: 0.6em;
  94. }
  95. /* Close Icon */
  96. .ui.message > .close.icon {
  97. cursor: pointer;
  98. position: absolute;
  99. margin: 0em;
  100. top: 0.78575em;
  101. right: 0.5em;
  102. opacity: 0.7;
  103. -webkit-transition: opacity 0.1s ease;
  104. transition: opacity 0.1s ease;
  105. }
  106. .ui.message > .close.icon:hover {
  107. opacity: 1;
  108. }
  109. /* First / Last Element */
  110. .ui.message > :first-child {
  111. margin-top: 0em;
  112. }
  113. .ui.message > :last-child {
  114. margin-bottom: 0em;
  115. }
  116. /*******************************
  117. Coupling
  118. *******************************/
  119. .ui.dropdown .menu > .message {
  120. margin: 0px -1px;
  121. }
  122. /*******************************
  123. States
  124. *******************************/
  125. /*--------------
  126. Visible
  127. ---------------*/
  128. .ui.visible.visible.visible.visible.message {
  129. display: block;
  130. }
  131. .ui.icon.visible.visible.visible.visible.message {
  132. display: -webkit-box;
  133. display: -webkit-flex;
  134. display: -ms-flexbox;
  135. display: flex;
  136. }
  137. /*--------------
  138. Hidden
  139. ---------------*/
  140. .ui.hidden.hidden.hidden.hidden.message {
  141. display: none;
  142. }
  143. /*******************************
  144. Variations
  145. *******************************/
  146. /*--------------
  147. Compact
  148. ---------------*/
  149. .ui.compact.message {
  150. display: inline-block;
  151. }
  152. /*--------------
  153. Attached
  154. ---------------*/
  155. .ui.attached.message {
  156. margin-bottom: -1px;
  157. border-radius: 0.28571429rem 0.28571429rem 0em 0em;
  158. box-shadow: 0em 0em 0em 1px rgba(34, 36, 38, 0.15) inset;
  159. margin-left: -1px;
  160. margin-right: -1px;
  161. }
  162. .ui.attached + .ui.attached.message:not(.top):not(.bottom) {
  163. margin-top: -1px;
  164. border-radius: 0em;
  165. }
  166. .ui.bottom.attached.message {
  167. margin-top: -1px;
  168. border-radius: 0em 0em 0.28571429rem 0.28571429rem;
  169. box-shadow: 0em 0em 0em 1px rgba(34, 36, 38, 0.15) inset, 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
  170. }
  171. .ui.bottom.attached.message:not(:last-child) {
  172. margin-bottom: 1em;
  173. }
  174. .ui.attached.icon.message {
  175. width: auto;
  176. }
  177. /*--------------
  178. Icon
  179. ---------------*/
  180. .ui.icon.message {
  181. display: -webkit-box;
  182. display: -webkit-flex;
  183. display: -ms-flexbox;
  184. display: flex;
  185. width: 100%;
  186. -webkit-box-align: center;
  187. -webkit-align-items: center;
  188. -ms-flex-align: center;
  189. align-items: center;
  190. }
  191. .ui.icon.message > .icon:not(.close) {
  192. display: block;
  193. -webkit-box-flex: 0;
  194. -webkit-flex: 0 0 auto;
  195. -ms-flex: 0 0 auto;
  196. flex: 0 0 auto;
  197. width: auto;
  198. line-height: 1;
  199. vertical-align: middle;
  200. font-size: 3em;
  201. opacity: 0.8;
  202. }
  203. .ui.icon.message > .content {
  204. display: block;
  205. -webkit-box-flex: 1;
  206. -webkit-flex: 1 1 auto;
  207. -ms-flex: 1 1 auto;
  208. flex: 1 1 auto;
  209. vertical-align: middle;
  210. }
  211. .ui.icon.message .icon:not(.close) + .content {
  212. padding-left: 0rem;
  213. }
  214. .ui.icon.message .circular.icon {
  215. width: 1em;
  216. }
  217. /*--------------
  218. Floating
  219. ---------------*/
  220. .ui.floating.message {
  221. box-shadow: 0px 0px 0px 1px rgba(34, 36, 38, 0.22) inset, 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.08);
  222. }
  223. /*--------------
  224. Colors
  225. ---------------*/
  226. .ui.black.message {
  227. background-color: #1b1c1d;
  228. color: rgba(255, 255, 255, 0.9);
  229. }
  230. /*--------------
  231. Types
  232. ---------------*/
  233. /* Positive */
  234. .ui.positive.message {
  235. background-color: #fcfff5;
  236. color: #2c662d;
  237. }
  238. .ui.positive.message,
  239. .ui.attached.positive.message {
  240. box-shadow: 0px 0px 0px 1px #a3c293 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  241. }
  242. .ui.positive.message .header {
  243. color: #1a531b;
  244. }
  245. /* Negative */
  246. .ui.negative.message {
  247. background-color: #fff6f6;
  248. color: #9f3a38;
  249. }
  250. .ui.negative.message,
  251. .ui.attached.negative.message {
  252. box-shadow: 0px 0px 0px 1px #e0b4b4 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  253. }
  254. .ui.negative.message .header {
  255. color: #912d2b;
  256. }
  257. /* Info */
  258. .ui.info.message {
  259. background-color: #f8ffff;
  260. color: #276f86;
  261. }
  262. .ui.info.message,
  263. .ui.attached.info.message {
  264. box-shadow: 0px 0px 0px 1px #a9d5de inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  265. }
  266. .ui.info.message .header {
  267. color: #0e566c;
  268. }
  269. /* Warning */
  270. .ui.warning.message {
  271. background-color: #fffaf3;
  272. color: #573a08;
  273. }
  274. .ui.warning.message,
  275. .ui.attached.warning.message {
  276. box-shadow: 0px 0px 0px 1px #c9ba9b inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  277. }
  278. .ui.warning.message .header {
  279. color: #794b02;
  280. }
  281. /* Error */
  282. .ui.error.message {
  283. background-color: #fff6f6;
  284. color: #9f3a38;
  285. }
  286. .ui.error.message,
  287. .ui.attached.error.message {
  288. box-shadow: 0px 0px 0px 1px #e0b4b4 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  289. }
  290. .ui.error.message .header {
  291. color: #912d2b;
  292. }
  293. /* Success */
  294. .ui.success.message {
  295. background-color: #fcfff5;
  296. color: #2c662d;
  297. }
  298. .ui.success.message,
  299. .ui.attached.success.message {
  300. box-shadow: 0px 0px 0px 1px #a3c293 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  301. }
  302. .ui.success.message .header {
  303. color: #1a531b;
  304. }
  305. /* Colors */
  306. .ui.inverted.message,
  307. .ui.black.message {
  308. background-color: #1b1c1d;
  309. color: rgba(255, 255, 255, 0.9);
  310. }
  311. .ui.red.message {
  312. background-color: #ffe8e6;
  313. color: #db2828;
  314. }
  315. .ui.red.message .header {
  316. color: #c82121;
  317. }
  318. .ui.orange.message {
  319. background-color: #ffedde;
  320. color: #f2711c;
  321. }
  322. .ui.orange.message .header {
  323. color: #e7640d;
  324. }
  325. .ui.yellow.message {
  326. background-color: #fff8db;
  327. color: #b58105;
  328. }
  329. .ui.yellow.message .header {
  330. color: #9c6f04;
  331. }
  332. .ui.olive.message {
  333. background-color: #fbfdef;
  334. color: #8abc1e;
  335. }
  336. .ui.olive.message .header {
  337. color: #7aa61a;
  338. }
  339. .ui.green.message {
  340. background-color: #e5f9e7;
  341. color: #1ebc30;
  342. }
  343. .ui.green.message .header {
  344. color: #1aa62a;
  345. }
  346. .ui.teal.message {
  347. background-color: #e1f7f7;
  348. color: #10a3a3;
  349. }
  350. .ui.teal.message .header {
  351. color: #0e8c8c;
  352. }
  353. .ui.blue.message {
  354. background-color: #dff0ff;
  355. color: #2185d0;
  356. }
  357. .ui.blue.message .header {
  358. color: #1e77ba;
  359. }
  360. .ui.violet.message {
  361. background-color: #eae7ff;
  362. color: #6435c9;
  363. }
  364. .ui.violet.message .header {
  365. color: #5a30b5;
  366. }
  367. .ui.purple.message {
  368. background-color: #f6e7ff;
  369. color: #a333c8;
  370. }
  371. .ui.purple.message .header {
  372. color: #922eb4;
  373. }
  374. .ui.pink.message {
  375. background-color: #ffe3fb;
  376. color: #e03997;
  377. }
  378. .ui.pink.message .header {
  379. color: #dd238b;
  380. }
  381. .ui.brown.message {
  382. background-color: #f1e2d3;
  383. color: #a5673f;
  384. }
  385. .ui.brown.message .header {
  386. color: #935b38;
  387. }
  388. /*--------------
  389. Sizes
  390. ---------------*/
  391. .ui.small.message {
  392. font-size: 0.92857143em;
  393. }
  394. .ui.message {
  395. font-size: 1em;
  396. }
  397. .ui.large.message {
  398. font-size: 1.14285714em;
  399. }
  400. .ui.huge.message {
  401. font-size: 1.42857143em;
  402. }
  403. .ui.massive.message {
  404. font-size: 1.71428571em;
  405. }
  406. /*******************************
  407. Theme Overrides
  408. *******************************/
  409. /*******************************
  410. User Variable Overrides
  411. *******************************/