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.

483 lines
9.5 KiB

9 years ago
8 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
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
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
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
8 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
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
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
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 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
10 years ago
10 years ago
  1. /*!
  2. * # Semantic UI 2.2.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 .list:not(.ui) {
  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 .list:not(.ui):first-child {
  70. margin-top: 0em;
  71. }
  72. .ui.message .list:not(.ui):last-child {
  73. margin-bottom: 0em;
  74. }
  75. .ui.message .list:not(.ui) li {
  76. position: relative;
  77. list-style-type: none;
  78. margin: 0em 0em 0.3em 1em;
  79. padding: 0em;
  80. }
  81. .ui.message .list:not(.ui) li:before {
  82. position: absolute;
  83. content: '•';
  84. left: -1em;
  85. height: 100%;
  86. vertical-align: baseline;
  87. }
  88. .ui.message .list:not(.ui) 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.15);
  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. box-shadow: 0px 0px 0px 1px #DB2828 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  315. }
  316. .ui.red.message .header {
  317. color: #c82121;
  318. }
  319. .ui.orange.message {
  320. background-color: #FFEDDE;
  321. color: #F2711C;
  322. box-shadow: 0px 0px 0px 1px #F2711C inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  323. }
  324. .ui.orange.message .header {
  325. color: #e7640d;
  326. }
  327. .ui.yellow.message {
  328. background-color: #FFF8DB;
  329. color: #B58105;
  330. box-shadow: 0px 0px 0px 1px #B58105 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  331. }
  332. .ui.yellow.message .header {
  333. color: #9c6f04;
  334. }
  335. .ui.olive.message {
  336. background-color: #FBFDEF;
  337. color: #8ABC1E;
  338. box-shadow: 0px 0px 0px 1px #8ABC1E inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  339. }
  340. .ui.olive.message .header {
  341. color: #7aa61a;
  342. }
  343. .ui.green.message {
  344. background-color: #E5F9E7;
  345. color: #1EBC30;
  346. box-shadow: 0px 0px 0px 1px #1EBC30 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  347. }
  348. .ui.green.message .header {
  349. color: #1aa62a;
  350. }
  351. .ui.teal.message {
  352. background-color: #E1F7F7;
  353. color: #10A3A3;
  354. box-shadow: 0px 0px 0px 1px #10A3A3 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  355. }
  356. .ui.teal.message .header {
  357. color: #0e8c8c;
  358. }
  359. .ui.blue.message {
  360. background-color: #DFF0FF;
  361. color: #2185D0;
  362. box-shadow: 0px 0px 0px 1px #2185D0 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  363. }
  364. .ui.blue.message .header {
  365. color: #1e77ba;
  366. }
  367. .ui.violet.message {
  368. background-color: #EAE7FF;
  369. color: #6435C9;
  370. box-shadow: 0px 0px 0px 1px #6435C9 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  371. }
  372. .ui.violet.message .header {
  373. color: #5a30b5;
  374. }
  375. .ui.purple.message {
  376. background-color: #F6E7FF;
  377. color: #A333C8;
  378. box-shadow: 0px 0px 0px 1px #A333C8 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  379. }
  380. .ui.purple.message .header {
  381. color: #922eb4;
  382. }
  383. .ui.pink.message {
  384. background-color: #FFE3FB;
  385. color: #E03997;
  386. box-shadow: 0px 0px 0px 1px #E03997 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  387. }
  388. .ui.pink.message .header {
  389. color: #dd238b;
  390. }
  391. .ui.brown.message {
  392. background-color: #F1E2D3;
  393. color: #A5673F;
  394. box-shadow: 0px 0px 0px 1px #A5673F inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  395. }
  396. .ui.brown.message .header {
  397. color: #935b38;
  398. }
  399. /*--------------
  400. Sizes
  401. ---------------*/
  402. .ui.mini.message {
  403. font-size: 0.78571429em;
  404. }
  405. .ui.tiny.message {
  406. font-size: 0.85714286em;
  407. }
  408. .ui.small.message {
  409. font-size: 0.92857143em;
  410. }
  411. .ui.message {
  412. font-size: 1em;
  413. }
  414. .ui.large.message {
  415. font-size: 1.14285714em;
  416. }
  417. .ui.big.message {
  418. font-size: 1.28571429em;
  419. }
  420. .ui.huge.message {
  421. font-size: 1.42857143em;
  422. }
  423. .ui.massive.message {
  424. font-size: 1.71428571em;
  425. }
  426. /*******************************
  427. Theme Overrides
  428. *******************************/
  429. /*******************************
  430. User Variable Overrides
  431. *******************************/