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.

550 lines
13 KiB

10 years ago
10 years ago
10 years ago
  1. /*
  2. * # Semantic - Segment
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2013 Contributors
  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. Global Variables
  41. *******************************/
  42. /*-------------------
  43. Paths
  44. --------------------*/
  45. /*-------------------
  46. Page
  47. --------------------*/
  48. /*-------------------
  49. Grid
  50. --------------------*/
  51. /*-------------------
  52. Breakpoints
  53. --------------------*/
  54. /*-------------------
  55. Fonts
  56. --------------------*/
  57. /*-------------------
  58. Icons
  59. --------------------*/
  60. /* Max Width of Icon */
  61. /*-------------------
  62. Easing
  63. --------------------*/
  64. /*******************************
  65. BG Colors
  66. *******************************/
  67. /*******************************
  68. Colors
  69. *******************************/
  70. /*--- Colors ---*/
  71. /*--- Neutrals ---*/
  72. /*--- Text Colors ---*/
  73. /* Preserve */
  74. /* Adjust for Legibility */
  75. /*--- Backgrounds ---*/
  76. /*-------------------
  77. Emotive Colors
  78. --------------------*/
  79. /* Positive / Negative */
  80. /* Messages */
  81. /*-------------------
  82. Text Colors
  83. --------------------*/
  84. /*-------------------
  85. Brand Colors
  86. --------------------*/
  87. /*-------------------
  88. Borders
  89. --------------------*/
  90. /*-------------------
  91. Sizes
  92. --------------------*/
  93. /*-------------------
  94. Transitions
  95. --------------------*/
  96. /*******************************
  97. States
  98. *******************************/
  99. /*-------------------
  100. Disabled
  101. --------------------*/
  102. /*-------------------
  103. Hover
  104. --------------------*/
  105. /*--- Colors ---*/
  106. /*--- Emotive ---*/
  107. /*--- Neutrals ---*/
  108. /*-------------------
  109. Down (:active)
  110. --------------------*/
  111. /*--- Colors ---*/
  112. /*--- Emotive ---*/
  113. /*--- Neutrals ---*/
  114. /*-------------------
  115. Active
  116. --------------------*/
  117. /*--- Standard ---*/
  118. /*--- Emotive ---*/
  119. /*--- Neutrals ---*/
  120. /*******************************
  121. Standard
  122. *******************************/
  123. /*-------------------
  124. Segment
  125. --------------------*/
  126. /*-------------------
  127. Coupling
  128. --------------------*/
  129. /* Page Grid Segment */
  130. /*******************************
  131. Variations
  132. *******************************/
  133. /* Piled */
  134. /* Circular */
  135. /* Stacked */
  136. /* Raised */
  137. /* Colors */
  138. /* Ordinality */
  139. /*------------------
  140. Load Theme
  141. -------------------*/
  142. /*------------------
  143. Load Site
  144. -------------------*/
  145. /*******************************
  146. User Global Variables
  147. *******************************/
  148. /*******************************
  149. User Variable Overrides
  150. *******************************/
  151. /*------------------
  152. Override Mix-in
  153. -------------------*/
  154. /*******************************
  155. Segment
  156. *******************************/
  157. .ui.segment {
  158. position: relative;
  159. background-color: #ffffff;
  160. -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
  161. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
  162. margin: 1em 0em;
  163. padding: 1em 1em;
  164. border-radius: 0.25em;
  165. border: none;
  166. -webkit-box-sizing: border-box;
  167. -moz-box-sizing: border-box;
  168. box-sizing: border-box;
  169. }
  170. .ui.segment:first-child {
  171. margin-top: 0em;
  172. }
  173. .ui.segment:last-child {
  174. margin-bottom: 0em;
  175. }
  176. .ui.segment:after {
  177. content: '';
  178. display: block;
  179. height: 0px;
  180. clear: both;
  181. visibility: hidden;
  182. }
  183. .ui.vertical.segment {
  184. margin: 0em;
  185. padding-left: 0em;
  186. padding-right: 0em;
  187. background-color: transparent;
  188. border-radius: 0px;
  189. border: none;
  190. -webkit-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
  191. box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
  192. }
  193. .ui.vertical.segment:first-child {
  194. padding-top: 0em;
  195. }
  196. .ui.horizontal.segment {
  197. margin: 0em;
  198. padding-top: 0em;
  199. padding-bottom: 0em;
  200. background-color: transparent;
  201. border-radius: 0px;
  202. border: none;
  203. -webkit-box-shadow: 1px 0px 0px rgba(0, 0, 0, 0.1);
  204. box-shadow: 1px 0px 0px rgba(0, 0, 0, 0.1);
  205. }
  206. .ui.horizontal.segment:first-child {
  207. padding-left: 0em;
  208. }
  209. /*-------------------
  210. Loose Coupling
  211. --------------------*/
  212. .ui.pointing.menu + .ui.attached.segment {
  213. top: 1px;
  214. }
  215. .ui.page.grid.segment,
  216. .ui.grid .ui.segment.column {
  217. padding-top: 2em;
  218. padding-bottom: 2em;
  219. }
  220. .ui.grid.segment,
  221. .ui.grid .ui.segment.row,
  222. .ui.grid .ui.segment.column {
  223. border-radius: 0em;
  224. -webkit-box-shadow: none;
  225. box-shadow: none;
  226. border: none;
  227. }
  228. /* No padding on edge content */
  229. .ui.segment > :first-child {
  230. margin-top: 0em;
  231. }
  232. .ui.segment > :last-child {
  233. margin-bottom: 0em;
  234. }
  235. /*******************************
  236. Types
  237. *******************************/
  238. /*-------------------
  239. Piled
  240. --------------------*/
  241. .ui.piled.segment {
  242. margin: 2em 0em;
  243. -webkit-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.1);
  244. box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.1);
  245. }
  246. .ui.piled.segment:first-child {
  247. margin-top: 0em;
  248. }
  249. .ui.piled.segment:last-child {
  250. margin-bottom: 0em;
  251. }
  252. .ui.piled.segment:after,
  253. .ui.piled.segment:before {
  254. background-color: #ffffff;
  255. visibility: visible;
  256. content: "";
  257. display: block;
  258. height: 100%;
  259. left: -1px;
  260. position: absolute;
  261. width: 100%;
  262. -webkit-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.1);
  263. box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.1);
  264. }
  265. .ui.piled.segment:after {
  266. -webkit-transform: rotate(1.2deg);
  267. -ms-transform: rotate(1.2deg);
  268. transform: rotate(1.2deg);
  269. top: 0;
  270. z-index: -1;
  271. }
  272. .ui.piled.segment:before {
  273. -webkit-transform: rotate(-1.2deg);
  274. -ms-transform: rotate(-1.2deg);
  275. transform: rotate(-1.2deg);
  276. top: 0;
  277. z-index: -2;
  278. }
  279. /*-------------------
  280. Stacked
  281. --------------------*/
  282. .ui.stacked.segment {
  283. padding-bottom: 1.7em;
  284. }
  285. .ui.stacked.segment:after,
  286. .ui.stacked.segment:before {
  287. content: '';
  288. position: absolute;
  289. bottom: -3px;
  290. left: 0%;
  291. border-top: 1px solid rgba(0, 0, 0, 0.1);
  292. background-color: rgba(0, 0, 0, 0.01);
  293. width: 100%;
  294. height: 5px;
  295. visibility: visible;
  296. }
  297. .ui.stacked.segment:before {
  298. bottom: 0px;
  299. }
  300. /* Inverted */
  301. .ui.stacked.inverted.segment:after,
  302. .ui.stacked.inverted.segment:before {
  303. background-color: rgba(0, 0, 0, 0.01);
  304. border-top: 1px solid rgba(0, 0, 0, 0.2);
  305. }
  306. /*-------------------
  307. Circular
  308. --------------------*/
  309. .ui.circular.segment {
  310. display: table-cell;
  311. padding: 2em;
  312. text-align: center;
  313. vertical-align: middle;
  314. border-radius: 500em;
  315. }
  316. /*-------------------
  317. Raised
  318. --------------------*/
  319. .ui.raised.segment {
  320. -webkit-box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.1);
  321. box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.1);
  322. }
  323. /*******************************
  324. States
  325. *******************************/
  326. .ui.disabled.segment {
  327. opacity: 0.3;
  328. color: rgba(0, 0, 0, 0.2);
  329. }
  330. /*******************************
  331. Variations
  332. *******************************/
  333. /*-------------------
  334. Basic
  335. --------------------*/
  336. .ui.basic.segment {
  337. position: relative;
  338. background-color: transparent;
  339. -webkit-box-shadow: none;
  340. box-shadow: none;
  341. border-radius: 0px;
  342. }
  343. .ui.basic.segment:first-child {
  344. padding-top: 0em;
  345. }
  346. .ui.basic.segment:last-child {
  347. padding-bottom: 0em;
  348. }
  349. /*-------------------
  350. Fittted
  351. --------------------*/
  352. .ui.fitted.segment {
  353. padding: 0em;
  354. }
  355. /*-------------------
  356. Colors
  357. --------------------*/
  358. .ui.black.segment {
  359. border-top: 0.2em solid #333333;
  360. border-radius: 0em;
  361. }
  362. .ui.blue.segment {
  363. border-top: 0.2em solid #0074d9;
  364. border-radius: 0em;
  365. }
  366. .ui.green.segment {
  367. border-top: 0.2em solid #2ecc40;
  368. border-radius: 0em;
  369. }
  370. .ui.orange.segment {
  371. border-top: 0.2em solid #ff851b;
  372. border-radius: 0em;
  373. }
  374. .ui.pink.segment {
  375. border-top: 0.2em solid #d9499a;
  376. border-radius: 0em;
  377. }
  378. .ui.purple.segment {
  379. border-top: 0.2em solid #564f8a;
  380. border-radius: 0em;
  381. }
  382. .ui.red.segment {
  383. border-top: 0.2em solid #ff4136;
  384. border-radius: 0em;
  385. }
  386. .ui.teal.segment {
  387. border-top: 0.2em solid #39cccc;
  388. border-radius: 0em;
  389. }
  390. .ui.yellow.segment {
  391. border-top: 0.2em solid #ffcb08;
  392. border-radius: 0em;
  393. }
  394. /*-------------------
  395. Inverted Colors
  396. --------------------*/
  397. .ui.inverted.segment,
  398. .ui.inverted.black.segment {
  399. background-color: #333333 !important;
  400. color: #ffffff !important;
  401. }
  402. .ui.inverted.blue.segment {
  403. background-color: #0074d9 !important;
  404. color: #ffffff !important;
  405. }
  406. .ui.inverted.green.segment {
  407. background-color: #2ecc40 !important;
  408. color: #ffffff !important;
  409. }
  410. .ui.inverted.orange.segment {
  411. background-color: #ff851b !important;
  412. color: #ffffff !important;
  413. }
  414. .ui.inverted.pink.segment {
  415. background-color: #d9499a !important;
  416. color: #ffffff !important;
  417. }
  418. .ui.inverted.purple.segment {
  419. background-color: #564f8a !important;
  420. color: #ffffff !important;
  421. }
  422. .ui.inverted.red.segment {
  423. background-color: #ff4136 !important;
  424. color: #ffffff !important;
  425. }
  426. .ui.inverted.teal.segment {
  427. background-color: #39cccc !important;
  428. color: #ffffff !important;
  429. }
  430. .ui.inverted.yellow.segment {
  431. background-color: #ffcb08 !important;
  432. color: #ffffff !important;
  433. }
  434. /*-------------------
  435. Aligned
  436. --------------------*/
  437. .ui.left.aligned.segment {
  438. text-align: left;
  439. }
  440. .ui.right.aligned.segment {
  441. text-align: right;
  442. }
  443. .ui.center.aligned.segment {
  444. text-align: center;
  445. }
  446. .ui.justified.segment {
  447. text-align: justify;
  448. -webkit-hyphens: auto;
  449. -moz-hyphens: auto;
  450. -ms-hyphens: auto;
  451. hyphens: auto;
  452. }
  453. /*-------------------
  454. Floated
  455. --------------------*/
  456. .ui.floated.segment,
  457. .ui.left.floated.segment {
  458. float: left;
  459. }
  460. .ui.right.floated.segment {
  461. float: right;
  462. }
  463. /*-------------------
  464. Inverted
  465. --------------------*/
  466. .ui.inverted.segment {
  467. border: none;
  468. -webkit-box-shadow: none;
  469. box-shadow: none;
  470. }
  471. .ui.inverted.segment .segment {
  472. color: rgba(0, 0, 0, 0.8);
  473. }
  474. .ui.inverted.segment .inverted.segment {
  475. color: #ffffff;
  476. }
  477. .ui.inverted.segment,
  478. .ui.primary.inverted.segment {
  479. background-color: #333333;
  480. color: #ffffff;
  481. }
  482. /*-------------------
  483. Ordinality
  484. --------------------*/
  485. .ui.secondary.segment {
  486. background-color: #faf9fa;
  487. color: rgba(0, 0, 0, 0.8);
  488. }
  489. .ui.tertiary.segment {
  490. background-color: #ebebeb;
  491. color: rgba(0, 0, 0, 0.8);
  492. }
  493. .ui.secondary.inverted.segment {
  494. background-color: #333333;
  495. background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.3)), to(rgba(255, 255, 255, 0.3)));
  496. background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
  497. background-image: linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
  498. color: #fafafa;
  499. }
  500. .ui.tertiary.inverted.segment {
  501. background-color: #333333;
  502. background-image: #f0f0f0;
  503. color: #f0f0f0;
  504. }
  505. /*-------------------
  506. Attached
  507. --------------------*/
  508. .ui.segment.attached {
  509. top: -1px;
  510. bottom: -1px;
  511. margin: 0em;
  512. border-radius: 0px;
  513. -webkit-box-shadow: 0px 0px 0px 1px #dddddd;
  514. box-shadow: 0px 0px 0px 1px #dddddd;
  515. }
  516. .ui.top.attached.segment {
  517. top: 0px;
  518. bottom: -1px;
  519. margin-top: 1em;
  520. margin-bottom: 0em;
  521. border-radius: 0.25em 0.25em 0em 0em;
  522. }
  523. .ui.segment.top.attached:first-child {
  524. margin-top: 0em;
  525. }
  526. .ui.segment.bottom.attached {
  527. top: -1px;
  528. bottom: 0px;
  529. margin-top: 0em;
  530. margin-bottom: 1em;
  531. border-radius: 0px 0px 0.25em 0.25em;
  532. }
  533. .ui.segment.bottom.attached:last-child {
  534. margin-bottom: 0em;
  535. }
  536. /*******************************
  537. Overrides
  538. *******************************/
  539. /*******************************
  540. Overrides
  541. *******************************/