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.

642 lines
14 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
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 Defaults
  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. /*-------------------
  57. Background Colors
  58. --------------------*/
  59. /* Used for differentiating neutrals */
  60. /* Used for differentiating layers */
  61. /*-------------------
  62. Grid
  63. --------------------*/
  64. /*-------------------
  65. Breakpoints
  66. --------------------*/
  67. /*******************************
  68. Power-User
  69. *******************************/
  70. /*-------------------
  71. Icons
  72. --------------------*/
  73. /* Max Width of Icon */
  74. /*-------------------
  75. Easing
  76. --------------------*/
  77. /*--- Neutrals ---*/
  78. /*--- Colored Backgrounds ---*/
  79. /*--- Colored Text ---*/
  80. /*--- Colored Headers ---*/
  81. /*-------------------
  82. Emotive Colors
  83. --------------------*/
  84. /* Mood */
  85. /* Status */
  86. /*-------------------
  87. Neutral Text
  88. --------------------*/
  89. /*-------------------
  90. Brand Colors
  91. --------------------*/
  92. /*-------------------
  93. Borders
  94. --------------------*/
  95. /*-------------------
  96. Sizes
  97. --------------------*/
  98. /*-------------------
  99. Transitions
  100. --------------------*/
  101. /*-------------------
  102. Derived Values
  103. --------------------*/
  104. /* Makes sure padded grid can fit at 320px */
  105. /* Used to match floats with text */
  106. /* Positive / Negative Dupes */
  107. /* Header Colors */
  108. /* Responsive */
  109. /* Columns */
  110. /*******************************
  111. States
  112. *******************************/
  113. /*-------------------
  114. Disabled
  115. --------------------*/
  116. /*-------------------
  117. Hover
  118. --------------------*/
  119. /*--- Colors ---*/
  120. /*--- Emotive ---*/
  121. /*--- Neutrals ---*/
  122. /*-------------------
  123. Down (:active)
  124. --------------------*/
  125. /*--- Colors ---*/
  126. /*--- Emotive ---*/
  127. /*--- Neutrals ---*/
  128. /*-------------------
  129. Active
  130. --------------------*/
  131. /*--- Standard ---*/
  132. /*--- Emotive ---*/
  133. /*--- Neutrals ---*/
  134. /*******************************
  135. Message
  136. *******************************/
  137. /*-------------------
  138. Elements
  139. --------------------*/
  140. /* Header */
  141. /* Paragraph */
  142. /* List */
  143. /* Icon */
  144. /* Close Icon */
  145. /*-------------------
  146. Types
  147. --------------------*/
  148. /* Icon Message */
  149. /* Attached */
  150. /* Floating */
  151. /*-------------------
  152. Variations
  153. --------------------*/
  154. /*------------------
  155. Load Theme
  156. -------------------*/
  157. /*******************************
  158. Site Settings
  159. *******************************/
  160. /*-------------------
  161. Paths
  162. --------------------*/
  163. /*-------------------
  164. Fonts
  165. --------------------*/
  166. /*-------------------
  167. Site Colors
  168. --------------------*/
  169. /*--- Colors ---*/
  170. /*--- Light Colors ---*/
  171. /*-------------------
  172. Page
  173. --------------------*/
  174. /*-------------------
  175. Background Colors
  176. --------------------*/
  177. /* Used for differentiating neutrals */
  178. /* Used for differentiating layers */
  179. /*-------------------
  180. Grid
  181. --------------------*/
  182. /*-------------------
  183. Breakpoints
  184. --------------------*/
  185. /*******************************
  186. Power-User
  187. *******************************/
  188. /*-------------------
  189. Icons
  190. --------------------*/
  191. /* Max Width of Icon */
  192. /*-------------------
  193. Easing
  194. --------------------*/
  195. /*--- Neutrals ---*/
  196. /*--- Colored Backgrounds ---*/
  197. /*--- Colored Text ---*/
  198. /*--- Colored Headers ---*/
  199. /*-------------------
  200. Emotive Colors
  201. --------------------*/
  202. /* Mood */
  203. /* Status */
  204. /*-------------------
  205. Neutral Text
  206. --------------------*/
  207. /*-------------------
  208. Brand Colors
  209. --------------------*/
  210. /*-------------------
  211. Borders
  212. --------------------*/
  213. /*-------------------
  214. Sizes
  215. --------------------*/
  216. /*-------------------
  217. Transitions
  218. --------------------*/
  219. /*-------------------
  220. Derived Values
  221. --------------------*/
  222. /* Makes sure padded grid can fit at 320px */
  223. /* Used to match floats with text */
  224. /* Positive / Negative Dupes */
  225. /* Header Colors */
  226. /* Responsive */
  227. /* Columns */
  228. /*******************************
  229. States
  230. *******************************/
  231. /*-------------------
  232. Disabled
  233. --------------------*/
  234. /*-------------------
  235. Hover
  236. --------------------*/
  237. /*--- Colors ---*/
  238. /*--- Emotive ---*/
  239. /*--- Neutrals ---*/
  240. /*-------------------
  241. Down (:active)
  242. --------------------*/
  243. /*--- Colors ---*/
  244. /*--- Emotive ---*/
  245. /*--- Neutrals ---*/
  246. /*-------------------
  247. Active
  248. --------------------*/
  249. /*--- Standard ---*/
  250. /*--- Emotive ---*/
  251. /*--- Neutrals ---*/
  252. /*******************************
  253. Message
  254. *******************************/
  255. /*-------------------
  256. Elements
  257. --------------------*/
  258. /* Header */
  259. /* Paragraph */
  260. /* List */
  261. /* Icon */
  262. /* Close Icon */
  263. /*-------------------
  264. Types
  265. --------------------*/
  266. /* Icon Message */
  267. /* Attached */
  268. /* Floating */
  269. /*-------------------
  270. Variations
  271. --------------------*/
  272. /*------------------
  273. Load Site
  274. -------------------*/
  275. /*******************************
  276. User Global Variables
  277. *******************************/
  278. /*******************************
  279. User Variable Overrides
  280. *******************************/
  281. /*------------------
  282. Override Loader
  283. -------------------*/
  284. /*******************************
  285. Message
  286. *******************************/
  287. .ui.message {
  288. position: relative;
  289. min-height: 1em;
  290. margin: 1em 0em;
  291. background: #efefef;
  292. padding: 1em 1.5em;
  293. line-height: 1.3;
  294. color: rgba(0, 0, 0, 0.8);
  295. -webkit-transition: opacity 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  296. transition: opacity 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  297. border-radius: 0.25em;
  298. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.15) inset, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  299. }
  300. .ui.message:first-child {
  301. margin-top: 0em;
  302. }
  303. .ui.message:last-child {
  304. margin-bottom: 0em;
  305. }
  306. /*--------------
  307. Content
  308. ---------------*/
  309. /* Header */
  310. .ui.message .header {
  311. display: block;
  312. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  313. font-weight: bold;
  314. margin: 0em 0em 0em 0rem;
  315. }
  316. /* Default font size */
  317. .ui.message .header:not(.ui) {
  318. font-size: 1.1rem;
  319. }
  320. /* Paragraph */
  321. .ui.message p {
  322. opacity: 0.85;
  323. margin: 0.75em 0em;
  324. }
  325. .ui.message p:first-child {
  326. margin-top: 0em;
  327. }
  328. .ui.message p:last-child {
  329. margin-bottom: 0em;
  330. }
  331. .ui.message .header + p {
  332. margin-top: 0.25em;
  333. }
  334. /* List */
  335. .ui.message ul.list {
  336. opacity: 0.85;
  337. list-style-position: inside;
  338. margin: 0.5em 0em 0em;
  339. padding: 0em;
  340. }
  341. .ui.message ul.list:first-child {
  342. margin-top: 0em;
  343. }
  344. .ui.message ul.list:last-child {
  345. margin-bottom: 0em;
  346. }
  347. .ui.message ul.list li {
  348. position: relative;
  349. list-style-type: none;
  350. margin: 0em 0em 0.3em 1em;
  351. padding: 0em;
  352. }
  353. .ui.message ul.list li:before {
  354. position: absolute;
  355. content: '•';
  356. left: -1em;
  357. height: 100%;
  358. vertical-align: baseline;
  359. }
  360. .ui.message ul.list li:last-child {
  361. margin-bottom: 0em;
  362. }
  363. /* Icon */
  364. .ui.message > .icon {
  365. margin-right: 0.6em;
  366. }
  367. /* Close Icon */
  368. .ui.message > .close.icon {
  369. cursor: pointer;
  370. position: absolute;
  371. margin: 0em;
  372. top: 1em;
  373. right: 0.5em;
  374. opacity: 0.7;
  375. -webkit-transition: opacity 0.1s linear
  376. ;
  377. transition: opacity 0.1s linear
  378. ;
  379. }
  380. .ui.message > .close.icon:hover {
  381. opacity: 1;
  382. }
  383. /* First / Last Element */
  384. .ui.message > :first-child {
  385. margin-top: 0em;
  386. }
  387. .ui.message > :last-child {
  388. margin-bottom: 0em;
  389. }
  390. /*******************************
  391. States
  392. *******************************/
  393. .ui.message.visible,
  394. .ui.header.visible {
  395. display: block !important;
  396. }
  397. .ui.message.hidden,
  398. .ui.header.hidden {
  399. display: none;
  400. }
  401. /*******************************
  402. Variations
  403. *******************************/
  404. /*--------------
  405. Compact
  406. ---------------*/
  407. .ui.compact.message {
  408. display: inline-block;
  409. }
  410. /*--------------
  411. Attached
  412. ---------------*/
  413. .ui.attached.message {
  414. margin-bottom: -1px;
  415. border-radius: 0.25em 0.25em 0em 0em;
  416. box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.1) inset;
  417. margin-left: -1px;
  418. margin-right: -1px;
  419. }
  420. .ui.attached + .ui.attached.message:not(.top):not(.bottom) {
  421. margin-top: -1px;
  422. border-radius: 0em;
  423. }
  424. .ui.bottom.attached.message {
  425. margin-top: -1px;
  426. border-radius: 0em 0em 0.25em 0.25em;
  427. box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.1) inset, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  428. }
  429. .ui.bottom.attached.message:not(:last-child) {
  430. margin-bottom: 1em;
  431. }
  432. .ui.attached.icon.message {
  433. display: block;
  434. width: auto;
  435. }
  436. /*--------------
  437. Icon
  438. ---------------*/
  439. .ui.icon.message {
  440. display: table;
  441. width: 100%;
  442. }
  443. .ui.icon.message > .icon:not(.close) {
  444. display: table-cell;
  445. vertical-align: middle;
  446. font-size: 3em;
  447. opacity: 0.8;
  448. width: 1em;
  449. }
  450. .ui.icon.message > .content {
  451. display: table-cell;
  452. vertical-align: middle;
  453. }
  454. .ui.icon.message .icon:not(.close) + .content {
  455. padding-left: 1.5rem;
  456. }
  457. .ui.icon.message .circular.icon + .content {
  458. padding-left: 2em;
  459. }
  460. /*--------------
  461. Floating
  462. ---------------*/
  463. .ui.floating.message {
  464. box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.15), 0px 0px 0px 1px rgba(0, 0, 0, 0.15) inset;
  465. }
  466. /*--------------
  467. Colors
  468. ---------------*/
  469. .ui.black.message {
  470. background-color: #1b1c1d;
  471. color: #ffffff;
  472. }
  473. /*--------------
  474. Types
  475. ---------------*/
  476. /* Positive */
  477. .ui.positive.message {
  478. background-color: #e4f5dd;
  479. color: #3c763d;
  480. }
  481. .ui.positive.message,
  482. .ui.attached.positive.message {
  483. box-shadow: 0px 0px 0px 1px #b7caa7 inset, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  484. }
  485. .ui.positive.message .header {
  486. color: #336534;
  487. }
  488. /* Negative */
  489. .ui.negative.message {
  490. background-color: #fae8e8;
  491. color: #a94442;
  492. }
  493. .ui.negative.message,
  494. .ui.attached.negative.message {
  495. box-shadow: 0px 0px 0px 1px #dbb1b1 inset, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  496. }
  497. .ui.negative.message .header {
  498. color: #973d3b;
  499. }
  500. /* Info */
  501. .ui.info.message {
  502. background-color: #e5f6fb;
  503. color: #337b92;
  504. }
  505. .ui.info.message,
  506. .ui.attached.info.message {
  507. box-shadow: 0px 0px 0px 1px #aad6df inset, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  508. }
  509. .ui.info.message .header {
  510. color: #2c6b7f;
  511. }
  512. /* Warning */
  513. .ui.warning.message {
  514. background-color: #fcf8e3;
  515. color: #8a6d3b;
  516. }
  517. .ui.warning.message,
  518. .ui.attached.warning.message {
  519. box-shadow: 0px 0px 0px 1px #d3c4a5 inset, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  520. }
  521. .ui.warning.message .header {
  522. color: #785f33;
  523. }
  524. /* Error */
  525. .ui.error.message {
  526. background-color: #fae8e8;
  527. color: #a94442;
  528. }
  529. .ui.error.message,
  530. .ui.attached.error.message {
  531. box-shadow: 0px 0px 0px 1px #dbb1b1 inset, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  532. }
  533. .ui.error.message .header {
  534. color: #973d3b;
  535. }
  536. /* Success */
  537. .ui.success.message {
  538. background-color: #e4f5dd;
  539. color: #3c763d;
  540. }
  541. .ui.success.message,
  542. .ui.attached.success.message {
  543. box-shadow: 0px 0px 0px 1px #b7caa7 inset, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  544. }
  545. .ui.success.message .header {
  546. color: #336534;
  547. }
  548. /* Colors */
  549. .ui.inverted.message,
  550. .ui.black.message {
  551. background-color: #1b1c1d;
  552. color: #ffffff;
  553. }
  554. .ui.blue.message {
  555. background-color: #d3e4f3;
  556. color: #3b83c0;
  557. }
  558. .ui.blue.message .header {
  559. color: #3576ac;
  560. }
  561. .ui.green.message {
  562. background-color: #def2e0;
  563. color: #1ebc30;
  564. }
  565. .ui.green.message .header {
  566. color: #1aa62a;
  567. }
  568. .ui.orange.message {
  569. background-color: #f7e5d6;
  570. color: #e07b53;
  571. }
  572. .ui.orange.message .header {
  573. color: #dc6a3d;
  574. }
  575. .ui.pink.message {
  576. background-color: #f9cee6;
  577. color: #d9499a;
  578. }
  579. .ui.pink.message .header {
  580. color: #d5348e;
  581. }
  582. .ui.purple.message {
  583. background-color: #e0ddf5;
  584. color: #564f8a;
  585. }
  586. .ui.purple.message .header {
  587. color: #4c467a;
  588. }
  589. .ui.red.message {
  590. background-color: #f8d5d3;
  591. color: #d95c5c;
  592. }
  593. .ui.red.message .header {
  594. color: #d44747;
  595. }
  596. .ui.teal.message {
  597. background-color: #d2f5f5;
  598. color: #10a3a3;
  599. }
  600. .ui.teal.message .header {
  601. color: #0e8c8c;
  602. }
  603. .ui.yellow.message {
  604. background-color: #fcf5d8;
  605. color: #b58105;
  606. }
  607. .ui.yellow.message .header {
  608. color: #9c6f04;
  609. }
  610. /*--------------
  611. Sizes
  612. ---------------*/
  613. .ui.small.message {
  614. font-size: 0.875em;
  615. }
  616. .ui.message {
  617. font-size: 1em;
  618. }
  619. .ui.large.message {
  620. font-size: 1.125em;
  621. }
  622. .ui.huge.message {
  623. font-size: 1.5em;
  624. }
  625. .ui.massive.message {
  626. font-size: 2em;
  627. }
  628. /*******************************
  629. Overrides
  630. *******************************/
  631. /*******************************
  632. User Variable Overrides
  633. *******************************/