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.

441 lines
8.0 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
9 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
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
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
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
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.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: #f0f0f0;
  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.15) inset, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  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.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(0, 0, 0, 0.1) 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(0, 0, 0, 0.1) 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. vertical-align: middle;
  199. font-size: 3em;
  200. opacity: 0.8;
  201. }
  202. .ui.icon.message > .content {
  203. display: block;
  204. -webkit-box-flex: 1;
  205. -webkit-flex: 1 1 auto;
  206. -ms-flex: 1 1 auto;
  207. flex: 1 1 auto;
  208. vertical-align: middle;
  209. }
  210. .ui.icon.message .icon:not(.close) + .content {
  211. padding-left: 0rem;
  212. }
  213. .ui.icon.message .circular.icon {
  214. width: 1em;
  215. }
  216. /*--------------
  217. Floating
  218. ---------------*/
  219. .ui.floating.message {
  220. box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset;
  221. }
  222. /*--------------
  223. Colors
  224. ---------------*/
  225. .ui.black.message {
  226. background-color: #1b1c1d;
  227. color: rgba(255, 255, 255, 0.9);
  228. }
  229. /*--------------
  230. Types
  231. ---------------*/
  232. /* Positive */
  233. .ui.positive.message {
  234. background-color: #f3ffec;
  235. color: #255f26;
  236. }
  237. .ui.positive.message,
  238. .ui.attached.positive.message {
  239. box-shadow: 0px 0px 0px 1px #b4d3a4 inset, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  240. }
  241. .ui.positive.message .header {
  242. color: #1a531b;
  243. }
  244. /* Negative */
  245. .ui.negative.message {
  246. background-color: #fff0f0;
  247. color: #973230;
  248. }
  249. .ui.negative.message,
  250. .ui.attached.negative.message {
  251. box-shadow: 0px 0px 0px 1px #e0b4b4 inset, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  252. }
  253. .ui.negative.message .header {
  254. color: #912d2b;
  255. }
  256. /* Info */
  257. .ui.info.message {
  258. background-color: #f1fcfc;
  259. color: #196178;
  260. }
  261. .ui.info.message,
  262. .ui.attached.info.message {
  263. box-shadow: 0px 0px 0px 1px #a3cfd8 inset, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  264. }
  265. .ui.info.message .header {
  266. color: #0e566c;
  267. }
  268. /* Warning */
  269. .ui.warning.message {
  270. background-color: #fff8e2;
  271. color: #715422;
  272. }
  273. .ui.warning.message,
  274. .ui.attached.warning.message {
  275. box-shadow: 0px 0px 0px 1px #c9ba9b inset, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  276. }
  277. .ui.warning.message .header {
  278. color: #794b02;
  279. }
  280. /* Error */
  281. .ui.error.message {
  282. background-color: #fff0f0;
  283. color: #973230;
  284. }
  285. .ui.error.message,
  286. .ui.attached.error.message {
  287. box-shadow: 0px 0px 0px 1px #e0b4b4 inset, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  288. }
  289. .ui.error.message .header {
  290. color: #912d2b;
  291. }
  292. /* Success */
  293. .ui.success.message {
  294. background-color: #f3ffec;
  295. color: #255f26;
  296. }
  297. .ui.success.message,
  298. .ui.attached.success.message {
  299. box-shadow: 0px 0px 0px 1px #b4d3a4 inset, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  300. }
  301. .ui.success.message .header {
  302. color: #1a531b;
  303. }
  304. /* Colors */
  305. .ui.inverted.message,
  306. .ui.black.message {
  307. background-color: #1b1c1d;
  308. color: rgba(255, 255, 255, 0.9);
  309. }
  310. .ui.blue.message {
  311. background-color: #dff0ff;
  312. color: #2185d0;
  313. }
  314. .ui.blue.message .header {
  315. color: #1e77ba;
  316. }
  317. .ui.green.message {
  318. background-color: #e5f9e7;
  319. color: #1ebc30;
  320. }
  321. .ui.green.message .header {
  322. color: #1aa62a;
  323. }
  324. .ui.orange.message {
  325. background-color: #ffedde;
  326. color: #f2711c;
  327. }
  328. .ui.orange.message .header {
  329. color: #e7640d;
  330. }
  331. .ui.pink.message {
  332. background-color: #ffe3fb;
  333. color: #e03997;
  334. }
  335. .ui.pink.message .header {
  336. color: #dd238b;
  337. }
  338. .ui.purple.message {
  339. background-color: #eae7ff;
  340. color: #6a33c8;
  341. }
  342. .ui.purple.message .header {
  343. color: #5f2eb4;
  344. }
  345. .ui.red.message {
  346. background-color: #ffe8e6;
  347. color: #db2828;
  348. }
  349. .ui.red.message .header {
  350. color: #c82121;
  351. }
  352. .ui.teal.message {
  353. background-color: #e1f7f7;
  354. color: #10a3a3;
  355. }
  356. .ui.teal.message .header {
  357. color: #0e8c8c;
  358. }
  359. .ui.yellow.message {
  360. background-color: #fff8db;
  361. color: #b58105;
  362. }
  363. .ui.yellow.message .header {
  364. color: #9c6f04;
  365. }
  366. /*--------------
  367. Sizes
  368. ---------------*/
  369. .ui.small.message {
  370. font-size: 0.92857143em;
  371. }
  372. .ui.message {
  373. font-size: 1em;
  374. }
  375. .ui.large.message {
  376. font-size: 1.14285714em;
  377. }
  378. .ui.huge.message {
  379. font-size: 1.42857143em;
  380. }
  381. .ui.massive.message {
  382. font-size: 1.71428571em;
  383. }
  384. /*******************************
  385. Theme Overrides
  386. *******************************/
  387. /*******************************
  388. User Variable Overrides
  389. *******************************/