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.

1122 lines
25 KiB

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