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.

1104 lines
24 KiB

  1. /*
  2. * # Semantic Button - Flat
  3. * http://github.com/quirkyinc/semantic
  4. *
  5. *
  6. * Copyright 2013 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. * Released: April 17 2013
  11. */
  12. /*******************************
  13. Button
  14. *******************************/
  15. /* Prototype */
  16. .ui.button {
  17. cursor: pointer;
  18. display: inline-block;
  19. vertical-align: middle;
  20. min-height: 1em;
  21. background-color: #FAFAFA;
  22. background-image: -webkit-linear-gradient(transparent 0%, rgba(0, 0, 0, 0.06) 100%);
  23. background-image: -moz-linear-gradient(transparent 0%, rgba(0, 0, 0, 0.06) 100%);
  24. background-image: -o-linear-gradient(transparent 0%, rgba(0, 0, 0, 0.06) 100%);
  25. background-image: -ms-linear-gradient(transparent 0%, rgba(0, 0, 0, 0.06) 100%);
  26. background-image: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.06) 100%);
  27. padding: 12px 30px;
  28. font-size: 14px;
  29. text-transform: uppercase;
  30. line-height: 1;
  31. font-weight: bold;
  32. color: #7A7A7A;
  33. text-align: center;
  34. -webkit-border-radius: 5px;
  35. -moz-border-radius: 5px;
  36. border-radius: 5px;
  37. -webkit-box-shadow:
  38. 0px 0px 0px 1px rgba( 0, 0, 0, 0.15),
  39. 0px -2px 0px rgba(0, 0, 0, 0.1) inset
  40. ;
  41. -moz-box-shadow:
  42. 0px 0px 0px 1px rgba( 0, 0, 0, 0.15),
  43. 0px -2px 0px rgba(0, 0, 0, 0.1) inset
  44. ;
  45. box-shadow:
  46. 0px 0px 0px 1px rgba( 0, 0, 0, 0.15),
  47. 0px -2px 0px rgba(0, 0, 0, 0.1) inset
  48. ;
  49. -webkit-user-select: none;
  50. -moz-user-select: none;
  51. -ms-user-select: none;
  52. user-select: none;
  53. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  54. -webkit-transition:
  55. opacity 0.1s linear,
  56. background 0.1s linear,
  57. box-shadow 0.1s linear
  58. ;
  59. -moz-transition:
  60. opacity 0.1s linear,
  61. background 0.1s linear,
  62. box-shadow 0.1s linear
  63. ;
  64. -o-transition:
  65. opacity 0.1s linear,
  66. background 0.1s linear,
  67. box-shadow 0.1s linear
  68. ;
  69. -ms-transition:
  70. opacity 0.1s linear,
  71. background 0.1s linear,
  72. box-shadow 0.1s linear
  73. ;
  74. transition:
  75. opacity 0.1s linear,
  76. background 0.1s linear,
  77. box-shadow 0.1s linear
  78. ;
  79. }
  80. /*******************************
  81. States
  82. *******************************/
  83. /*--------------
  84. Hover
  85. ---------------*/
  86. .ui.button.hover {
  87. background-color: #FFFFFF;
  88. }
  89. /*--------------
  90. Down (:active)
  91. ---------------*/
  92. /* Down */
  93. .ui.button.down {
  94. -webkit-box-shadow:
  95. 0px 0px 0px 1px rgba( 0, 0, 0, 0.15),
  96. 1px 1px 3px 0px rgba(0, 0, 0, 0.2) inset
  97. ;
  98. -moz-box-shadow:
  99. 0px 0px 0px 1px rgba( 0, 0, 0, 0.15),
  100. 1px 1px 3px 0px rgba(0, 0, 0, 0.2) inset
  101. ;
  102. box-shadow:
  103. 0px 0px 0px 1px rgba( 0, 0, 0, 0.15),
  104. 1px 1px 3px 0px rgba(0, 0, 0, 0.2) inset
  105. ;
  106. }
  107. /*--------------
  108. Active
  109. ---------------*/
  110. .ui.buttons .button.active,
  111. .ui.button.active {
  112. background-color: #E6E6E6;
  113. -webkit-box-shadow:
  114. 0px 1px 6px -3px rgba(0, 0, 0, 0.3) inset
  115. ;
  116. -moz-box-shadow:
  117. 0px 1px 6px -3px rgba(0, 0, 0, 0.3) inset
  118. ;
  119. box-shadow:
  120. 0px 1px 6px -3px rgba(0, 0, 0, 0.3) inset
  121. ;
  122. }
  123. .ui.buttons .button.active,
  124. .ui.buttons .button.active a,
  125. .ui.button.active,
  126. .ui.button.active a {
  127. color: #7A7A7A;
  128. }
  129. .ui.buttons .button.active.hover,
  130. .ui.button.active.hover {
  131. background: #E0E0E0;
  132. -webkit-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2) inset;
  133. -moz-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2) inset;
  134. box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2) inset;
  135. }
  136. .ui.buttons .button.active.hover,
  137. .ui.buttons .button.active.hover a,
  138. .ui.button.active.hover,
  139. .ui.button.active.hover a {
  140. color: #555555;
  141. }
  142. /*--------------
  143. Loading
  144. ---------------*/
  145. .ui.button.loading,
  146. .ui.button.loading.hover {
  147. position: relative;
  148. cursor: default;
  149. opacity: 0.75;
  150. color: #888888 !important;
  151. background-image: none !important;
  152. -webkit-box-shadow: none !important;
  153. -moz-box-shadow: none !important;
  154. box-shadow: none !important;
  155. -webkit-transition: all 0s linear;
  156. -moz-transition: all 0s linear;
  157. -o-transition: all 0s linear;
  158. -ms-transition: all 0s linear;
  159. transition: all 0s linear;
  160. }
  161. .ui.button.loading:after {
  162. position: absolute;
  163. top: 0px;
  164. left: 0px;
  165. width: 100%;
  166. height: 100%;
  167. content: '';
  168. background: #EEEEEE url(../images/throbber-tiny.gif) no-repeat 50% 50%;
  169. background-position: 50% 50%;
  170. background-repeat: no-repeat;
  171. -moz-border-radius: 3px;
  172. -webkit-border-radius: 3px;
  173. border-radius: 3px;
  174. }
  175. /* Opposite color loader */
  176. .ui.grey.button.loading,
  177. .ui.button.active.loading {
  178. border-color: #BBBBBB
  179. }
  180. .ui.grey.button.loading:after,
  181. .ui.button.active.loading:after {
  182. background-color: #FAFAFA;
  183. background: url(../images/throbber-tiny.gif) no-repeat 50% 50%;
  184. }
  185. /* resizes */
  186. /* blue */
  187. .ui.huge.button.loading:after {
  188. background-image: url(../images/throbber-small.gif);
  189. }
  190. .ui.massive.buttons .button.loading:after,
  191. .ui.gigantic.buttons .button.loading:after,
  192. .ui.massive.button.loading:after,
  193. .ui.gigantic.button.loading:after {
  194. background-image: url(../images/throbber-medium.gif);
  195. }
  196. /* grey */
  197. .ui.huge.grey.button.loading:after,
  198. .ui.huge.button.loading.active:after {
  199. background-image: url(../images/throbber-small.gif);
  200. }
  201. .ui.massive.grey.buttons .button.loading:after,
  202. .ui.gigantic.grey.buttons .button.loading:after,
  203. .ui.massive.grey.button.loading:after,
  204. .ui.gigantic.grey.button.loading:after,
  205. .ui.massive.grey.buttons .button.loading.active:after,
  206. .ui.gigantic.grey.buttons .button.loading.active:after,
  207. .ui.massive.button.loading.active:after,
  208. .ui.gigantic.button.loading.active:after {
  209. background-image: url(../images/throbber-medium.gif);
  210. }
  211. /*--------------
  212. Error
  213. ---------------*/
  214. .ui.buttons .button.error,
  215. .ui.buttons .button.error.hover,
  216. .ui.buttons .button.error.down,
  217. .ui.button.error,
  218. .ui.button.error.hover,
  219. .ui.button.error.down {
  220. cursor: default;
  221. position: relative;
  222. background-color: #EE141D;
  223. color: #FFFFFF;
  224. text-shadow: none;
  225. -webkit-transition: all 0s linear;
  226. -moz-transition: all 0s linear;
  227. -o-transition: all 0s linear;
  228. -ms-transition: all 0s linear;
  229. transition: all 0s linear;
  230. }
  231. .ui.button.success,
  232. .ui.button.success.hover,
  233. .ui.button.success.down {
  234. background-color: #59B94B;
  235. color: #FFFFFF;
  236. border-color: #588D0F;
  237. }
  238. /* Disabled State */
  239. .ui.button.disabled,
  240. .ui.button.disabled.hover,
  241. .ui.button.disabled.down {
  242. cursor: default;
  243. color: #DDDDDD;
  244. background-color: rgba(50, 50, 50, 0.05) !important;
  245. background-image: none !important;
  246. text-shadow: none !important;
  247. -webkit-box-shadow: none !important;
  248. -moz-box-shadow: none !important;
  249. box-shadow: none !important;
  250. }
  251. /*******************************
  252. Variations
  253. *******************************/
  254. /*---------------
  255. Blue
  256. ----------------*/
  257. .ui.blue.buttons .button,
  258. .ui.blue.button {
  259. background-color: #00B4AC;
  260. background-image: -webkit-linear-gradient(transparent 0%, rgba(0, 0, 0, 0.15) 100%);
  261. background-image: -moz-linear-gradient(transparent 0%, rgba(0, 0, 0, 0.15) 100%);
  262. background-image: -o-linear-gradient(transparent 0%, rgba(0, 0, 0, 0.15) 100%);
  263. background-image: -ms-linear-gradient(transparent 0%, rgba(0, 0, 0, 0.15) 100%);
  264. background-image: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.15) 100%);
  265. color: #FFFFFF;
  266. }
  267. .ui.blue.buttons .button.hover,
  268. .ui.blue.button.hover {
  269. background-color: #F15B40;
  270. }
  271. .ui.blue.buttons .button.down,
  272. .ui.blue.button.down {
  273. background-color: #F15B40;
  274. }
  275. /*---------------
  276. Purple
  277. ----------------*/
  278. .ui.purple.buttons .button,
  279. .ui.purple.button {
  280. color: #FFFFFF;
  281. background-color: #6E4889;
  282. background-image: -webkit-linear-gradient(transparent 0%, rgba(0, 0, 0, 0.15) 100%);
  283. background-image: -moz-linear-gradient(transparent 0%, rgba(0, 0, 0, 0.15) 100%);
  284. background-image: -o-linear-gradient(transparent 0%, rgba(0, 0, 0, 0.15) 100%);
  285. background-image: -ms-linear-gradient(transparent 0%, rgba(0, 0, 0, 0.15) 100%);
  286. background-image: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.15) 100%);
  287. }
  288. .ui.purple.buttons .button.hover,
  289. .ui.purple.button.hover {
  290. background-color: #62397F;
  291. }
  292. .ui.purple.buttons .button.down,
  293. .ui.purple.button.down {
  294. background-color: #9254BD;
  295. }
  296. /*---------------
  297. Green / Positive
  298. ----------------*/
  299. .ui.button.green,
  300. .ui.button.positive {
  301. background-color: #7DDC5C;
  302. background-image: -webkit-linear-gradient(transparent 0%, rgba(0, 0, 0, 0.15) 100%);
  303. background-image: -moz-linear-gradient(transparent 0%, rgba(0, 0, 0, 0.15) 100%);
  304. background-image: -o-linear-gradient(transparent 0%, rgba(0, 0, 0, 0.15) 100%);
  305. background-image: -ms-linear-gradient(transparent 0%, rgba(0, 0, 0, 0.15) 100%);
  306. background-image: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.15) 100%);
  307. color: #FFFFFF;
  308. }
  309. .ui.button.green.hover,
  310. .ui.button.positive.hover {
  311. background-color: #7FE95A;
  312. color: #FFFFFF;
  313. }
  314. .ui.button.green.down,
  315. .ui.button.positive.down {
  316. background-color: #59B94B;
  317. color: #FFFFFF;
  318. }
  319. /*---------------
  320. Red / Negative
  321. ----------------*/
  322. .ui.button.red,
  323. .ui.button.negative {
  324. background-color: #EF3F49;
  325. background-image: -webkit-linear-gradient(transparent 0%, rgba(0, 0, 0, 0.15) 100%);
  326. background-image: -moz-linear-gradient(transparent 0%, rgba(0, 0, 0, 0.15) 100%);
  327. background-image: -o-linear-gradient(transparent 0%, rgba(0, 0, 0, 0.15) 100%);
  328. background-image: -ms-linear-gradient(transparent 0%, rgba(0, 0, 0, 0.15) 100%);
  329. background-image: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.15) 100%);
  330. color: #FFFFFF;
  331. }
  332. .ui.button.red.hover,
  333. .ui.button.negative.hover {
  334. background-color: #FE313C;
  335. color: #FFFFFF;
  336. }
  337. .ui.button.red.down,
  338. .ui.button.negative.down {
  339. background-color: #DC323C;
  340. color: #FFFFFF;
  341. }
  342. /*-------------------
  343. Sizes
  344. --------------------*/
  345. .ui.buttons.mini .button,
  346. .ui.mini.button {
  347. font-size: 9px;
  348. padding: 4px 5px;
  349. border-radius: 3px;
  350. }
  351. .ui.buttons.mini .button i,
  352. .ui.mini.button i {
  353. vertical-align: top;
  354. }
  355. .ui.tiny.buttons .button,
  356. .ui.tiny.button {
  357. font-size: 11px;
  358. font-weight: bold;
  359. padding: 8px 15px;
  360. }
  361. .ui.small.buttons .button,
  362. .ui.small.button {
  363. font-size: 12px;
  364. padding: 10px 20px;
  365. }
  366. .ui.medium.buttons .button,
  367. .ui.medium.button {
  368. font-size: 14px;
  369. padding: 12px 30px;
  370. }
  371. .ui.large.buttons .button,
  372. .ui.large.button {
  373. font-size: 16px;
  374. padding: 15px 30px;
  375. }
  376. .ui.big.buttons .button,
  377. .ui.big.button {
  378. font-size: 18px;
  379. padding: 15px 30px;
  380. }
  381. .ui.huge.buttons .button,
  382. .ui.huge.button {
  383. font-size: 20px;
  384. padding: 18px 30px;
  385. }
  386. .ui.massive.buttons .button,
  387. .ui.massive.button {
  388. padding: 20px 45px;
  389. font-size: 24px;
  390. font-weight: bold;
  391. }
  392. .ui.gigantic.buttons .button,
  393. .ui.gigantic.button {
  394. padding: 18px 45px;
  395. font-size: 30px;
  396. font-weight: bold;
  397. }
  398. .ui.mini.button,
  399. .ui.tiny.button {
  400. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  401. }
  402. /*--------------
  403. Containing Icon
  404. ---------------*/
  405. .ui.button i {
  406. line-height: 1;
  407. margin-right: 0.2em;
  408. }
  409. /* left arrow icons */
  410. .ui.button i.icon.left,
  411. .ui.button i.icon.left-open,
  412. .ui.button i.icon.left-dir {
  413. margin: 0em 0.2em 0em;
  414. }
  415. /* right positioned icons */
  416. .ui.button i.icon.up,
  417. .ui.button i.icon.up-open,
  418. .ui.button i.icon.up-dir,
  419. .ui.button i.icon.down,
  420. .ui.button i.icon.down-open,
  421. .ui.button i.icon.down-dir,
  422. .ui.button i.icon.right,
  423. .ui.button i.icon.right-open,
  424. .ui.button i.icon.right-dir {
  425. margin: 0em;
  426. }
  427. /*--------------
  428. Icon Only
  429. ---------------*/
  430. .ui.icon.buttons .button,
  431. .ui.icon.button {
  432. padding: 7px;
  433. text-align: center;
  434. }
  435. .ui.icon.buttons .button i,
  436. .ui.icon.button i {
  437. margin: 0px;
  438. vertical-align: text-top;
  439. }
  440. /* Image Button Resizes */
  441. .ui.icon.buttons.mini .button,
  442. .ui.mini.icon.button {
  443. padding: 4px;
  444. }
  445. .ui.tiny.icon.buttons .button,
  446. .ui.tiny.icon.button {
  447. padding: 6px;
  448. }
  449. .ui.small.icon.buttons .button,
  450. .ui.small.icon.button {
  451. padding: 6px;
  452. }
  453. .ui.medium.icon.buttons .button,
  454. .ui.medium.icon.button {
  455. padding: 7px;
  456. }
  457. .ui.big.icon.buttons .button,
  458. .ui.big.icon.button {
  459. padding: 10px;
  460. }
  461. .ui.huge.icon.buttons .button,
  462. .ui.huge.icon.button {
  463. padding: 11px;
  464. }
  465. .ui.massive.icon.buttons .button,
  466. .ui.massive.icon.button {
  467. padding: 15px;
  468. }
  469. .ui.gigantic.icon.buttons .button,
  470. .ui.gigantic.icon.button {
  471. padding: 18px;
  472. }
  473. /*--------------
  474. Toggle
  475. ---------------*/
  476. /* Toggle (Modifies active state to give affordances) */
  477. .ui.toggle.buttons .button.active,
  478. .ui.buttons .button.toggle.active,
  479. .ui.button.toggle.active {
  480. background-color: #BBF0A9;
  481. color: #1C8C21;
  482. }
  483. .ui.buttons.toggle .ui.button.active.hover,
  484. .ui.buttons .ui.button.toggle.active.hover,
  485. .ui.button.toggle.active.hover {
  486. color: #21A627;
  487. background-color: #BBF0A9;
  488. -webkit-box-shadow:
  489. 0px 0px 4px -2px rgba(0, 0, 0, 0.2) inset
  490. ;
  491. -moz-box-shadow:
  492. 0px 0px 4px -2px rgba(0, 0, 0, 0.2) inset
  493. ;
  494. box-shadow:
  495. 0px 0px 4px -2px rgba(0, 0, 0, 0.2) inset
  496. ;
  497. }
  498. .ui.button.toggle.active.hover.down {
  499. background-color: #BBF0A9;
  500. color: #21A627;
  501. -webkit-box-shadow: 0px 1px 3px 0px rgba(67, 97, 53, 0.5) inset;
  502. -moz-box-shadow: 0px 1px 3px 0px rgba(67, 97, 53, 0.5) inset;
  503. box-shadow: 0px 1px 3px 0px rgba(67, 97, 53, 0.5) inset;
  504. }
  505. /*--------------
  506. Bubbly
  507. ---------------*/
  508. .ui.button.bubbly {
  509. -webkit-border-radius: 30px;
  510. -moz-border-radius: 30px;
  511. border-radius: 30px;
  512. }
  513. /*--------------
  514. Attached
  515. ---------------*/
  516. .ui.button.attached {
  517. display: block;
  518. }
  519. .ui.button.attached.top {
  520. border: 1px solid rgba(0, 0, 0, 0.1);
  521. border-bottom: none;
  522. -webkit-border-radius: 5px 5px 0px 0px;
  523. -moz-border-radius: 5px 5px 0px 0px;
  524. border-radius: 5px 5px 0px 0px;
  525. }
  526. .ui.button.attached.bottom {
  527. border: 1px solid rgba(0, 0, 0, 0.1);
  528. border-top: none;
  529. -webkit-border-radius: 0px 0px 5px 5px;
  530. -moz-border-radius: 0px 0px 5px 5px;
  531. border-radius: 0px 0px 5px 5px;
  532. }
  533. .ui.button.attached.left {
  534. display: inline-block;
  535. border-left: none;
  536. border-right: 1px solid rgba(0, 0, 0, 0.1);
  537. -webkit-border-radius: 5px 0px 0px 5px;
  538. -moz-border-radius: 5px 0px 0px 5px;
  539. border-radius: 5px 0px 0px 5px;
  540. }
  541. .ui.button.attached.right {
  542. display: inline-block;
  543. border-left: 1px solid rgba(0, 0, 0, 0.1);
  544. -webkit-border-radius: 0px 5px 5px 0px;
  545. -moz-border-radius: 0px 5px 5px 0px;
  546. border-radius: 0px 5px 5px 0px;
  547. }
  548. /* Button attached to a form element */
  549. input + .ui.attached.button {
  550. display: inline-block;
  551. min-width: 40px;
  552. margin: 0px 0px 0px -15px;
  553. height: 14px;
  554. padding: 8px 15px;
  555. border: 1px solid #D0D0D0;
  556. -webkit-box-shadow: none;
  557. -moz-box-shadow: none;
  558. box-shadow: none;
  559. -webkit-border-radius: 0px 5px 5px 0px;
  560. -moz-border-radius: 0px 5px 5px 0px;
  561. border-radius: 0px 5px 5px 0px;
  562. vertical-align: top;
  563. }
  564. input + .ui.attached.button.down {
  565. -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3) inset;
  566. -moz-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3) inset;
  567. box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3) inset;
  568. }
  569. .ui.attached.button.loading,
  570. .ui.attached.button.loading.hover {
  571. opacity: 1;
  572. }
  573. /*******************************
  574. Buttons (Button Group)
  575. *******************************/
  576. .ui.buttons {
  577. overflow: hidden;
  578. }
  579. .ui.buttons .button,
  580. .ui.buttons .mini.button,
  581. .ui.buttons .tiny.button,
  582. .ui.buttons .small.button,
  583. .ui.buttons .massive.button,
  584. .ui.buttons .huge.button,
  585. .ui.buttons .gigantic.button {
  586. float: left;
  587. -webkit-border-radius: 0px;
  588. -moz-border-radius: 0px;
  589. border-radius: 0px;
  590. }
  591. .ui.buttons .button:first-child,
  592. .ui.buttons .mini.button:first-child,
  593. .ui.buttons .tiny.button:first-child,
  594. .ui.buttons .small.button:first-child,
  595. .ui.buttons .massive.button:first-child,
  596. .ui.buttons .huge.button:first-child,
  597. .ui.buttons .gigantic.button:first-child {
  598. margin-left: 0px;
  599. border-top-left-radius: 4px;
  600. border-bottom-left-radius: 4px;
  601. }
  602. .ui.buttons .button:last-child,
  603. .ui.buttons .mini.button:last-child,
  604. .ui.buttons .tiny.button:last-child,
  605. .ui.buttons .small.button:last-child,
  606. .ui.buttons .massive.button:last-child,
  607. .ui.buttons .huge.button:last-child,
  608. .ui.buttons .gigantic.button:last-child {
  609. border-top-right-radius: 4px;
  610. border-bottom-right-radius: 4px;
  611. }
  612. /* Vertical Style */
  613. .ui.buttons.vertical {
  614. display: inline-block;
  615. }
  616. .ui.buttons.vertical .button {
  617. display: block;
  618. float: none;
  619. }
  620. .ui.buttons.vertical .button:first-child,
  621. .ui.buttons.vertical .mini.button:first-child,
  622. .ui.buttons.vertical .tiny.button:first-child,
  623. .ui.buttons.vertical .small.button:first-child,
  624. .ui.buttons.vertical .massive.button:first-child,
  625. .ui.buttons.vertical .huge.button:first-child,
  626. .ui.buttons.vertical .gigantic.button:first-child {
  627. margin-top: 0px;
  628. -moz-border-radius: 5px 5px 0px 0px;
  629. -webkit-border-radius: 5px 5px 0px 0px;
  630. border-radius: 5px 5px 0px 0px;
  631. }
  632. .ui.buttons.vertical .button:last-child,
  633. .ui.buttons.vertical .mini.button:last-child,
  634. .ui.buttons.vertical .tiny.button:last-child,
  635. .ui.buttons.vertical .small.button:last-child,
  636. .ui.buttons.vertical .massive.button:last-child,
  637. .ui.buttons.vertical .huge.button:last-child,
  638. .ui.buttons.vertical .gigantic.button:last-child {
  639. -moz-border-radius: 0px 0px 5px 5px;
  640. -webkit-border-radius: 0px 0px 5px 5px;
  641. border-radius: 0px 0px 5px 5px;
  642. }
  643. /* Only show multiple borders when changing colors in group */
  644. .ui.buttons .grey.button + .grey.button,
  645. .ui.buttons .blue.button + .blue.button,
  646. .ui.buttons .purple.button + .purple.button,
  647. .ui.buttons .green.button + .green.button {
  648. margin-left: -1px;
  649. }
  650. .ui.vertical.buttons .grey.button + .grey.button,
  651. .ui.vertical.buttons .blue.button + .blue.button,
  652. .ui.vertical.buttons .purple.button + .purple.button,
  653. .ui.vertical.buttons .green.button + .green.button {
  654. margin-top: -1px;
  655. }
  656. /*******************************
  657. OR Button Divisions
  658. *******************************/
  659. .ui.buttons .or {
  660. position: relative;
  661. float: left;
  662. }
  663. .ui.buttons .or:before {
  664. position: absolute;
  665. top: 50%;
  666. left: 50%;
  667. content: 'or';
  668. background-color: #FFFFFF;
  669. line-height: 1;
  670. color: #AAAAAA;
  671. font-style: italic;
  672. text-align: center;
  673. -moz-box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.2) inset;
  674. -webkit-box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.2) inset;
  675. box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.2) inset;
  676. -moz-border-radius: 500px;
  677. -webkit-border-radius: 500px;
  678. border-radius: 500px;
  679. -webkit-box-sizing: border-box;
  680. -moz-box-sizing: border-box;
  681. -ms-box-sizing: border-box;
  682. box-sizing: border-box;
  683. }
  684. .ui.buttons .or:after {
  685. position: absolute;
  686. top: 0px;
  687. left: 0px;
  688. content: ' ';
  689. background-color: transparent;
  690. border-top: 3px solid #FFFFFF;
  691. }
  692. /* Or Sizes */
  693. .ui.buttons .or {
  694. width: 5px;
  695. height: 38px;
  696. }
  697. .ui.buttons .or:before {
  698. margin-top: -15px;
  699. margin-left: -15px;
  700. padding-top: 6px;
  701. width: 28px;
  702. height: 28px;
  703. font-style: normal;
  704. font-weight: bold;
  705. }
  706. .ui.buttons .or:after {
  707. top: 4px;
  708. width: 5px;
  709. height: 18px;
  710. }
  711. .ui.fluid.buttons .or {
  712. width: 0px !important;
  713. }
  714. .ui.fluid.buttons .or:after{
  715. display: none;
  716. }
  717. /* mini */
  718. .ui.mini.buttons .or,
  719. .ui.buttons .mini.or {
  720. height: 19px;
  721. }
  722. .ui.mini.buttons .or:before,
  723. .ui.buttons .mini.or:before {
  724. margin-left: -8px;
  725. margin-top: -6px;
  726. padding-top: 2px;
  727. width: 14px;
  728. height: 14px;
  729. font-size: 9px;
  730. }
  731. .ui.mini.buttons .or:after,
  732. .ui.buttons .mini.or:after {
  733. top: 3px;
  734. width: 4px;
  735. height: 10px;
  736. }
  737. /* tiny */
  738. .ui.tiny.buttons .or,
  739. .ui.buttons .tiny.or {
  740. height: 26px;
  741. }
  742. .ui.tiny.buttons .or:before,
  743. .ui.buttons .tiny.or:before {
  744. margin-left: -11px;
  745. margin-top: -10px;
  746. padding-top: 4px;
  747. width: 20px;
  748. height: 19px;
  749. font-size: 11px;
  750. }
  751. .ui.tiny.buttons .or:after,
  752. .ui.buttons .tiny.or:after {
  753. top: 2px;
  754. width: 5px;
  755. height: 16px;
  756. }
  757. /* small */
  758. .ui.small.buttons .or,
  759. .ui.buttons .small.or {
  760. height: 26px;
  761. }
  762. .ui.small.buttons .or:before,
  763. .ui.buttons .small.or:before {
  764. margin-left: -11px;
  765. margin-top: -10px;
  766. padding-top: 4px;
  767. width: 20px;
  768. height: 19px;
  769. font-size: 11px;
  770. }
  771. .ui.small.buttons .or:after,
  772. .ui.buttons .small.or:after {
  773. top: 2px;
  774. width: 5px;
  775. height: 16px;
  776. }
  777. /* big */
  778. .ui.big.buttons .or,
  779. .ui.buttons .big.or {
  780. }
  781. .ui.big.buttons .or:before,
  782. .ui.buttons .big.or:before {
  783. margin-left: -14px;
  784. margin-top: -8px;
  785. padding-top: 5px;
  786. width: 26px;
  787. height: 25px;
  788. font-size: 14px;
  789. }
  790. .ui.big.buttons .or:after,
  791. .ui.buttons .big.or:after {
  792. top: 5px;
  793. width: 5px;
  794. height: 22px;
  795. }
  796. /* huge */
  797. .ui.huge.buttons .or,
  798. .ui.buttons .huge.or {
  799. width: 6px;
  800. height: 41px;
  801. }
  802. .ui.huge.buttons .or:before,
  803. .ui.buttons .huge.or:before {
  804. margin-left: -15px;
  805. margin-top: -14px;
  806. padding-top: 6px;
  807. width: 30px;
  808. height: 29px;
  809. font-size: 15px;
  810. }
  811. .ui.huge.buttons .or:after,
  812. .ui.buttons .huge.or:after {
  813. top: 6px;
  814. width: 6px;
  815. height: 26px;
  816. }
  817. /*-------------------
  818. Attached
  819. --------------------*/
  820. /* Plural Attached */
  821. .attached.ui.buttons {
  822. margin: 0px;
  823. -webkit-border-radius: 4px 4px 0px 0px;
  824. -moz-border-radius: 4px 4px 0px 0px;
  825. border-radius: 4px 4px 0px 0px;
  826. }
  827. .attached.ui.buttons .button:first-child {
  828. -webkit-border-radius: 4px 0px 0px 0px;
  829. -moz-border-radius: 4px 0px 0px 0px;
  830. border-radius: 4px 0px 0px 0px;
  831. }
  832. .attached.ui.buttons .button:last-child {
  833. -webkit-border-radius: 0px 4px 0px 0px;
  834. -moz-border-radius: 0px 4px 0px 0px;
  835. border-radius: 0px 4px 0px 0px;
  836. }
  837. /* Bottom Side */
  838. .bottom.attached.ui.buttons {
  839. margin-top: -1px;
  840. -webkit-border-radius: 0px 0px 4px 4px;
  841. -moz-border-radius: 0px 0px 4px 4px;
  842. border-radius: 0px 0px 4px 4px;
  843. }
  844. .bottom.attached.ui.buttons .button:first-child {
  845. -webkit-border-radius: 0px 0px 0px 4px;
  846. -moz-border-radius: 0px 0px 0px 4px;
  847. border-radius: 0px 0px 0px 4px;
  848. }
  849. .bottom.attached.ui.buttons .button:last-child {
  850. -webkit-border-radius: 0px 0px 4px 0px;
  851. -moz-border-radius: 0px 0px 4px 0px;
  852. border-radius: 0px 0px 4px 0px;
  853. }
  854. /* Left Side */
  855. .left.attached.ui.buttons {
  856. margin-left: -1px;
  857. -webkit-border-radius: 0px 4px 4px 0px;
  858. -moz-border-radius: 0px 4px 4px 0px;
  859. border-radius: 0px 4px 4px 0px;
  860. }
  861. .left.attached.ui.buttons .button:first-child {
  862. margin-left: -1px;
  863. -webkit-border-radius: 0px 4px 0px 0px;
  864. -moz-border-radius: 0px 4px 0px 0px;
  865. border-radius: 0px 4px 0px 0px;
  866. }
  867. .left.attached.ui.buttons .button:last-child {
  868. margin-left: -1px;
  869. -webkit-border-radius: 0px 0px 4px 0px;
  870. -moz-border-radius: 0px 0px 4px 0px;
  871. border-radius: 0px 0px 4px 0px;
  872. }
  873. /* Right Side */
  874. .right.attached.ui.buttons,
  875. .right.attached.ui.buttons .button {
  876. margin-right: -1px;
  877. -webkit-border-radius: 4px 0px 0px 4px;
  878. -moz-border-radius: 4px 0px 0px 4px;
  879. border-radius: 4px 0px 0px 4px;
  880. }
  881. .right.attached.ui.buttons .button:first-child {
  882. margin-left: -1px;
  883. -webkit-border-radius: 4px 0px 0px 0px;
  884. -moz-border-radius: 4px 0px 0px 0px;
  885. border-radius: 4px 0px 0px 0px;
  886. }
  887. .right.attached.ui.buttons .button:last-child {
  888. margin-left: -1px;
  889. -webkit-border-radius: 0px 0px 0px 4px;
  890. -moz-border-radius: 0px 0px 0px 4px;
  891. border-radius: 0px 0px 0px 4px;
  892. }
  893. /* Fluid */
  894. .ui.fluid.buttons,
  895. .ui.button.fluid,
  896. .ui.fluid.buttons > .button {
  897. width: 100%;
  898. -webkit-box-sizing: border-box;
  899. -moz-box-sizing: border-box;
  900. -ms-box-sizing: border-box;
  901. box-sizing: border-box;
  902. }
  903. .ui.two.fluid.buttons > .button {
  904. width: 50%;
  905. }
  906. .ui.three.fluid.buttons > .button {
  907. width: 33.333%;
  908. }
  909. .ui.four.fluid.buttons > .button {
  910. width: 25%;
  911. }
  912. .ui.five.fluid.buttons > .button {
  913. width: 20%;
  914. }
  915. .ui.six.fluid.buttons > .button {
  916. width: 16.666%;
  917. }
  918. .ui.seven.fluid.buttons > .button {
  919. width: 14.285%;
  920. }
  921. .ui.eight.fluid.buttons > .button {
  922. width: 12.500%;
  923. }
  924. .ui.nine.fluid.buttons > .button {
  925. width: 11.11%;
  926. }
  927. .ui.ten.fluid.buttons > .button {
  928. width: 10%;
  929. }
  930. .ui.eleven.fluid.buttons > .button {
  931. width: 9.09%;
  932. }
  933. .ui.twelve.fluid.buttons > .button {
  934. width: 8.3333%;
  935. }
  936. /* Fluid Vertical Buttons */
  937. .ui.fluid.vertical.buttons,
  938. .ui.fluid.vertical.buttons > .button {
  939. width: auto;
  940. -webkit-box-sizing: border-box;
  941. -moz-box-sizing: border-box;
  942. -ms-box-sizing: border-box;
  943. box-sizing: border-box;
  944. }
  945. .ui.two.fluid.buttons > .button {
  946. height: 50%;
  947. }
  948. .ui.three.fluid.buttons > .button {
  949. height: 33.333%;
  950. }
  951. .ui.four.fluid.buttons > .button {
  952. height: 25%;
  953. }
  954. .ui.five.fluid.buttons > .button {
  955. height: 20%;
  956. }
  957. .ui.six.fluid.buttons > .button {
  958. height: 16.666%;
  959. }
  960. .ui.seven.fluid.buttons > .button {
  961. height: 14.285%;
  962. }
  963. .ui.eight.fluid.buttons > .button {
  964. height: 12.500%;
  965. }
  966. .ui.nine.fluid.buttons > .button {
  967. height: 11.11%;
  968. }
  969. .ui.ten.fluid.buttons > .button {
  970. height: 10%;
  971. }
  972. .ui.eleven.fluid.buttons > .button {
  973. height: 9.09%;
  974. }
  975. .ui.twelve.fluid.buttons > .button {
  976. height: 8.3333%;
  977. }