segment.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817
  1. /*!
  2. * # Semantic UI 2.3.3 - Segment
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Released under the MIT license
  7. * http://opensource.org/licenses/MIT
  8. *
  9. */
  10. /*******************************
  11. Segment
  12. *******************************/
  13. .ui.segment {
  14. position: relative;
  15. background: #FFFFFF;
  16. -webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
  17. box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
  18. margin: 1rem 0em;
  19. padding: 1em 1em;
  20. border-radius: 0.28571429rem;
  21. border: 1px solid rgba(34, 36, 38, 0.15);
  22. }
  23. .ui.segment:first-child {
  24. margin-top: 0em;
  25. }
  26. .ui.segment:last-child {
  27. margin-bottom: 0em;
  28. }
  29. /* Vertical */
  30. .ui.vertical.segment {
  31. margin: 0em;
  32. padding-left: 0em;
  33. padding-right: 0em;
  34. background: none transparent;
  35. border-radius: 0px;
  36. -webkit-box-shadow: none;
  37. box-shadow: none;
  38. border: none;
  39. border-bottom: 1px solid rgba(34, 36, 38, 0.15);
  40. }
  41. .ui.vertical.segment:last-child {
  42. border-bottom: none;
  43. }
  44. /*-------------------
  45. Loose Coupling
  46. --------------------*/
  47. /* Header */
  48. .ui.inverted.segment > .ui.header {
  49. color: #FFFFFF;
  50. }
  51. /* Label */
  52. .ui[class*="bottom attached"].segment > [class*="top attached"].label {
  53. border-top-left-radius: 0em;
  54. border-top-right-radius: 0em;
  55. }
  56. .ui[class*="top attached"].segment > [class*="bottom attached"].label {
  57. border-bottom-left-radius: 0em;
  58. border-bottom-right-radius: 0em;
  59. }
  60. .ui.attached.segment:not(.top):not(.bottom) > [class*="top attached"].label {
  61. border-top-left-radius: 0em;
  62. border-top-right-radius: 0em;
  63. }
  64. .ui.attached.segment:not(.top):not(.bottom) > [class*="bottom attached"].label {
  65. border-bottom-left-radius: 0em;
  66. border-bottom-right-radius: 0em;
  67. }
  68. /* Grid */
  69. .ui.page.grid.segment,
  70. .ui.grid > .row > .ui.segment.column,
  71. .ui.grid > .ui.segment.column {
  72. padding-top: 2em;
  73. padding-bottom: 2em;
  74. }
  75. .ui.grid.segment {
  76. margin: 1rem 0em;
  77. border-radius: 0.28571429rem;
  78. }
  79. /* Table */
  80. .ui.basic.table.segment {
  81. background: #FFFFFF;
  82. border: 1px solid rgba(34, 36, 38, 0.15);
  83. -webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
  84. box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
  85. }
  86. .ui[class*="very basic"].table.segment {
  87. padding: 1em 1em;
  88. }
  89. /*******************************
  90. Types
  91. *******************************/
  92. /*-------------------
  93. Piled
  94. --------------------*/
  95. .ui.piled.segments,
  96. .ui.piled.segment {
  97. margin: 3em 0em;
  98. -webkit-box-shadow: '';
  99. box-shadow: '';
  100. z-index: auto;
  101. }
  102. .ui.piled.segment:first-child {
  103. margin-top: 0em;
  104. }
  105. .ui.piled.segment:last-child {
  106. margin-bottom: 0em;
  107. }
  108. .ui.piled.segments:after,
  109. .ui.piled.segments:before,
  110. .ui.piled.segment:after,
  111. .ui.piled.segment:before {
  112. background-color: #FFFFFF;
  113. visibility: visible;
  114. content: '';
  115. display: block;
  116. height: 100%;
  117. left: 0px;
  118. position: absolute;
  119. width: 100%;
  120. border: 1px solid rgba(34, 36, 38, 0.15);
  121. -webkit-box-shadow: '';
  122. box-shadow: '';
  123. }
  124. .ui.piled.segments:before,
  125. .ui.piled.segment:before {
  126. -webkit-transform: rotate(-1.2deg);
  127. transform: rotate(-1.2deg);
  128. top: 0;
  129. z-index: -2;
  130. }
  131. .ui.piled.segments:after,
  132. .ui.piled.segment:after {
  133. -webkit-transform: rotate(1.2deg);
  134. transform: rotate(1.2deg);
  135. top: 0;
  136. z-index: -1;
  137. }
  138. /* Piled Attached */
  139. .ui[class*="top attached"].piled.segment {
  140. margin-top: 3em;
  141. margin-bottom: 0em;
  142. }
  143. .ui.piled.segment[class*="top attached"]:first-child {
  144. margin-top: 0em;
  145. }
  146. .ui.piled.segment[class*="bottom attached"] {
  147. margin-top: 0em;
  148. margin-bottom: 3em;
  149. }
  150. .ui.piled.segment[class*="bottom attached"]:last-child {
  151. margin-bottom: 0em;
  152. }
  153. /*-------------------
  154. Stacked
  155. --------------------*/
  156. .ui.stacked.segment {
  157. padding-bottom: 1.4em;
  158. }
  159. .ui.stacked.segments:before,
  160. .ui.stacked.segments:after,
  161. .ui.stacked.segment:before,
  162. .ui.stacked.segment:after {
  163. content: '';
  164. position: absolute;
  165. bottom: -3px;
  166. left: 0%;
  167. border-top: 1px solid rgba(34, 36, 38, 0.15);
  168. background: rgba(0, 0, 0, 0.03);
  169. width: 100%;
  170. height: 6px;
  171. visibility: visible;
  172. }
  173. .ui.stacked.segments:before,
  174. .ui.stacked.segment:before {
  175. display: none;
  176. }
  177. /* Add additional page */
  178. .ui.tall.stacked.segments:before,
  179. .ui.tall.stacked.segment:before {
  180. display: block;
  181. bottom: 0px;
  182. }
  183. /* Inverted */
  184. .ui.stacked.inverted.segments:before,
  185. .ui.stacked.inverted.segments:after,
  186. .ui.stacked.inverted.segment:before,
  187. .ui.stacked.inverted.segment:after {
  188. background-color: rgba(0, 0, 0, 0.03);
  189. border-top: 1px solid rgba(34, 36, 38, 0.35);
  190. }
  191. /*-------------------
  192. Padded
  193. --------------------*/
  194. .ui.padded.segment {
  195. padding: 1.5em;
  196. }
  197. .ui[class*="very padded"].segment {
  198. padding: 3em;
  199. }
  200. /* Padded vertical */
  201. .ui.padded.segment.vertical.segment,
  202. .ui[class*="very padded"].vertical.segment {
  203. padding-left: 0px;
  204. padding-right: 0px;
  205. }
  206. /*-------------------
  207. Compact
  208. --------------------*/
  209. .ui.compact.segment {
  210. display: table;
  211. }
  212. /* Compact Group */
  213. .ui.compact.segments {
  214. display: -webkit-inline-box;
  215. display: -ms-inline-flexbox;
  216. display: inline-flex;
  217. }
  218. .ui.compact.segments .segment,
  219. .ui.segments .compact.segment {
  220. display: block;
  221. -webkit-box-flex: 0;
  222. -ms-flex: 0 1 auto;
  223. flex: 0 1 auto;
  224. }
  225. /*-------------------
  226. Circular
  227. --------------------*/
  228. .ui.circular.segment {
  229. display: table-cell;
  230. padding: 2em;
  231. text-align: center;
  232. vertical-align: middle;
  233. border-radius: 500em;
  234. }
  235. /*-------------------
  236. Raised
  237. --------------------*/
  238. .ui.raised.segments,
  239. .ui.raised.segment {
  240. -webkit-box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
  241. box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
  242. }
  243. /*******************************
  244. Groups
  245. *******************************/
  246. /* Group */
  247. .ui.segments {
  248. -webkit-box-orient: vertical;
  249. -webkit-box-direction: normal;
  250. -ms-flex-direction: column;
  251. flex-direction: column;
  252. position: relative;
  253. margin: 1rem 0em;
  254. border: 1px solid rgba(34, 36, 38, 0.15);
  255. -webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
  256. box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
  257. border-radius: 0.28571429rem;
  258. }
  259. .ui.segments:first-child {
  260. margin-top: 0em;
  261. }
  262. .ui.segments:last-child {
  263. margin-bottom: 0em;
  264. }
  265. /* Nested Segment */
  266. .ui.segments > .segment {
  267. top: 0px;
  268. bottom: 0px;
  269. border-radius: 0px;
  270. margin: 0em;
  271. width: auto;
  272. -webkit-box-shadow: none;
  273. box-shadow: none;
  274. border: none;
  275. border-top: 1px solid rgba(34, 36, 38, 0.15);
  276. }
  277. .ui.segments:not(.horizontal) > .segment:first-child {
  278. border-top: none;
  279. margin-top: 0em;
  280. bottom: 0px;
  281. margin-bottom: 0em;
  282. top: 0px;
  283. border-radius: 0.28571429rem 0.28571429rem 0em 0em;
  284. }
  285. /* Bottom */
  286. .ui.segments:not(.horizontal) > .segment:last-child {
  287. top: 0px;
  288. bottom: 0px;
  289. margin-top: 0em;
  290. margin-bottom: 0em;
  291. -webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), none;
  292. box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), none;
  293. border-radius: 0em 0em 0.28571429rem 0.28571429rem;
  294. }
  295. /* Only */
  296. .ui.segments:not(.horizontal) > .segment:only-child {
  297. border-radius: 0.28571429rem;
  298. }
  299. /* Nested Group */
  300. .ui.segments > .ui.segments {
  301. border-top: 1px solid rgba(34, 36, 38, 0.15);
  302. margin: 1rem 1rem;
  303. }
  304. .ui.segments > .segments:first-child {
  305. border-top: none;
  306. }
  307. .ui.segments > .segment + .segments:not(.horizontal) {
  308. margin-top: 0em;
  309. }
  310. /* Horizontal Group */
  311. .ui.horizontal.segments {
  312. display: -webkit-box;
  313. display: -ms-flexbox;
  314. display: flex;
  315. -webkit-box-orient: horizontal;
  316. -webkit-box-direction: normal;
  317. -ms-flex-direction: row;
  318. flex-direction: row;
  319. background-color: transparent;
  320. border-radius: 0px;
  321. padding: 0em;
  322. background-color: #FFFFFF;
  323. -webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
  324. box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
  325. margin: 1rem 0em;
  326. border-radius: 0.28571429rem;
  327. border: 1px solid rgba(34, 36, 38, 0.15);
  328. }
  329. /* Nested Horizontal Group */
  330. .ui.segments > .horizontal.segments {
  331. margin: 0em;
  332. background-color: transparent;
  333. border-radius: 0px;
  334. border: none;
  335. -webkit-box-shadow: none;
  336. box-shadow: none;
  337. border-top: 1px solid rgba(34, 36, 38, 0.15);
  338. }
  339. /* Horizontal Segment */
  340. .ui.horizontal.segments > .segment {
  341. -webkit-box-flex: 1;
  342. flex: 1 1 auto;
  343. -ms-flex: 1 1 0px;
  344. /* Solves #2550 MS Flex */
  345. margin: 0em;
  346. min-width: 0px;
  347. background-color: transparent;
  348. border-radius: 0px;
  349. border: none;
  350. -webkit-box-shadow: none;
  351. box-shadow: none;
  352. border-left: 1px solid rgba(34, 36, 38, 0.15);
  353. }
  354. /* Border Fixes */
  355. .ui.segments > .horizontal.segments:first-child {
  356. border-top: none;
  357. }
  358. .ui.horizontal.segments > .segment:first-child {
  359. border-left: none;
  360. }
  361. /*******************************
  362. States
  363. *******************************/
  364. /*--------------
  365. Disabled
  366. ---------------*/
  367. .ui.disabled.segment {
  368. opacity: 0.45;
  369. color: rgba(40, 40, 40, 0.3);
  370. }
  371. /*--------------
  372. Loading
  373. ---------------*/
  374. .ui.loading.segment {
  375. position: relative;
  376. cursor: default;
  377. pointer-events: none;
  378. text-shadow: none !important;
  379. color: transparent !important;
  380. -webkit-transition: all 0s linear;
  381. transition: all 0s linear;
  382. }
  383. .ui.loading.segment:before {
  384. position: absolute;
  385. content: '';
  386. top: 0%;
  387. left: 0%;
  388. background: rgba(255, 255, 255, 0.8);
  389. width: 100%;
  390. height: 100%;
  391. border-radius: 0.28571429rem;
  392. z-index: 100;
  393. }
  394. .ui.loading.segment:after {
  395. position: absolute;
  396. content: '';
  397. top: 50%;
  398. left: 50%;
  399. margin: -1.5em 0em 0em -1.5em;
  400. width: 3em;
  401. height: 3em;
  402. -webkit-animation: segment-spin 0.6s linear;
  403. animation: segment-spin 0.6s linear;
  404. -webkit-animation-iteration-count: infinite;
  405. animation-iteration-count: infinite;
  406. border-radius: 500rem;
  407. border-color: #767676 rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1);
  408. border-style: solid;
  409. border-width: 0.2em;
  410. -webkit-box-shadow: 0px 0px 0px 1px transparent;
  411. box-shadow: 0px 0px 0px 1px transparent;
  412. visibility: visible;
  413. z-index: 101;
  414. }
  415. @-webkit-keyframes segment-spin {
  416. from {
  417. -webkit-transform: rotate(0deg);
  418. transform: rotate(0deg);
  419. }
  420. to {
  421. -webkit-transform: rotate(360deg);
  422. transform: rotate(360deg);
  423. }
  424. }
  425. @keyframes segment-spin {
  426. from {
  427. -webkit-transform: rotate(0deg);
  428. transform: rotate(0deg);
  429. }
  430. to {
  431. -webkit-transform: rotate(360deg);
  432. transform: rotate(360deg);
  433. }
  434. }
  435. /*******************************
  436. Variations
  437. *******************************/
  438. /*-------------------
  439. Basic
  440. --------------------*/
  441. .ui.basic.segment {
  442. background: none transparent;
  443. -webkit-box-shadow: none;
  444. box-shadow: none;
  445. border: none;
  446. border-radius: 0px;
  447. }
  448. /*-------------------
  449. Clearing
  450. --------------------*/
  451. .ui.clearing.segment:after {
  452. content: ".";
  453. display: block;
  454. height: 0;
  455. clear: both;
  456. visibility: hidden;
  457. }
  458. /*-------------------
  459. Colors
  460. --------------------*/
  461. /* Red */
  462. .ui.red.segment:not(.inverted) {
  463. border-top: 2px solid #DB2828 !important;
  464. }
  465. .ui.inverted.red.segment {
  466. background-color: #DB2828 !important;
  467. color: #FFFFFF !important;
  468. }
  469. /* Orange */
  470. .ui.orange.segment:not(.inverted) {
  471. border-top: 2px solid #F2711C !important;
  472. }
  473. .ui.inverted.orange.segment {
  474. background-color: #F2711C !important;
  475. color: #FFFFFF !important;
  476. }
  477. /* Yellow */
  478. .ui.yellow.segment:not(.inverted) {
  479. border-top: 2px solid #FBBD08 !important;
  480. }
  481. .ui.inverted.yellow.segment {
  482. background-color: #FBBD08 !important;
  483. color: #FFFFFF !important;
  484. }
  485. /* Olive */
  486. .ui.olive.segment:not(.inverted) {
  487. border-top: 2px solid #B5CC18 !important;
  488. }
  489. .ui.inverted.olive.segment {
  490. background-color: #B5CC18 !important;
  491. color: #FFFFFF !important;
  492. }
  493. /* Green */
  494. .ui.green.segment:not(.inverted) {
  495. border-top: 2px solid #21BA45 !important;
  496. }
  497. .ui.inverted.green.segment {
  498. background-color: #21BA45 !important;
  499. color: #FFFFFF !important;
  500. }
  501. /* Teal */
  502. .ui.teal.segment:not(.inverted) {
  503. border-top: 2px solid #00B5AD !important;
  504. }
  505. .ui.inverted.teal.segment {
  506. background-color: #00B5AD !important;
  507. color: #FFFFFF !important;
  508. }
  509. /* Blue */
  510. .ui.blue.segment:not(.inverted) {
  511. border-top: 2px solid #2185D0 !important;
  512. }
  513. .ui.inverted.blue.segment {
  514. background-color: #2185D0 !important;
  515. color: #FFFFFF !important;
  516. }
  517. /* Violet */
  518. .ui.violet.segment:not(.inverted) {
  519. border-top: 2px solid #6435C9 !important;
  520. }
  521. .ui.inverted.violet.segment {
  522. background-color: #6435C9 !important;
  523. color: #FFFFFF !important;
  524. }
  525. /* Purple */
  526. .ui.purple.segment:not(.inverted) {
  527. border-top: 2px solid #A333C8 !important;
  528. }
  529. .ui.inverted.purple.segment {
  530. background-color: #A333C8 !important;
  531. color: #FFFFFF !important;
  532. }
  533. /* Pink */
  534. .ui.pink.segment:not(.inverted) {
  535. border-top: 2px solid #E03997 !important;
  536. }
  537. .ui.inverted.pink.segment {
  538. background-color: #E03997 !important;
  539. color: #FFFFFF !important;
  540. }
  541. /* Brown */
  542. .ui.brown.segment:not(.inverted) {
  543. border-top: 2px solid #A5673F !important;
  544. }
  545. .ui.inverted.brown.segment {
  546. background-color: #A5673F !important;
  547. color: #FFFFFF !important;
  548. }
  549. /* Grey */
  550. .ui.grey.segment:not(.inverted) {
  551. border-top: 2px solid #767676 !important;
  552. }
  553. .ui.inverted.grey.segment {
  554. background-color: #767676 !important;
  555. color: #FFFFFF !important;
  556. }
  557. /* Black */
  558. .ui.black.segment:not(.inverted) {
  559. border-top: 2px solid #1B1C1D !important;
  560. }
  561. .ui.inverted.black.segment {
  562. background-color: #1B1C1D !important;
  563. color: #FFFFFF !important;
  564. }
  565. /*-------------------
  566. Aligned
  567. --------------------*/
  568. .ui[class*="left aligned"].segment {
  569. text-align: left;
  570. }
  571. .ui[class*="right aligned"].segment {
  572. text-align: right;
  573. }
  574. .ui[class*="center aligned"].segment {
  575. text-align: center;
  576. }
  577. /*-------------------
  578. Floated
  579. --------------------*/
  580. .ui.floated.segment,
  581. .ui[class*="left floated"].segment {
  582. float: left;
  583. margin-right: 1em;
  584. }
  585. .ui[class*="right floated"].segment {
  586. float: right;
  587. margin-left: 1em;
  588. }
  589. /*-------------------
  590. Inverted
  591. --------------------*/
  592. .ui.inverted.segment {
  593. border: none;
  594. -webkit-box-shadow: none;
  595. box-shadow: none;
  596. }
  597. .ui.inverted.segment,
  598. .ui.primary.inverted.segment {
  599. background: #1B1C1D;
  600. color: rgba(255, 255, 255, 0.9);
  601. }
  602. /* Nested */
  603. .ui.inverted.segment .segment {
  604. color: rgba(0, 0, 0, 0.87);
  605. }
  606. .ui.inverted.segment .inverted.segment {
  607. color: rgba(255, 255, 255, 0.9);
  608. }
  609. /* Attached */
  610. .ui.inverted.attached.segment {
  611. border-color: #555555;
  612. }
  613. /*-------------------
  614. Emphasis
  615. --------------------*/
  616. /* Secondary */
  617. .ui.secondary.segment {
  618. background: #F3F4F5;
  619. color: rgba(0, 0, 0, 0.6);
  620. }
  621. .ui.secondary.inverted.segment {
  622. background: #4c4f52 -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.2)), to(rgba(255, 255, 255, 0.2)));
  623. background: #4c4f52 -webkit-linear-gradient(rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.2) 100%);
  624. background: #4c4f52 linear-gradient(rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.2) 100%);
  625. color: rgba(255, 255, 255, 0.8);
  626. }
  627. /* Tertiary */
  628. .ui.tertiary.segment {
  629. background: #DCDDDE;
  630. color: rgba(0, 0, 0, 0.6);
  631. }
  632. .ui.tertiary.inverted.segment {
  633. background: #717579 -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.35)), to(rgba(255, 255, 255, 0.35)));
  634. background: #717579 -webkit-linear-gradient(rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.35) 100%);
  635. background: #717579 linear-gradient(rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.35) 100%);
  636. color: rgba(255, 255, 255, 0.8);
  637. }
  638. /*-------------------
  639. Attached
  640. --------------------*/
  641. /* Middle */
  642. .ui.attached.segment {
  643. top: 0px;
  644. bottom: 0px;
  645. border-radius: 0px;
  646. margin: 0em -1px;
  647. width: calc(100% + 2px );
  648. max-width: calc(100% + 2px );
  649. -webkit-box-shadow: none;
  650. box-shadow: none;
  651. border: 1px solid #D4D4D5;
  652. }
  653. .ui.attached:not(.message) + .ui.attached.segment:not(.top) {
  654. border-top: none;
  655. }
  656. /* Top */
  657. .ui[class*="top attached"].segment {
  658. bottom: 0px;
  659. margin-bottom: 0em;
  660. top: 0px;
  661. margin-top: 1rem;
  662. border-radius: 0.28571429rem 0.28571429rem 0em 0em;
  663. }
  664. .ui.segment[class*="top attached"]:first-child {
  665. margin-top: 0em;
  666. }
  667. /* Bottom */
  668. .ui.segment[class*="bottom attached"] {
  669. bottom: 0px;
  670. margin-top: 0em;
  671. top: 0px;
  672. margin-bottom: 1rem;
  673. -webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), none;
  674. box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), none;
  675. border-radius: 0em 0em 0.28571429rem 0.28571429rem;
  676. }
  677. .ui.segment[class*="bottom attached"]:last-child {
  678. margin-bottom: 0em;
  679. }
  680. /*-------------------
  681. Size
  682. --------------------*/
  683. .ui.mini.segments .segment,
  684. .ui.mini.segment {
  685. font-size: 0.78571429rem;
  686. }
  687. .ui.tiny.segments .segment,
  688. .ui.tiny.segment {
  689. font-size: 0.85714286rem;
  690. }
  691. .ui.small.segments .segment,
  692. .ui.small.segment {
  693. font-size: 0.92857143rem;
  694. }
  695. .ui.segments .segment,
  696. .ui.segment {
  697. font-size: 1rem;
  698. }
  699. .ui.large.segments .segment,
  700. .ui.large.segment {
  701. font-size: 1.14285714rem;
  702. }
  703. .ui.big.segments .segment,
  704. .ui.big.segment {
  705. font-size: 1.28571429rem;
  706. }
  707. .ui.huge.segments .segment,
  708. .ui.huge.segment {
  709. font-size: 1.42857143rem;
  710. }
  711. .ui.massive.segments .segment,
  712. .ui.massive.segment {
  713. font-size: 1.71428571rem;
  714. }
  715. /*******************************
  716. Theme Overrides
  717. *******************************/
  718. /*******************************
  719. Site Overrides
  720. *******************************/