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.

538 lines
13 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
11 years ago
  1. /*
  2. * # Semantic - Segment
  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. /*-------------------
  53. Page
  54. --------------------*/
  55. /*-------------------
  56. Background Colors
  57. --------------------*/
  58. /* Used for differentiating neutrals */
  59. /* Used for differentiating layers */
  60. /*-------------------
  61. Grid
  62. --------------------*/
  63. /*-------------------
  64. Breakpoints
  65. --------------------*/
  66. /*******************************
  67. Power-User
  68. *******************************/
  69. /*-------------------
  70. Icons
  71. --------------------*/
  72. /* Max Width of Icon */
  73. /*-------------------
  74. Easing
  75. --------------------*/
  76. /*--- Light Variations ---*/
  77. /*--- Neutrals ---*/
  78. /*--- Colored Backgrounds ---*/
  79. /*--- Colored Text ---*/
  80. /*--- Colored Headers ---*/
  81. /*-------------------
  82. Emotive Colors
  83. --------------------*/
  84. /* Mood */
  85. /* Solid Background Color */
  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. Segment
  132. *******************************/
  133. /*-------------------
  134. Element
  135. --------------------*/
  136. /*-------------------
  137. Coupling
  138. --------------------*/
  139. /* Page Grid Segment */
  140. /*******************************
  141. Variations
  142. *******************************/
  143. /* Piled */
  144. /* Circular */
  145. /* Stacked */
  146. /* Raised */
  147. /* Attached */
  148. /* Colors */
  149. /* Ordinality */
  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 Mix-in
  164. -------------------*/
  165. /*******************************
  166. Segment
  167. *******************************/
  168. .ui.segment {
  169. position: relative;
  170. background-color: #ffffff;
  171. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1), 0px 2px 1px 0 rgba(0, 0, 0, 0.05);
  172. margin: 1em 0em;
  173. padding: 1em 1em;
  174. border-radius: 0.25em;
  175. border: none;
  176. box-sizing: border-box;
  177. }
  178. .ui.segment:first-child {
  179. margin-top: 0em;
  180. }
  181. .ui.segment:last-child {
  182. margin-bottom: 0em;
  183. }
  184. .ui.segment:after {
  185. content: '';
  186. display: block;
  187. height: 0px;
  188. clear: both;
  189. visibility: hidden;
  190. }
  191. .ui.vertical.segment {
  192. margin: 0em;
  193. padding-left: 0em;
  194. padding-right: 0em;
  195. background-color: transparent;
  196. border-radius: 0px;
  197. border: none;
  198. box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
  199. }
  200. .ui.vertical.segment:first-child {
  201. padding-top: 0em;
  202. }
  203. .ui.horizontal.segment {
  204. margin: 0em;
  205. padding-top: 0em;
  206. padding-bottom: 0em;
  207. background-color: transparent;
  208. border-radius: 0px;
  209. border: none;
  210. box-shadow: 1px 0px 0px rgba(0, 0, 0, 0.1);
  211. }
  212. .ui.horizontal.segment:first-child {
  213. padding-left: 0em;
  214. }
  215. /*-------------------
  216. Loose Coupling
  217. --------------------*/
  218. .ui.pointing.menu + .ui.attached.segment {
  219. top: 1px;
  220. }
  221. .ui.page.grid.segment,
  222. .ui.grid .ui.segment.column {
  223. padding-top: 2em;
  224. padding-bottom: 2em;
  225. }
  226. .ui.grid.segment,
  227. .ui.grid .ui.segment.row,
  228. .ui.grid .ui.segment.column {
  229. border-radius: 0em;
  230. box-shadow: none;
  231. border: none;
  232. }
  233. /*******************************
  234. Types
  235. *******************************/
  236. /*-------------------
  237. Piled
  238. --------------------*/
  239. .ui.piled.segment {
  240. margin: 2em 0em;
  241. box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.1);
  242. }
  243. .ui.piled.segment:first-child {
  244. margin-top: 0em;
  245. }
  246. .ui.piled.segment:last-child {
  247. margin-bottom: 0em;
  248. }
  249. .ui.piled.segment:after,
  250. .ui.piled.segment:before {
  251. background-color: #ffffff;
  252. visibility: visible;
  253. content: "";
  254. display: block;
  255. height: 100%;
  256. left: -1px;
  257. position: absolute;
  258. width: 100%;
  259. box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.1);
  260. }
  261. .ui.piled.segment:after {
  262. -webkit-transform: rotate(1.2deg);
  263. -ms-transform: rotate(1.2deg);
  264. transform: rotate(1.2deg);
  265. top: 0;
  266. z-index: -1;
  267. }
  268. .ui.piled.segment:before {
  269. -webkit-transform: rotate(-1.2deg);
  270. -ms-transform: rotate(-1.2deg);
  271. transform: rotate(-1.2deg);
  272. top: 0;
  273. z-index: -2;
  274. }
  275. /*-------------------
  276. Stacked
  277. --------------------*/
  278. .ui.stacked.segment {
  279. padding-bottom: 1.7em;
  280. }
  281. .ui.stacked.segment:after,
  282. .ui.stacked.segment:before {
  283. content: '';
  284. position: absolute;
  285. bottom: -3px;
  286. left: 0%;
  287. border-top: 1px solid rgba(0, 0, 0, 0.1);
  288. background-color: rgba(0, 0, 0, 0.03);
  289. width: 100%;
  290. height: 5px;
  291. visibility: visible;
  292. }
  293. .ui.stacked.segment:before {
  294. bottom: 0px;
  295. }
  296. /* Inverted */
  297. .ui.stacked.inverted.segment:after,
  298. .ui.stacked.inverted.segment:before {
  299. background-color: rgba(0, 0, 0, 0.03);
  300. border-top: 1px solid rgba(0, 0, 0, 0.2);
  301. }
  302. /*-------------------
  303. Circular
  304. --------------------*/
  305. .ui.circular.segment {
  306. display: table-cell;
  307. padding: 2em;
  308. text-align: center;
  309. vertical-align: middle;
  310. border-radius: 500em;
  311. }
  312. /*-------------------
  313. Raised
  314. --------------------*/
  315. .ui.raised.segment {
  316. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1), 0px 1px 4px 0px rgba(0, 0, 0, 0.15);
  317. }
  318. /*******************************
  319. States
  320. *******************************/
  321. .ui.disabled.segment {
  322. opacity: 0.3;
  323. color: rgba(0, 0, 0, 0.2);
  324. }
  325. /*******************************
  326. Variations
  327. *******************************/
  328. /*-------------------
  329. Basic
  330. --------------------*/
  331. .ui.basic.segment {
  332. position: relative;
  333. background-color: transparent;
  334. box-shadow: none;
  335. border-radius: 0px;
  336. }
  337. .ui.basic.segment:first-child {
  338. padding-top: 0em;
  339. }
  340. .ui.basic.segment:last-child {
  341. padding-bottom: 0em;
  342. }
  343. /*-------------------
  344. Fittted
  345. --------------------*/
  346. .ui.fitted.segment {
  347. padding: 0em;
  348. }
  349. /*-------------------
  350. Colors
  351. --------------------*/
  352. .ui.black.segment:not(.inverted) {
  353. border-top: 2px solid #191919;
  354. border-radius: 0em 0em 0.25em 0.25em !important;
  355. }
  356. .ui.blue.segment:not(.inverted) {
  357. border-top: 2px solid #0074d9;
  358. border-radius: 0em 0em 0.25em 0.25em !important;
  359. }
  360. .ui.green.segment:not(.inverted) {
  361. border-top: 2px solid #2ecc40;
  362. border-radius: 0em 0em 0.25em 0.25em !important;
  363. }
  364. .ui.orange.segment:not(.inverted) {
  365. border-top: 2px solid #ff851b;
  366. border-radius: 0em 0em 0.25em 0.25em !important;
  367. }
  368. .ui.pink.segment:not(.inverted) {
  369. border-top: 2px solid #d9499a;
  370. border-radius: 0em 0em 0.25em 0.25em !important;
  371. }
  372. .ui.purple.segment:not(.inverted) {
  373. border-top: 2px solid #a24096;
  374. border-radius: 0em 0em 0.25em 0.25em !important;
  375. }
  376. .ui.red.segment:not(.inverted) {
  377. border-top: 2px solid #ff4136;
  378. border-radius: 0em 0em 0.25em 0.25em !important;
  379. }
  380. .ui.teal.segment:not(.inverted) {
  381. border-top: 2px solid #39cccc;
  382. border-radius: 0em 0em 0.25em 0.25em !important;
  383. }
  384. .ui.yellow.segment:not(.inverted) {
  385. border-top: 2px solid #ffcb08;
  386. border-radius: 0em 0em 0.25em 0.25em !important;
  387. }
  388. /*-------------------
  389. Inverted Colors
  390. --------------------*/
  391. .ui.inverted.segment,
  392. .ui.inverted.black.segment {
  393. background-color: #191919 !important;
  394. color: #ffffff !important;
  395. }
  396. .ui.inverted.blue.segment {
  397. background-color: #0074d9 !important;
  398. color: #ffffff !important;
  399. }
  400. .ui.inverted.green.segment {
  401. background-color: #2ecc40 !important;
  402. color: #ffffff !important;
  403. }
  404. .ui.inverted.orange.segment {
  405. background-color: #ff851b !important;
  406. color: #ffffff !important;
  407. }
  408. .ui.inverted.pink.segment {
  409. background-color: #d9499a !important;
  410. color: #ffffff !important;
  411. }
  412. .ui.inverted.purple.segment {
  413. background-color: #a24096 !important;
  414. color: #ffffff !important;
  415. }
  416. .ui.inverted.red.segment {
  417. background-color: #ff4136 !important;
  418. color: #ffffff !important;
  419. }
  420. .ui.inverted.teal.segment {
  421. background-color: #39cccc !important;
  422. color: #ffffff !important;
  423. }
  424. .ui.inverted.yellow.segment {
  425. background-color: #ffcb08 !important;
  426. color: #ffffff !important;
  427. }
  428. /*-------------------
  429. Aligned
  430. --------------------*/
  431. .ui.left.aligned.segment {
  432. text-align: left;
  433. }
  434. .ui.right.aligned.segment {
  435. text-align: right;
  436. }
  437. .ui.center.aligned.segment {
  438. text-align: center;
  439. }
  440. /*-------------------
  441. Floated
  442. --------------------*/
  443. .ui.floated.segment,
  444. .ui.left.floated.segment {
  445. float: left;
  446. }
  447. .ui.right.floated.segment {
  448. float: right;
  449. }
  450. /*-------------------
  451. Inverted
  452. --------------------*/
  453. .ui.inverted.segment {
  454. border: none;
  455. box-shadow: none;
  456. }
  457. .ui.inverted.segment .segment {
  458. color: rgba(0, 0, 0, 0.8);
  459. }
  460. .ui.inverted.segment .inverted.segment {
  461. color: #ffffff;
  462. }
  463. .ui.inverted.segment,
  464. .ui.primary.inverted.segment {
  465. background-color: #191919;
  466. color: #ffffff;
  467. }
  468. .ui.inverted.block.segment,
  469. .ui.inverted.attached.segment {
  470. box-shadow: none !important;
  471. }
  472. /*-------------------
  473. Ordinality
  474. --------------------*/
  475. .ui.secondary.segment {
  476. background: #faf9fa;
  477. color: rgba(0, 0, 0, 0.8);
  478. }
  479. .ui.tertiary.segment {
  480. background: #ebebeb;
  481. color: rgba(0, 0, 0, 0.8);
  482. }
  483. .ui.secondary.inverted.segment {
  484. background: -webkit-linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
  485. background: linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
  486. color: #fafafa;
  487. }
  488. .ui.tertiary.inverted.segment {
  489. background: -webkit-linear-gradient(rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%);
  490. background: linear-gradient(rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%);
  491. color: #f0f0f0;
  492. }
  493. /*-------------------
  494. Attached
  495. --------------------*/
  496. .ui.segment.attached {
  497. top: 0px;
  498. bottom: 0px;
  499. margin: 0em;
  500. border-radius: 0px;
  501. box-shadow: 0px 0px 0px 1px #dddddd;
  502. }
  503. .ui.top.attached.segment {
  504. top: -1px;
  505. bottom: 0px;
  506. margin-top: 1em;
  507. margin-bottom: 0em;
  508. border-radius: 0.25em 0.25em 0em 0em;
  509. }
  510. .ui.segment.top.attached:first-child {
  511. margin-top: 0em;
  512. }
  513. .ui.segment.bottom.attached {
  514. top: 1px;
  515. bottom: 0px;
  516. margin-top: 0em;
  517. margin-bottom: 1em;
  518. box-shadow: 0px 0px 0px 1px #dddddd, 0px 2px 1px 0 rgba(0, 0, 0, 0.05);
  519. border-radius: 0em 0em 0.25em 0.25em;
  520. }
  521. .ui.segment.bottom.attached:last-child {
  522. margin-bottom: 0em;
  523. }
  524. /*******************************
  525. Overrides
  526. *******************************/
  527. /*******************************
  528. Overrides
  529. *******************************/