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.

521 lines
12 KiB

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
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. /*
  2. * # Semantic - Message
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2014 Contributor
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Theme
  13. *******************************/
  14. /*
  15. */
  16. /*******************************
  17. Folders
  18. *******************************/
  19. /* Path to theme packages */
  20. /* Path to site override folder */
  21. /*******************************
  22. Themes
  23. *******************************/
  24. /* To override a theme for an individual element
  25. specify theme name below
  26. Be sure to update the user folder name (see README)
  27. */
  28. /* Global */
  29. /* Elements */
  30. /* Collections */
  31. /* Modules */
  32. /* Views */
  33. /*******************************
  34. Import Directives
  35. *******************************/
  36. /*------------------
  37. Load Default
  38. -------------------*/
  39. /*******************************
  40. Site Settings
  41. *******************************/
  42. /*-------------------
  43. Paths
  44. --------------------*/
  45. /*-------------------
  46. Fonts
  47. --------------------*/
  48. /*-------------------
  49. Site Colors
  50. --------------------*/
  51. /*--- Colors ---*/
  52. /*--- Light Colors ---*/
  53. /*-------------------
  54. Page
  55. --------------------*/
  56. /* Used to match floats with text */
  57. /*-------------------
  58. Background Colors
  59. --------------------*/
  60. /* Used for differentiating neutrals */
  61. /* Used for differentiating layers */
  62. /*-------------------
  63. Grid
  64. --------------------*/
  65. /*-------------------
  66. Breakpoints
  67. --------------------*/
  68. /*******************************
  69. Power-User
  70. *******************************/
  71. /*-------------------
  72. Icons
  73. --------------------*/
  74. /* Max Width of Icon */
  75. /*-------------------
  76. Easing
  77. --------------------*/
  78. /*--- Neutrals ---*/
  79. /*--- Colored Backgrounds ---*/
  80. /*--- Colored Text ---*/
  81. /*--- Colored Headers ---*/
  82. /*-------------------
  83. Emotive Colors
  84. --------------------*/
  85. /* Mood */
  86. /* Solid Background Color */
  87. /* Status */
  88. /* Darkened Headers */
  89. /*-------------------
  90. Neutral Text
  91. --------------------*/
  92. /*-------------------
  93. Brand Colors
  94. --------------------*/
  95. /*-------------------
  96. Grid Columns
  97. --------------------*/
  98. /*-------------------
  99. Borders
  100. --------------------*/
  101. /*-------------------
  102. Sizes
  103. --------------------*/
  104. /*-------------------
  105. Transitions
  106. --------------------*/
  107. /*******************************
  108. States
  109. *******************************/
  110. /*-------------------
  111. Disabled
  112. --------------------*/
  113. /*-------------------
  114. Hover
  115. --------------------*/
  116. /*--- Colors ---*/
  117. /*--- Emotive ---*/
  118. /*--- Neutrals ---*/
  119. /*-------------------
  120. Down (:active)
  121. --------------------*/
  122. /*--- Colors ---*/
  123. /*--- Emotive ---*/
  124. /*--- Neutrals ---*/
  125. /*-------------------
  126. Active
  127. --------------------*/
  128. /*--- Standard ---*/
  129. /*--- Emotive ---*/
  130. /*--- Neutrals ---*/
  131. /*******************************
  132. Message
  133. *******************************/
  134. /*-------------------
  135. Elements
  136. --------------------*/
  137. /* Header */
  138. /* Paragraph */
  139. /* List */
  140. /* Icon */
  141. /* Close Icon */
  142. /*-------------------
  143. Types
  144. --------------------*/
  145. /* Icon Message */
  146. /* Attached */
  147. /* Floating */
  148. /*-------------------
  149. Variations
  150. --------------------*/
  151. /*------------------
  152. Load Theme
  153. -------------------*/
  154. /*------------------
  155. Load Site
  156. -------------------*/
  157. /*******************************
  158. User Global Variables
  159. *******************************/
  160. /*******************************
  161. User Variable Overrides
  162. *******************************/
  163. /*------------------
  164. Override Mix-in
  165. -------------------*/
  166. /*******************************
  167. Message
  168. *******************************/
  169. .ui.message {
  170. position: relative;
  171. min-height: 1em;
  172. margin: 1em 0em;
  173. background: #efefef;
  174. padding: 1em 1.5em;
  175. line-height: 1.3;
  176. color: rgba(0, 0, 0, 0.8);
  177. -webkit-transition: opacity 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  178. transition: opacity 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  179. border-radius: 0.25em;
  180. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.15) inset, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  181. }
  182. .ui.message:first-child {
  183. margin-top: 0em;
  184. }
  185. .ui.message:last-child {
  186. margin-bottom: 0em;
  187. }
  188. /*--------------
  189. Content
  190. ---------------*/
  191. /* Header */
  192. .ui.message .header {
  193. display: block;
  194. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  195. font-size: 1.1rem;
  196. font-weight: bold;
  197. margin: 0em 0em 0em 0rem;
  198. }
  199. /* Paragraph */
  200. .ui.message p {
  201. opacity: 0.85;
  202. margin: 0.75em 0em;
  203. }
  204. .ui.message p:first-child {
  205. margin-top: 0em;
  206. }
  207. .ui.message p:last-child {
  208. margin-bottom: 0em;
  209. }
  210. .ui.message .header + p {
  211. margin-top: 0.25em;
  212. }
  213. /* List */
  214. .ui.message ul.list {
  215. opacity: 0.85;
  216. list-style-position: inside;
  217. margin: 0.5em 0em 0em;
  218. padding: 0em;
  219. }
  220. .ui.message ul.list:first-child {
  221. margin-top: 0em;
  222. }
  223. .ui.message ul.list:last-child {
  224. margin-bottom: 0em;
  225. }
  226. .ui.message ul.list li {
  227. position: relative;
  228. list-style-type: none;
  229. margin: 0em 0em 0.3em 1em;
  230. padding: 0em;
  231. }
  232. .ui.message ul.list li:before {
  233. position: absolute;
  234. content: '•';
  235. left: -1em;
  236. height: 100%;
  237. vertical-align: baseline;
  238. }
  239. .ui.message ul.list li:last-child {
  240. margin-bottom: 0em;
  241. }
  242. /* Icon */
  243. .ui.message > .icon {
  244. margin-right: 0.6em;
  245. }
  246. /* Close Icon */
  247. .ui.message > .close.icon {
  248. cursor: pointer;
  249. position: absolute;
  250. margin: 0em;
  251. top: 1em;
  252. right: 0.5em;
  253. opacity: 0.7;
  254. -webkit-transition: opacity 0.1s linear
  255. ;
  256. transition: opacity 0.1s linear
  257. ;
  258. }
  259. .ui.message > .close.icon:hover {
  260. opacity: 1;
  261. }
  262. /* First / Last Element */
  263. .ui.message > :first-child {
  264. margin-top: 0em;
  265. }
  266. .ui.message > :last-child {
  267. margin-bottom: 0em;
  268. }
  269. /*******************************
  270. States
  271. *******************************/
  272. .ui.message.visible,
  273. .ui.header.visible {
  274. display: block !important;
  275. }
  276. .ui.message.hidden,
  277. .ui.header.hidden {
  278. display: none;
  279. }
  280. /*******************************
  281. Variations
  282. *******************************/
  283. /*--------------
  284. Compact
  285. ---------------*/
  286. .ui.compact.message {
  287. display: inline-block;
  288. }
  289. /*--------------
  290. Attached
  291. ---------------*/
  292. .ui.attached.message {
  293. margin-bottom: -1px;
  294. border-radius: 0.25em 0.25em 0em 0em;
  295. box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.1) inset;
  296. margin-left: -1px;
  297. margin-right: -1px;
  298. }
  299. .ui.attached + .ui.attached.message:not(.top):not(.bottom) {
  300. margin-top: -1px;
  301. border-radius: 0em;
  302. }
  303. .ui.bottom.attached.message {
  304. margin-top: -1px;
  305. border-radius: 0em 0em 0.25em 0.25em;
  306. box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.1) inset, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  307. }
  308. .ui.bottom.attached.message:not(:last-child) {
  309. margin-bottom: 1em;
  310. }
  311. .ui.attached.icon.message {
  312. display: block;
  313. width: auto;
  314. }
  315. /*--------------
  316. Icon
  317. ---------------*/
  318. .ui.icon.message {
  319. display: table;
  320. width: 100%;
  321. }
  322. .ui.icon.message > .icon:not(.close) {
  323. display: table-cell;
  324. vertical-align: middle;
  325. font-size: 3em;
  326. opacity: 0.8;
  327. width: 1em;
  328. }
  329. .ui.icon.message > .content {
  330. display: table-cell;
  331. vertical-align: middle;
  332. }
  333. .ui.icon.message .icon:not(.close) + .content {
  334. padding-left: 1.5rem;
  335. }
  336. .ui.icon.message .circular.icon + .content {
  337. padding-left: 2em;
  338. }
  339. /*--------------
  340. Floating
  341. ---------------*/
  342. .ui.floating.message {
  343. box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.15), 0px 0px 0px 1px rgba(0, 0, 0, 0.15) inset;
  344. }
  345. /*--------------
  346. Colors
  347. ---------------*/
  348. .ui.black.message {
  349. background-color: #1b1c1d;
  350. color: #ffffff;
  351. }
  352. /*--------------
  353. Types
  354. ---------------*/
  355. /* Positive */
  356. .ui.positive.message {
  357. background-color: #e4f5dd;
  358. color: #3c763d;
  359. }
  360. .ui.positive.message,
  361. .ui.attached.positive.message {
  362. box-shadow: 0px 0px 0px 1px #b7caa7 inset, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  363. }
  364. .ui.positive.message .header {
  365. color: #336534;
  366. }
  367. /* Negative */
  368. .ui.negative.message {
  369. background-color: #fae8e8;
  370. color: #a94442;
  371. }
  372. .ui.negative.message,
  373. .ui.attached.negative.message {
  374. box-shadow: 0px 0px 0px 1px #dbb1b1 inset, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  375. }
  376. .ui.negative.message .header {
  377. color: #973d3b;
  378. }
  379. /* Info */
  380. .ui.info.message {
  381. background-color: #e5f6fb;
  382. color: #337b92;
  383. }
  384. .ui.info.message,
  385. .ui.attached.info.message {
  386. box-shadow: 0px 0px 0px 1px #aad6df inset, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  387. }
  388. .ui.info.message .header {
  389. color: #2c6b7f;
  390. }
  391. /* Warning */
  392. .ui.warning.message {
  393. background-color: #fcf8e3;
  394. color: #8a6d3b;
  395. }
  396. .ui.warning.message,
  397. .ui.attached.warning.message {
  398. box-shadow: 0px 0px 0px 1px #d3c4a5 inset, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  399. }
  400. .ui.warning.message .header {
  401. color: #785f33;
  402. }
  403. /* Error */
  404. .ui.error.message {
  405. background-color: #fae8e8;
  406. color: #a94442;
  407. }
  408. .ui.error.message,
  409. .ui.attached.error.message {
  410. box-shadow: 0px 0px 0px 1px #dbb1b1 inset, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  411. }
  412. .ui.error.message .header {
  413. color: #973d3b;
  414. }
  415. /* Success */
  416. .ui.success.message {
  417. background-color: #e4f5dd;
  418. color: #3c763d;
  419. }
  420. .ui.success.message,
  421. .ui.attached.success.message {
  422. box-shadow: 0px 0px 0px 1px #b7caa7 inset, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  423. }
  424. .ui.success.message .header {
  425. color: #336534;
  426. }
  427. /* Colors */
  428. .ui.inverted.message,
  429. .ui.black.message {
  430. background-color: #1b1c1d;
  431. color: #ffffff;
  432. }
  433. .ui.blue.message {
  434. background-color: #d3e4f3;
  435. color: #3b83c0;
  436. }
  437. .ui.blue.message .header {
  438. color: #3576ac;
  439. }
  440. .ui.green.message {
  441. background-color: #def2e0;
  442. color: #1ebc30;
  443. }
  444. .ui.green.message .header {
  445. color: #1aa62a;
  446. }
  447. .ui.orange.message {
  448. background-color: #f7e5d6;
  449. color: #e07b53;
  450. }
  451. .ui.orange.message .header {
  452. color: #dc6a3d;
  453. }
  454. .ui.pink.message {
  455. background-color: #f9cee6;
  456. color: #d9499a;
  457. }
  458. .ui.pink.message .header {
  459. color: #d5348e;
  460. }
  461. .ui.purple.message {
  462. background-color: #e0ddf5;
  463. color: #564f8a;
  464. }
  465. .ui.purple.message .header {
  466. color: #4c467a;
  467. }
  468. .ui.red.message {
  469. background-color: #f8d5d3;
  470. color: #d95c5c;
  471. }
  472. .ui.red.message .header {
  473. color: #d44747;
  474. }
  475. .ui.teal.message {
  476. background-color: #d2f5f5;
  477. color: #10a3a3;
  478. }
  479. .ui.teal.message .header {
  480. color: #0e8c8c;
  481. }
  482. .ui.yellow.message {
  483. background-color: #fcf5d8;
  484. color: #b58105;
  485. }
  486. .ui.yellow.message .header {
  487. color: #9c6f04;
  488. }
  489. /*--------------
  490. Sizes
  491. ---------------*/
  492. .ui.small.message {
  493. font-size: 0.875em;
  494. }
  495. .ui.message {
  496. font-size: 1em;
  497. }
  498. .ui.large.message {
  499. font-size: 1.125em;
  500. }
  501. .ui.huge.message {
  502. font-size: 1.5em;
  503. }
  504. .ui.massive.message {
  505. font-size: 2em;
  506. }
  507. /*******************************
  508. Overrides
  509. *******************************/
  510. /*******************************
  511. User Variable Overrides
  512. *******************************/