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.

442 lines
8.0 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
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
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
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: #f4f4f4;
  19. padding: 1em 1.5em;
  20. line-height: 1.4285em;
  21. color: rgba(0, 0, 0, 0.87);
  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.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. 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: 0.78575em;
  100. right: 0.5em;
  101. opacity: 0.7;
  102. -webkit-transition: opacity 0.2s ease;
  103. transition: opacity 0.2s ease;
  104. }
  105. .ui.message > .close.icon:hover {
  106. opacity: 1;
  107. }
  108. /* First / Last Element */
  109. .ui.message > :first-child {
  110. margin-top: 0em;
  111. }
  112. .ui.message > :last-child {
  113. margin-bottom: 0em;
  114. }
  115. /*******************************
  116. Coupling
  117. *******************************/
  118. .ui.dropdown .menu > .message {
  119. margin: 0px -1px;
  120. }
  121. /*******************************
  122. States
  123. *******************************/
  124. /*--------------
  125. Visible
  126. ---------------*/
  127. .ui.visible.visible.visible.visible.message {
  128. display: block;
  129. }
  130. .ui.icon.visible.visible.visible.visible.message {
  131. display: -webkit-box;
  132. display: -webkit-flex;
  133. display: -ms-flexbox;
  134. display: flex;
  135. }
  136. /*--------------
  137. Hidden
  138. ---------------*/
  139. .ui.hidden.hidden.hidden.hidden.message {
  140. display: none;
  141. }
  142. /*******************************
  143. Variations
  144. *******************************/
  145. /*--------------
  146. Compact
  147. ---------------*/
  148. .ui.compact.message {
  149. display: inline-block;
  150. }
  151. /*--------------
  152. Attached
  153. ---------------*/
  154. .ui.attached.message {
  155. margin-bottom: -1px;
  156. border-radius: 0.2857rem 0.2857rem 0em 0em;
  157. box-shadow: 0em 0em 0em 1px rgba(34, 36, 38, 0.15) inset;
  158. margin-left: -1px;
  159. margin-right: -1px;
  160. }
  161. .ui.attached + .ui.attached.message:not(.top):not(.bottom) {
  162. margin-top: -1px;
  163. border-radius: 0em;
  164. }
  165. .ui.bottom.attached.message {
  166. margin-top: -1px;
  167. border-radius: 0em 0em 0.2857rem 0.2857rem;
  168. box-shadow: 0em 0em 0em 1px rgba(34, 36, 38, 0.15) inset, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  169. }
  170. .ui.bottom.attached.message:not(:last-child) {
  171. margin-bottom: 1em;
  172. }
  173. .ui.attached.icon.message {
  174. display: block;
  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 1 auto;
  195. -ms-flex: 0 1 auto;
  196. flex: 0 1 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: 0 1px 4px 0 rgba(0, 0, 0, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.22) inset;
  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: #1d571e;
  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: #922d2b;
  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: #f8fcfc;
  260. color: #0e566d;
  261. }
  262. .ui.info.message,
  263. .ui.attached.info.message {
  264. box-shadow: 0px 0px 0px 1px #9ecad3 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: #fffced;
  272. color: #664917;
  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: #922d2b;
  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: #1d571e;
  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.blue.message {
  312. background-color: #dff0ff;
  313. color: #2185d0;
  314. }
  315. .ui.blue.message .header {
  316. color: #1e77ba;
  317. }
  318. .ui.green.message {
  319. background-color: #e5f9e7;
  320. color: #1ebc30;
  321. }
  322. .ui.green.message .header {
  323. color: #1aa62a;
  324. }
  325. .ui.orange.message {
  326. background-color: #ffedde;
  327. color: #f2711c;
  328. }
  329. .ui.orange.message .header {
  330. color: #e7640d;
  331. }
  332. .ui.pink.message {
  333. background-color: #ffe3fb;
  334. color: #e03997;
  335. }
  336. .ui.pink.message .header {
  337. color: #dd238b;
  338. }
  339. .ui.purple.message {
  340. background-color: #eae7ff;
  341. color: #6a33c8;
  342. }
  343. .ui.purple.message .header {
  344. color: #5f2eb4;
  345. }
  346. .ui.red.message {
  347. background-color: #ffe8e6;
  348. color: #db2828;
  349. }
  350. .ui.red.message .header {
  351. color: #c82121;
  352. }
  353. .ui.teal.message {
  354. background-color: #e1f7f7;
  355. color: #10a3a3;
  356. }
  357. .ui.teal.message .header {
  358. color: #0e8c8c;
  359. }
  360. .ui.yellow.message {
  361. background-color: #fff8db;
  362. color: #b58105;
  363. }
  364. .ui.yellow.message .header {
  365. color: #9c6f04;
  366. }
  367. /*--------------
  368. Sizes
  369. ---------------*/
  370. .ui.small.message {
  371. font-size: 0.92857143em;
  372. }
  373. .ui.message {
  374. font-size: 1em;
  375. }
  376. .ui.large.message {
  377. font-size: 1.14285714em;
  378. }
  379. .ui.huge.message {
  380. font-size: 1.42857143em;
  381. }
  382. .ui.massive.message {
  383. font-size: 1.71428571em;
  384. }
  385. /*******************************
  386. Theme Overrides
  387. *******************************/
  388. /*******************************
  389. User Variable Overrides
  390. *******************************/