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.

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