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.

547 lines
13 KiB

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