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.

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