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.

444 lines
8.1 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
10 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
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
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
9 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
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
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 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.2857rem;
  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.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. 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. width: 100%;
  157. margin-bottom: -1px;
  158. border-radius: 0.2857rem 0.2857rem 0em 0em;
  159. box-shadow: 0em 0em 0em 1px rgba(34, 36, 38, 0.15) inset;
  160. margin-left: -1px;
  161. margin-right: -1px;
  162. }
  163. .ui.attached + .ui.attached.message:not(.top):not(.bottom) {
  164. margin-top: -1px;
  165. border-radius: 0em;
  166. }
  167. .ui.bottom.attached.message {
  168. margin-top: -1px;
  169. border-radius: 0em 0em 0.2857rem 0.2857rem;
  170. box-shadow: 0em 0em 0em 1px rgba(34, 36, 38, 0.15) inset, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  171. }
  172. .ui.bottom.attached.message:not(:last-child) {
  173. margin-bottom: 1em;
  174. }
  175. .ui.attached.icon.message {
  176. display: block;
  177. width: auto;
  178. }
  179. /*--------------
  180. Icon
  181. ---------------*/
  182. .ui.icon.message {
  183. display: -webkit-box;
  184. display: -webkit-flex;
  185. display: -ms-flexbox;
  186. display: flex;
  187. width: 100%;
  188. -webkit-box-align: center;
  189. -webkit-align-items: center;
  190. -ms-flex-align: center;
  191. align-items: center;
  192. }
  193. .ui.icon.message > .icon:not(.close) {
  194. display: block;
  195. -webkit-box-flex: 0;
  196. -webkit-flex: 0 1 auto;
  197. -ms-flex: 0 1 auto;
  198. flex: 0 1 auto;
  199. width: auto;
  200. line-height: 1;
  201. vertical-align: middle;
  202. font-size: 3em;
  203. opacity: 0.8;
  204. }
  205. .ui.icon.message > .content {
  206. display: block;
  207. -webkit-box-flex: 1;
  208. -webkit-flex: 1 1 auto;
  209. -ms-flex: 1 1 auto;
  210. flex: 1 1 auto;
  211. vertical-align: middle;
  212. }
  213. .ui.icon.message .icon:not(.close) + .content {
  214. padding-left: 0rem;
  215. }
  216. .ui.icon.message .circular.icon {
  217. width: 1em;
  218. }
  219. /*--------------
  220. Floating
  221. ---------------*/
  222. .ui.floating.message {
  223. box-shadow: 0px 0px 0px 1px rgba(34, 36, 38, 0.22) inset, 0 1px 4px 0 rgba(34, 36, 38, 0.15);
  224. }
  225. /*--------------
  226. Colors
  227. ---------------*/
  228. .ui.black.message {
  229. background-color: #1b1c1d;
  230. color: rgba(255, 255, 255, 0.9);
  231. }
  232. /*--------------
  233. Types
  234. ---------------*/
  235. /* Positive */
  236. .ui.positive.message {
  237. background-color: #fcfff5;
  238. color: #1d571e;
  239. }
  240. .ui.positive.message,
  241. .ui.attached.positive.message {
  242. box-shadow: 0px 0px 0px 1px #a3c293 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  243. }
  244. .ui.positive.message .header {
  245. color: #1a531b;
  246. }
  247. /* Negative */
  248. .ui.negative.message {
  249. background-color: #fff6f6;
  250. color: #922d2b;
  251. }
  252. .ui.negative.message,
  253. .ui.attached.negative.message {
  254. box-shadow: 0px 0px 0px 1px #e0b4b4 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  255. }
  256. .ui.negative.message .header {
  257. color: #912d2b;
  258. }
  259. /* Info */
  260. .ui.info.message {
  261. background-color: #f8ffff;
  262. color: #0e566d;
  263. }
  264. .ui.info.message,
  265. .ui.attached.info.message {
  266. box-shadow: 0px 0px 0px 1px #9ecad3 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  267. }
  268. .ui.info.message .header {
  269. color: #0e566c;
  270. }
  271. /* Warning */
  272. .ui.warning.message {
  273. background-color: #fffaf3;
  274. color: #664917;
  275. }
  276. .ui.warning.message,
  277. .ui.attached.warning.message {
  278. box-shadow: 0px 0px 0px 1px #c9ba9b inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  279. }
  280. .ui.warning.message .header {
  281. color: #794b02;
  282. }
  283. /* Error */
  284. .ui.error.message {
  285. background-color: #fff6f6;
  286. color: #922d2b;
  287. }
  288. .ui.error.message,
  289. .ui.attached.error.message {
  290. box-shadow: 0px 0px 0px 1px #e0b4b4 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  291. }
  292. .ui.error.message .header {
  293. color: #912d2b;
  294. }
  295. /* Success */
  296. .ui.success.message {
  297. background-color: #fcfff5;
  298. color: #1d571e;
  299. }
  300. .ui.success.message,
  301. .ui.attached.success.message {
  302. box-shadow: 0px 0px 0px 1px #a3c293 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  303. }
  304. .ui.success.message .header {
  305. color: #1a531b;
  306. }
  307. /* Colors */
  308. .ui.inverted.message,
  309. .ui.black.message {
  310. background-color: #1b1c1d;
  311. color: rgba(255, 255, 255, 0.9);
  312. }
  313. .ui.blue.message {
  314. background-color: #dff0ff;
  315. color: #2185d0;
  316. }
  317. .ui.blue.message .header {
  318. color: #1e77ba;
  319. }
  320. .ui.green.message {
  321. background-color: #e5f9e7;
  322. color: #1ebc30;
  323. }
  324. .ui.green.message .header {
  325. color: #1aa62a;
  326. }
  327. .ui.orange.message {
  328. background-color: #ffedde;
  329. color: #f2711c;
  330. }
  331. .ui.orange.message .header {
  332. color: #e7640d;
  333. }
  334. .ui.pink.message {
  335. background-color: #ffe3fb;
  336. color: #e03997;
  337. }
  338. .ui.pink.message .header {
  339. color: #dd238b;
  340. }
  341. .ui.purple.message {
  342. background-color: #eae7ff;
  343. color: #6a33c8;
  344. }
  345. .ui.purple.message .header {
  346. color: #5f2eb4;
  347. }
  348. .ui.red.message {
  349. background-color: #ffe8e6;
  350. color: #db2828;
  351. }
  352. .ui.red.message .header {
  353. color: #c82121;
  354. }
  355. .ui.teal.message {
  356. background-color: #e1f7f7;
  357. color: #10a3a3;
  358. }
  359. .ui.teal.message .header {
  360. color: #0e8c8c;
  361. }
  362. .ui.yellow.message {
  363. background-color: #fff8db;
  364. color: #b58105;
  365. }
  366. .ui.yellow.message .header {
  367. color: #9c6f04;
  368. }
  369. /*--------------
  370. Sizes
  371. ---------------*/
  372. .ui.small.message {
  373. font-size: 0.92857143em;
  374. }
  375. .ui.message {
  376. font-size: 1em;
  377. }
  378. .ui.large.message {
  379. font-size: 1.14285714em;
  380. }
  381. .ui.huge.message {
  382. font-size: 1.42857143em;
  383. }
  384. .ui.massive.message {
  385. font-size: 1.71428571em;
  386. }
  387. /*******************************
  388. Theme Overrides
  389. *******************************/
  390. /*******************************
  391. User Variable Overrides
  392. *******************************/