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.

505 lines
12 KiB

9 years ago
9 years ago
10 years ago
10 years ago
9 years ago
9 years ago
9 years ago
10 years ago
7 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
7 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
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
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
8 years ago
  1. /*!
  2. * # Semantic UI 2.2.14 - Message
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Released under the MIT license
  7. * http://opensource.org/licenses/MIT
  8. *
  9. */
  10. /*******************************
  11. Message
  12. *******************************/
  13. .ui.message {
  14. position: relative;
  15. min-height: 1em;
  16. margin: 1em 0em;
  17. background: #F8F8F9;
  18. padding: 1em 1.5em;
  19. line-height: 1.4285em;
  20. color: rgba(0, 0, 0, 0.87);
  21. -webkit-transition: opacity 0.1s ease, color 0.1s ease, background 0.1s ease, -webkit-box-shadow 0.1s ease;
  22. transition: opacity 0.1s ease, color 0.1s ease, background 0.1s ease, -webkit-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. transition: opacity 0.1s ease, color 0.1s ease, background 0.1s ease, box-shadow 0.1s ease, -webkit-box-shadow 0.1s ease;
  25. border-radius: 0.28571429rem;
  26. -webkit-box-shadow: 0px 0px 0px 1px rgba(34, 36, 38, 0.22) inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  27. box-shadow: 0px 0px 0px 1px rgba(34, 36, 38, 0.22) inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  28. }
  29. .ui.message:first-child {
  30. margin-top: 0em;
  31. }
  32. .ui.message:last-child {
  33. margin-bottom: 0em;
  34. }
  35. /*--------------
  36. Content
  37. ---------------*/
  38. /* Header */
  39. .ui.message .header {
  40. display: block;
  41. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  42. font-weight: bold;
  43. margin: -0.14285714em 0em 0rem 0em;
  44. }
  45. /* Default font size */
  46. .ui.message .header:not(.ui) {
  47. font-size: 1.14285714em;
  48. }
  49. /* Paragraph */
  50. .ui.message p {
  51. opacity: 0.85;
  52. margin: 0.75em 0em;
  53. }
  54. .ui.message p:first-child {
  55. margin-top: 0em;
  56. }
  57. .ui.message p:last-child {
  58. margin-bottom: 0em;
  59. }
  60. .ui.message .header + p {
  61. margin-top: 0.25em;
  62. }
  63. /* List */
  64. .ui.message .list:not(.ui) {
  65. text-align: left;
  66. padding: 0em;
  67. opacity: 0.85;
  68. list-style-position: inside;
  69. margin: 0.5em 0em 0em;
  70. }
  71. .ui.message .list:not(.ui):first-child {
  72. margin-top: 0em;
  73. }
  74. .ui.message .list:not(.ui):last-child {
  75. margin-bottom: 0em;
  76. }
  77. .ui.message .list:not(.ui) li {
  78. position: relative;
  79. list-style-type: none;
  80. margin: 0em 0em 0.3em 1em;
  81. padding: 0em;
  82. }
  83. .ui.message .list:not(.ui) li:before {
  84. position: absolute;
  85. content: '•';
  86. left: -1em;
  87. height: 100%;
  88. vertical-align: baseline;
  89. }
  90. .ui.message .list:not(.ui) li:last-child {
  91. margin-bottom: 0em;
  92. }
  93. /* Icon */
  94. .ui.message > .icon {
  95. margin-right: 0.6em;
  96. }
  97. /* Close Icon */
  98. .ui.message > .close.icon {
  99. cursor: pointer;
  100. position: absolute;
  101. margin: 0em;
  102. top: 0.78575em;
  103. right: 0.5em;
  104. opacity: 0.7;
  105. -webkit-transition: opacity 0.1s ease;
  106. transition: opacity 0.1s ease;
  107. }
  108. .ui.message > .close.icon:hover {
  109. opacity: 1;
  110. }
  111. /* First / Last Element */
  112. .ui.message > :first-child {
  113. margin-top: 0em;
  114. }
  115. .ui.message > :last-child {
  116. margin-bottom: 0em;
  117. }
  118. /*******************************
  119. Coupling
  120. *******************************/
  121. .ui.dropdown .menu > .message {
  122. margin: 0px -1px;
  123. }
  124. /*******************************
  125. States
  126. *******************************/
  127. /*--------------
  128. Visible
  129. ---------------*/
  130. .ui.visible.visible.visible.visible.message {
  131. display: block;
  132. }
  133. .ui.icon.visible.visible.visible.visible.message {
  134. display: -webkit-box;
  135. display: -ms-flexbox;
  136. display: flex;
  137. }
  138. /*--------------
  139. Hidden
  140. ---------------*/
  141. .ui.hidden.hidden.hidden.hidden.message {
  142. display: none;
  143. }
  144. /*******************************
  145. Variations
  146. *******************************/
  147. /*--------------
  148. Compact
  149. ---------------*/
  150. .ui.compact.message {
  151. display: inline-block;
  152. }
  153. .ui.compact.icon.message {
  154. display: -webkit-inline-box;
  155. display: -ms-inline-flexbox;
  156. display: inline-flex;
  157. }
  158. /*--------------
  159. Attached
  160. ---------------*/
  161. .ui.attached.message {
  162. margin-bottom: -1px;
  163. border-radius: 0.28571429rem 0.28571429rem 0em 0em;
  164. -webkit-box-shadow: 0em 0em 0em 1px rgba(34, 36, 38, 0.15) inset;
  165. box-shadow: 0em 0em 0em 1px rgba(34, 36, 38, 0.15) inset;
  166. margin-left: -1px;
  167. margin-right: -1px;
  168. }
  169. .ui.attached + .ui.attached.message:not(.top):not(.bottom) {
  170. margin-top: -1px;
  171. border-radius: 0em;
  172. }
  173. .ui.bottom.attached.message {
  174. margin-top: -1px;
  175. border-radius: 0em 0em 0.28571429rem 0.28571429rem;
  176. -webkit-box-shadow: 0em 0em 0em 1px rgba(34, 36, 38, 0.15) inset, 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
  177. box-shadow: 0em 0em 0em 1px rgba(34, 36, 38, 0.15) inset, 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
  178. }
  179. .ui.bottom.attached.message:not(:last-child) {
  180. margin-bottom: 1em;
  181. }
  182. .ui.attached.icon.message {
  183. width: auto;
  184. }
  185. /*--------------
  186. Icon
  187. ---------------*/
  188. .ui.icon.message {
  189. display: -webkit-box;
  190. display: -ms-flexbox;
  191. display: flex;
  192. width: 100%;
  193. -webkit-box-align: center;
  194. -ms-flex-align: center;
  195. align-items: center;
  196. }
  197. .ui.icon.message > .icon:not(.close) {
  198. display: block;
  199. -webkit-box-flex: 0;
  200. -ms-flex: 0 0 auto;
  201. flex: 0 0 auto;
  202. width: auto;
  203. line-height: 1;
  204. vertical-align: middle;
  205. font-size: 3em;
  206. opacity: 0.8;
  207. }
  208. .ui.icon.message > .content {
  209. display: block;
  210. -webkit-box-flex: 1;
  211. -ms-flex: 1 1 auto;
  212. flex: 1 1 auto;
  213. vertical-align: middle;
  214. }
  215. .ui.icon.message .icon:not(.close) + .content {
  216. padding-left: 0rem;
  217. }
  218. .ui.icon.message .circular.icon {
  219. width: 1em;
  220. }
  221. /*--------------
  222. Floating
  223. ---------------*/
  224. .ui.floating.message {
  225. -webkit-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);
  226. 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);
  227. }
  228. /*--------------
  229. Colors
  230. ---------------*/
  231. .ui.black.message {
  232. background-color: #1B1C1D;
  233. color: rgba(255, 255, 255, 0.9);
  234. }
  235. /*--------------
  236. Types
  237. ---------------*/
  238. /* Positive */
  239. .ui.positive.message {
  240. background-color: #FCFFF5;
  241. color: #2C662D;
  242. }
  243. .ui.positive.message,
  244. .ui.attached.positive.message {
  245. -webkit-box-shadow: 0px 0px 0px 1px #A3C293 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  246. box-shadow: 0px 0px 0px 1px #A3C293 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  247. }
  248. .ui.positive.message .header {
  249. color: #1A531B;
  250. }
  251. /* Negative */
  252. .ui.negative.message {
  253. background-color: #FFF6F6;
  254. color: #9F3A38;
  255. }
  256. .ui.negative.message,
  257. .ui.attached.negative.message {
  258. -webkit-box-shadow: 0px 0px 0px 1px #E0B4B4 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  259. box-shadow: 0px 0px 0px 1px #E0B4B4 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  260. }
  261. .ui.negative.message .header {
  262. color: #912D2B;
  263. }
  264. /* Info */
  265. .ui.info.message {
  266. background-color: #F8FFFF;
  267. color: #276F86;
  268. }
  269. .ui.info.message,
  270. .ui.attached.info.message {
  271. -webkit-box-shadow: 0px 0px 0px 1px #A9D5DE inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  272. box-shadow: 0px 0px 0px 1px #A9D5DE inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  273. }
  274. .ui.info.message .header {
  275. color: #0E566C;
  276. }
  277. /* Warning */
  278. .ui.warning.message {
  279. background-color: #FFFAF3;
  280. color: #573A08;
  281. }
  282. .ui.warning.message,
  283. .ui.attached.warning.message {
  284. -webkit-box-shadow: 0px 0px 0px 1px #C9BA9B inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  285. box-shadow: 0px 0px 0px 1px #C9BA9B inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  286. }
  287. .ui.warning.message .header {
  288. color: #794B02;
  289. }
  290. /* Error */
  291. .ui.error.message {
  292. background-color: #FFF6F6;
  293. color: #9F3A38;
  294. }
  295. .ui.error.message,
  296. .ui.attached.error.message {
  297. -webkit-box-shadow: 0px 0px 0px 1px #E0B4B4 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  298. box-shadow: 0px 0px 0px 1px #E0B4B4 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  299. }
  300. .ui.error.message .header {
  301. color: #912D2B;
  302. }
  303. /* Success */
  304. .ui.success.message {
  305. background-color: #FCFFF5;
  306. color: #2C662D;
  307. }
  308. .ui.success.message,
  309. .ui.attached.success.message {
  310. -webkit-box-shadow: 0px 0px 0px 1px #A3C293 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  311. box-shadow: 0px 0px 0px 1px #A3C293 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  312. }
  313. .ui.success.message .header {
  314. color: #1A531B;
  315. }
  316. /* Colors */
  317. .ui.inverted.message,
  318. .ui.black.message {
  319. background-color: #1B1C1D;
  320. color: rgba(255, 255, 255, 0.9);
  321. }
  322. .ui.red.message {
  323. background-color: #FFE8E6;
  324. color: #DB2828;
  325. -webkit-box-shadow: 0px 0px 0px 1px #DB2828 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  326. box-shadow: 0px 0px 0px 1px #DB2828 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  327. }
  328. .ui.red.message .header {
  329. color: #c82121;
  330. }
  331. .ui.orange.message {
  332. background-color: #FFEDDE;
  333. color: #F2711C;
  334. -webkit-box-shadow: 0px 0px 0px 1px #F2711C inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  335. box-shadow: 0px 0px 0px 1px #F2711C inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  336. }
  337. .ui.orange.message .header {
  338. color: #e7640d;
  339. }
  340. .ui.yellow.message {
  341. background-color: #FFF8DB;
  342. color: #B58105;
  343. -webkit-box-shadow: 0px 0px 0px 1px #B58105 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  344. box-shadow: 0px 0px 0px 1px #B58105 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  345. }
  346. .ui.yellow.message .header {
  347. color: #9c6f04;
  348. }
  349. .ui.olive.message {
  350. background-color: #FBFDEF;
  351. color: #8ABC1E;
  352. -webkit-box-shadow: 0px 0px 0px 1px #8ABC1E inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  353. box-shadow: 0px 0px 0px 1px #8ABC1E inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  354. }
  355. .ui.olive.message .header {
  356. color: #7aa61a;
  357. }
  358. .ui.green.message {
  359. background-color: #E5F9E7;
  360. color: #1EBC30;
  361. -webkit-box-shadow: 0px 0px 0px 1px #1EBC30 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  362. box-shadow: 0px 0px 0px 1px #1EBC30 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  363. }
  364. .ui.green.message .header {
  365. color: #1aa62a;
  366. }
  367. .ui.teal.message {
  368. background-color: #E1F7F7;
  369. color: #10A3A3;
  370. -webkit-box-shadow: 0px 0px 0px 1px #10A3A3 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  371. box-shadow: 0px 0px 0px 1px #10A3A3 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  372. }
  373. .ui.teal.message .header {
  374. color: #0e8c8c;
  375. }
  376. .ui.blue.message {
  377. background-color: #DFF0FF;
  378. color: #2185D0;
  379. -webkit-box-shadow: 0px 0px 0px 1px #2185D0 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  380. box-shadow: 0px 0px 0px 1px #2185D0 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  381. }
  382. .ui.blue.message .header {
  383. color: #1e77ba;
  384. }
  385. .ui.violet.message {
  386. background-color: #EAE7FF;
  387. color: #6435C9;
  388. -webkit-box-shadow: 0px 0px 0px 1px #6435C9 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  389. box-shadow: 0px 0px 0px 1px #6435C9 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  390. }
  391. .ui.violet.message .header {
  392. color: #5a30b5;
  393. }
  394. .ui.purple.message {
  395. background-color: #F6E7FF;
  396. color: #A333C8;
  397. -webkit-box-shadow: 0px 0px 0px 1px #A333C8 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  398. box-shadow: 0px 0px 0px 1px #A333C8 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  399. }
  400. .ui.purple.message .header {
  401. color: #922eb4;
  402. }
  403. .ui.pink.message {
  404. background-color: #FFE3FB;
  405. color: #E03997;
  406. -webkit-box-shadow: 0px 0px 0px 1px #E03997 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  407. box-shadow: 0px 0px 0px 1px #E03997 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  408. }
  409. .ui.pink.message .header {
  410. color: #dd238b;
  411. }
  412. .ui.brown.message {
  413. background-color: #F1E2D3;
  414. color: #A5673F;
  415. -webkit-box-shadow: 0px 0px 0px 1px #A5673F inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  416. box-shadow: 0px 0px 0px 1px #A5673F inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
  417. }
  418. .ui.brown.message .header {
  419. color: #935b38;
  420. }
  421. /*--------------
  422. Sizes
  423. ---------------*/
  424. .ui.mini.message {
  425. font-size: 0.78571429em;
  426. }
  427. .ui.tiny.message {
  428. font-size: 0.85714286em;
  429. }
  430. .ui.small.message {
  431. font-size: 0.92857143em;
  432. }
  433. .ui.message {
  434. font-size: 1em;
  435. }
  436. .ui.large.message {
  437. font-size: 1.14285714em;
  438. }
  439. .ui.big.message {
  440. font-size: 1.28571429em;
  441. }
  442. .ui.huge.message {
  443. font-size: 1.42857143em;
  444. }
  445. .ui.massive.message {
  446. font-size: 1.71428571em;
  447. }
  448. /*******************************
  449. Theme Overrides
  450. *******************************/
  451. /*******************************
  452. Site Overrides
  453. *******************************/