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.

1091 lines
26 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. text-shadow: 0px -1px 0px rgba(255, 255, 255, 0.5);
  303. background-color: #B6F3A2;
  304. color: #21A627;
  305. -webkit-box-shadow: 0px 1px 3px 0px rgba(67, 97, 53, 0.5) inset;
  306. -moz-box-shadow: 0px 1px 3px 0px rgba(67, 97, 53, 0.5) inset;
  307. box-shadow: 0px 1px 3px 0px rgba(67, 97, 53, 0.5) inset;
  308. }
  309. /* Bubbly Variation */
  310. .ui.button.bubbly {
  311. -webkit-border-radius: 30px;
  312. -moz-border-radius: 30px;
  313. border-radius: 30px;
  314. }
  315. /* Button attached to a form element */
  316. input + .ui.attached.button {
  317. display: inline-block;
  318. min-width: 40px;
  319. margin: 0px 0px 0px -15px;
  320. height: 14px;
  321. padding: 8px 15px;
  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. }
  329. .ui.attached.button.loading,
  330. .ui.attached.button.loading.hover {
  331. opacity: 1;
  332. }
  333. /*-------------------
  334. Attached Style
  335. --------------------*/
  336. .ui.button.attached {
  337. display: block;
  338. }
  339. .ui.button.attached.top {
  340. margin-left: -1px;
  341. margin-right: -1px;
  342. -webkit-border-radius: 5px 5px 0px 0px;
  343. -moz-border-radius: 5px 5px 0px 0px;
  344. border-radius: 5px 5px 0px 0px;
  345. }
  346. .ui.button.attached.bottom {
  347. margin-left: -1px;
  348. margin-right: -1px;
  349. -webkit-border-radius: 0px 0px 5px 5px;
  350. -moz-border-radius: 0px 0px 5px 5px;
  351. border-radius: 0px 0px 5px 5px;
  352. }
  353. /*******************************
  354. States
  355. *******************************/
  356. /* Hover */
  357. .ui.button.hover {
  358. background-color: #DDDDDD;
  359. }
  360. /* Down */
  361. .ui.button.down {
  362. -webkit-box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.2) inset;
  363. -moz-box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.2) inset;
  364. box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.2) inset;
  365. }
  366. /* Active */
  367. .ui.buttons .button.active,
  368. .ui.button.active {
  369. background-color: #E6E6E6;
  370. background: -webkit-linear-gradient(top, #E9E9E9 0%, #F0F0F0 100%);
  371. background: -moz-linear-gradient(top, #E9E9E9 0%, #F0F0F0 100%);
  372. background: -o-linear-gradient(top, #E9E9E9 0%, #F0F0F0 100%);
  373. background: -ms-linear-gradient(top, #E9E9E9 0%, #F0F0F0 100%);
  374. background: linear-gradient(top, #E9E9E9 0%, #F0F0F0 100%);
  375. text-shadow: 0px -1px 0px rgba(255, 255, 255, 0.3);
  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. text-shadow: none;
  403. }
  404. .ui.buttons .button.active.hover,
  405. .ui.buttons .button.active.hover a,
  406. .ui.button.active.hover,
  407. .ui.button.active.hover a {
  408. color: #555555;
  409. }
  410. .ui.buttons .button.active.hover.down,
  411. .ui.button.active.hover.down {
  412. background: #E0E0E0 -webkit-linear-gradient(top, #E0E0E0 0%, #E8E8E8 100%);
  413. background: #E0E0E0 -moz-linear-gradient(top, #E0E0E0 0%, #E8E8E8 100%);
  414. background: #E0E0E0 -o-linear-gradient(top, #E0E0E0 0%, #E8E8E8 100%);
  415. background: #E0E0E0 -ms-linear-gradient(top, #E0E0E0 0%, #E8E8E8 100%);
  416. background: #E0E0E0 linear-gradient(top, #E0E0E0 0%, #E8E8E8 100%);
  417. }
  418. /*******************************
  419. Loading
  420. *******************************/
  421. /* Loading */
  422. .ui.button.loading,
  423. .ui.button.loading.hover {
  424. position: relative;
  425. cursor: default;
  426. opacity: 0.75;
  427. color: #888888 !important;
  428. background-image: none !important;
  429. -webkit-box-shadow: none !important;
  430. -moz-box-shadow: none !important;
  431. box-shadow: none !important;
  432. -webkit-transition: all 0s linear;
  433. -moz-transition: all 0s linear;
  434. -o-transition: all 0s linear;
  435. -ms-transition: all 0s linear;
  436. transition: all 0s linear;
  437. }
  438. .ui.button.loading:after {
  439. position: absolute;
  440. top: 0px;
  441. left: 0px;
  442. width: 100%;
  443. height: 100%;
  444. content: '';
  445. /* standard */
  446. background: url(/images/ui/throbber-blue-tiny.gif) no-repeat 50% 50%;
  447. /* css 3 multi image */
  448. background-image: url(/images/ui/throbber-blue-tiny.gif), -webkit-linear-gradient(top, #22C1FC 0%, #1995FB 100%);
  449. background-image: url(/images/ui/throbber-blue-tiny.gif), -moz-linear-gradient(top, #22C1FC 0%, #1995FB 100%);
  450. background-image: url(/images/ui/throbber-blue-tiny.gif), -o-linear-gradient(top, #22C1FC 0%, #1995FB 100%);
  451. background-image: url(/images/ui/throbber-blue-tiny.gif), -ms-linear-gradient(top, #22C1FC 0%, #1995FB 100%);
  452. background-image: url(/images/ui/throbber-blue-tiny.gif), linear-gradient(top, #22C1FC 0%, #1995FB 100%);
  453. background-position: 50% 50%, 0px 0px;
  454. background-repeat: no-repeat, repeat;
  455. -moz-border-radius: 3px;
  456. -webkit-border-radius: 3px;
  457. border-radius: 3px;
  458. }
  459. /* Opposite color loader */
  460. .ui.grey.button.loading,
  461. .ui.button.active.loading {
  462. border-color: #BBBBBB
  463. }
  464. .ui.grey.button.loading:after,
  465. .ui.button.active.loading:after {
  466. background-color: #FAFAFA;
  467. /* standard */
  468. background: url(/images/ui/throbber-tiny.gif) no-repeat 50% 50%;
  469. /* css 3 multi image */
  470. background-image: url(/images/ui/throbber-tiny.gif), -webkit-linear-gradient(top, #FFFFFF 0%, #E6E6E6 100%);
  471. background-image: url(/images/ui/throbber-tiny.gif), -moz-linear-gradient(top, #FFFFFF 0%, #E6E6E6 100%);
  472. background-image: url(/images/ui/throbber-tiny.gif), -o-linear-gradient(top, #FFFFFF 0%, #E6E6E6 100%);
  473. background-image: url(/images/ui/throbber-tiny.gif), -ms-linear-gradient(top, #FFFFFF 0%, #E6E6E6 100%);
  474. background-image: url(/images/ui/throbber-tiny.gif), linear-gradient(top, #FFFFFF 0%, #E6E6E6 100%);
  475. background-position: 50% 50%, 0px 0px;
  476. background-repeat: no-repeat, repeat;
  477. }
  478. /* resizes */
  479. /* blue */
  480. .ui.huge.button.loading:after {
  481. background-image: url(/images/ui/throbber-blue-small.gif), -webkit-linear-gradient(top, #22C1FC 0%, #1995FB 100%);
  482. background-image: url(/images/ui/throbber-blue-small.gif), -moz-linear-gradient(top, #22C1FC 0%, #1995FB 100%);
  483. background-image: url(/images/ui/throbber-blue-small.gif), -o-linear-gradient(top, #22C1FC 0%, #1995FB 100%);
  484. background-image: url(/images/ui/throbber-blue-small.gif), -ms-linear-gradient(top, #22C1FC 0%, #1995FB 100%);
  485. background-image: url(/images/ui/throbber-blue-small.gif), linear-gradient(top, #22C1FC 0%, #1995FB 100%);
  486. }
  487. .ui.massive.buttons .button.loading:after,
  488. .ui.gigantic.buttons .button.loading:after,
  489. .ui.massive.button.loading:after,
  490. .ui.gigantic.button.loading:after {
  491. background-image: url(/images/ui/throbber-blue-medium.gif), -webkit-linear-gradient(top, #22C1FC 0%, #1995FB 100%);
  492. background-image: url(/images/ui/throbber-blue-medium.gif), -moz-linear-gradient(top, #22C1FC 0%, #1995FB 100%);
  493. background-image: url(/images/ui/throbber-blue-medium.gif), -o-linear-gradient(top, #22C1FC 0%, #1995FB 100%);
  494. background-image: url(/images/ui/throbber-blue-medium.gif), -ms-linear-gradient(top, #22C1FC 0%, #1995FB 100%);
  495. background-image: url(/images/ui/throbber-blue-medium.gif), linear-gradient(top, #22C1FC 0%, #1995FB 100%);
  496. }
  497. /* grey */
  498. .ui.huge.grey.button.loading:after,
  499. .ui.huge.button.loading.active:after {
  500. background-image: url(/images/ui/throbber-small.gif), -webkit-linear-gradient(top, #FFFFFF 0%, #E6E6E6 100%);
  501. background-image: url(/images/ui/throbber-small.gif), -moz-linear-gradient(top, #FFFFFF 0%, #E6E6E6 100%);
  502. background-image: url(/images/ui/throbber-small.gif), -o-linear-gradient(top, #FFFFFF 0%, #E6E6E6 100%);
  503. background-image: url(/images/ui/throbber-small.gif), -ms-linear-gradient(top, #FFFFFF 0%, #E6E6E6 100%);
  504. background-image: url(/images/ui/throbber-small.gif), linear-gradient(top, #FFFFFF 0%, #E6E6E6 100%);
  505. }
  506. .ui.massive.grey.buttons .button.loading:after,
  507. .ui.gigantic.grey.buttons .button.loading:after,
  508. .ui.massive.grey.button.loading:after,
  509. .ui.gigantic.grey.button.loading:after,
  510. .ui.massive.grey.buttons .button.loading.active:after,
  511. .ui.gigantic.grey.buttons .button.loading.active:after,
  512. .ui.massive.button.loading.active:after,
  513. .ui.gigantic.button.loading.active:after {
  514. background-image: url(/images/ui/throbber-medium.gif), -webkit-linear-gradient(top, #FFFFFF 0%, #E6E6E6 100%);
  515. background-image: url(/images/ui/throbber-medium.gif), -moz-linear-gradient(top, #FFFFFF 0%, #E6E6E6 100%);
  516. background-image: url(/images/ui/throbber-medium.gif), -o-linear-gradient(top, #FFFFFF 0%, #E6E6E6 100%);
  517. background-image: url(/images/ui/throbber-medium.gif), -ms-linear-gradient(top, #FFFFFF 0%, #E6E6E6 100%);
  518. background-image: url(/images/ui/throbber-medium.gif), linear-gradient(top, #FFFFFF 0%, #E6E6E6 100%);
  519. }
  520. /*******************************
  521. Error States
  522. *******************************/
  523. .ui.buttons .button.error,
  524. .ui.buttons .button.error.hover,
  525. .ui.buttons .button.error.down,
  526. .ui.button.error,
  527. .ui.button.error.hover,
  528. .ui.button.error.down {
  529. cursor: default;
  530. position: relative;
  531. color: #FFFFFF;
  532. text-shadow: none;
  533. -webkit-transition: all 0s linear;
  534. -moz-transition: all 0s linear;
  535. -o-transition: all 0s linear;
  536. -ms-transition: all 0s linear;
  537. transition: all 0s linear;
  538. }
  539. .ui.buttons .button.error:after,
  540. .ui.buttons .button.error.hover:after,
  541. .ui.buttons .button.error.down:after,
  542. .ui.button.error:after,
  543. .ui.button.error.hover:after,
  544. .ui.button.error.down:after {
  545. position: absolute;
  546. top: 0px;
  547. left: 0px;
  548. width: 100%;
  549. height: 100%;
  550. content: '';
  551. /* standard */
  552. background: #EE141D url(/images/ui/button-error.gif) no-repeat 50% 50%;
  553. }
  554. .ui.button.success,
  555. .ui.button.success.hover,
  556. .ui.button.success.down {
  557. background-color: #59B94B;
  558. color: #FFFFFF;
  559. text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
  560. border-color: #588D0F;
  561. }
  562. /* Disabled State */
  563. .ui.button.disabled,
  564. .ui.button.disabled.hover,
  565. .ui.button.disabled.down {
  566. cursor: default;
  567. color: #BBBBBB;
  568. background-color: #F8F8F8 !important;
  569. background-image: none !important;
  570. text-shadow: none !important;
  571. -webkit-box-shadow: none !important;
  572. -moz-box-shadow: none !important;
  573. box-shadow: none !important;
  574. }
  575. /*******************************
  576. Buttons (Button Group)
  577. *******************************/
  578. .ui.buttons {
  579. overflow: hidden;
  580. }
  581. .ui.buttons .button,
  582. .ui.buttons .mini.button,
  583. .ui.buttons .tiny.button,
  584. .ui.buttons .small.button,
  585. .ui.buttons .massive.button,
  586. .ui.buttons .huge.button,
  587. .ui.buttons .gigantic.button {
  588. float: left;
  589. -webkit-border-radius: 0px;
  590. -moz-border-radius: 0px;
  591. border-radius: 0px;
  592. }
  593. .ui.buttons .button:first-child,
  594. .ui.buttons .mini.button:first-child,
  595. .ui.buttons .tiny.button:first-child,
  596. .ui.buttons .small.button:first-child,
  597. .ui.buttons .massive.button:first-child,
  598. .ui.buttons .huge.button:first-child,
  599. .ui.buttons .gigantic.button:first-child {
  600. margin-left: 0px;
  601. border-top-left-radius: 4px;
  602. border-bottom-left-radius: 4px;
  603. }
  604. .ui.buttons .button:last-child,
  605. .ui.buttons .mini.button:last-child,
  606. .ui.buttons .tiny.button:last-child,
  607. .ui.buttons .small.button:last-child,
  608. .ui.buttons .massive.button:last-child,
  609. .ui.buttons .huge.button:last-child,
  610. .ui.buttons .gigantic.button:last-child {
  611. border-top-right-radius: 4px;
  612. border-bottom-right-radius: 4px;
  613. }
  614. /* Vertical Style */
  615. .ui.buttons.vertical {
  616. display: inline-block;
  617. }
  618. .ui.buttons.vertical .button {
  619. display: block;
  620. float: none;
  621. }
  622. .ui.buttons.vertical .button,
  623. .ui.buttons.vertical .mini.button,
  624. .ui.buttons.vertical .tiny.button,
  625. .ui.buttons.vertical .small.button,
  626. .ui.buttons.vertical .massive.button,
  627. .ui.buttons.vertical .huge.button,
  628. .ui.buttons.vertical .gigantic.button {
  629. -moz-border-radius: 0px;
  630. -webkit-border-radius: 0px;
  631. border-radius: 0px;
  632. }
  633. .ui.buttons.vertical .button:first-child,
  634. .ui.buttons.vertical .mini.button:first-child,
  635. .ui.buttons.vertical .tiny.button:first-child,
  636. .ui.buttons.vertical .small.button:first-child,
  637. .ui.buttons.vertical .massive.button:first-child,
  638. .ui.buttons.vertical .huge.button:first-child,
  639. .ui.buttons.vertical .gigantic.button:first-child {
  640. margin-top: 0px;
  641. -moz-border-radius: 5px 5px 0px 0px;
  642. -webkit-border-radius: 5px 5px 0px 0px;
  643. border-radius: 5px 5px 0px 0px;
  644. }
  645. .ui.buttons.vertical .button:last-child,
  646. .ui.buttons.vertical .mini.button:last-child,
  647. .ui.buttons.vertical .tiny.button:last-child,
  648. .ui.buttons.vertical .small.button:last-child,
  649. .ui.buttons.vertical .massive.button:last-child,
  650. .ui.buttons.vertical .huge.button:last-child,
  651. .ui.buttons.vertical .gigantic.button:last-child {
  652. -moz-border-radius: 0px 0px 5px 5px;
  653. -webkit-border-radius: 0px 0px 5px 5px;
  654. border-radius: 0px 0px 5px 5px;
  655. }
  656. /* Only show multiple borders when changing colors in group */
  657. .ui.buttons .grey.button + .grey.button,
  658. .ui.buttons .blue.button + .blue.button,
  659. .ui.buttons .purple.button + .purple.button,
  660. .ui.buttons .green.button + .green.button {
  661. margin-left: -1px;
  662. }
  663. .ui.vertical.buttons .grey.button + .grey.button,
  664. .ui.vertical.buttons .blue.button + .blue.button,
  665. .ui.vertical.buttons .purple.button + .purple.button,
  666. .ui.vertical.buttons .green.button + .green.button {
  667. margin-top: -1px;
  668. }
  669. /*******************************
  670. OR Button Divisions
  671. *******************************/
  672. .ui.buttons .or {
  673. position: relative;
  674. float: left;
  675. }
  676. .ui.buttons .or:before {
  677. position: absolute;
  678. top: 50%;
  679. left: 50%;
  680. content: 'or';
  681. background-color: #FFFFFF;
  682. line-height: 1;
  683. color: #AAAAAA;
  684. font-style: italic;
  685. text-align: center;
  686. -moz-box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.6) inset;
  687. -webkit-box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.6) inset;
  688. box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.6) inset;
  689. -moz-border-radius: 500px;
  690. -webkit-border-radius: 500px;
  691. border-radius: 500px;
  692. -webkit-box-sizing: border-box;
  693. -moz-box-sizing: border-box;
  694. -ms-box-sizing: border-box;
  695. box-sizing: border-box;
  696. }
  697. .ui.buttons .or:after {
  698. position: absolute;
  699. top: 0px;
  700. left: 0px;
  701. content: ' ';
  702. background-color: transparent;
  703. border-top: 2px solid #FFFFFF;
  704. border-bottom: 2px solid #FFFFFF;
  705. }
  706. /* Or Sizes */
  707. .ui.buttons .or {
  708. width: 5px;
  709. height: 28px;
  710. }
  711. .ui.buttons .or:before {
  712. margin-top: -10px;
  713. margin-left: -12px;
  714. padding-top: 5px;
  715. width: 22px;
  716. height: 22px;
  717. font-size: 12px;
  718. }
  719. .ui.buttons .or:after {
  720. top: 4px;
  721. width: 5px;
  722. height: 18px;
  723. }
  724. .ui.fluid.buttons .or {
  725. width: 0px !important;
  726. }
  727. .ui.fluid.buttons .or:after{
  728. display: none;
  729. }
  730. /* mini */
  731. .ui.mini.buttons .or,
  732. .ui.buttons .mini.or {
  733. height: 19px;
  734. }
  735. .ui.mini.buttons .or:before,
  736. .ui.buttons .mini.or:before {
  737. margin-left: -8px;
  738. margin-top: -6px;
  739. padding-top: 2px;
  740. width: 14px;
  741. height: 14px;
  742. font-size: 9px;
  743. }
  744. .ui.mini.buttons .or:after,
  745. .ui.buttons .mini.or:after {
  746. top: 3px;
  747. width: 4px;
  748. height: 10px;
  749. }
  750. /* tiny */
  751. .ui.tiny.buttons .or,
  752. .ui.buttons .tiny.or {
  753. height: 26px;
  754. }
  755. .ui.tiny.buttons .or:before,
  756. .ui.buttons .tiny.or:before {
  757. margin-left: -11px;
  758. margin-top: -10px;
  759. padding-top: 4px;
  760. width: 20px;
  761. height: 19px;
  762. font-size: 11px;
  763. }
  764. .ui.tiny.buttons .or:after,
  765. .ui.buttons .tiny.or:after {
  766. top: 2px;
  767. width: 5px;
  768. height: 16px;
  769. }
  770. /* small */
  771. .ui.small.buttons .or,
  772. .ui.buttons .small.or {
  773. height: 26px;
  774. }
  775. .ui.small.buttons .or:before,
  776. .ui.buttons .small.or:before {
  777. margin-left: -11px;
  778. margin-top: -10px;
  779. padding-top: 4px;
  780. width: 20px;
  781. height: 19px;
  782. font-size: 11px;
  783. }
  784. .ui.small.buttons .or:after,
  785. .ui.buttons .small.or:after {
  786. top: 2px;
  787. width: 5px;
  788. height: 16px;
  789. }
  790. /* big */
  791. .ui.big.buttons .or,
  792. .ui.buttons .big.or {
  793. }
  794. .ui.big.buttons .or:before,
  795. .ui.buttons .big.or:before {
  796. margin-left: -14px;
  797. margin-top: -8px;
  798. padding-top: 5px;
  799. width: 26px;
  800. height: 25px;
  801. font-size: 14px;
  802. }
  803. .ui.big.buttons .or:after,
  804. .ui.buttons .big.or:after {
  805. top: 5px;
  806. width: 5px;
  807. height: 22px;
  808. }
  809. /* huge */
  810. .ui.huge.buttons .or,
  811. .ui.buttons .huge.or {
  812. width: 6px;
  813. height: 41px;
  814. }
  815. .ui.huge.buttons .or:before,
  816. .ui.buttons .huge.or:before {
  817. margin-left: -15px;
  818. margin-top: -14px;
  819. padding-top: 6px;
  820. width: 30px;
  821. height: 29px;
  822. font-size: 15px;
  823. }
  824. .ui.huge.buttons .or:after,
  825. .ui.buttons .huge.or:after {
  826. top: 6px;
  827. width: 6px;
  828. height: 26px;
  829. }
  830. /* Wide Style */
  831. .ui.buttons.wide {
  832. background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.03) 100%);
  833. background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.03) 100%);
  834. background: -o-linear-gradient(top, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.03) 100%);
  835. background: -ms-linear-gradient(top, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.03) 100%);
  836. background: linear-gradient(top, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.03) 100%);
  837. -webkit-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.15) inset;
  838. -moz-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.15) inset;
  839. box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.15) inset;
  840. border-radius: 3px;
  841. padding-bottom: 0px;
  842. }
  843. .ui.buttons.wide .button:last-child {
  844. -webkit-border-radius: 0px;
  845. -moz-border-radius: 0px;
  846. border-radius: 0px;
  847. }
  848. /*-------------------
  849. Attached
  850. --------------------*/
  851. .attached.ui.buttons {
  852. margin: 0px;
  853. -webkit-border-radius: 4px 4px 0px 0px;
  854. -moz-border-radius: 4px 4px 0px 0px;
  855. border-radius: 4px 4px 0px 0px;
  856. }
  857. .attached.ui.buttons .button:first-child {
  858. -webkit-border-radius: 4px 0px 0px 0px;
  859. -moz-border-radius: 4px 0px 0px 0px;
  860. border-radius: 4px 0px 0px 0px;
  861. }
  862. .attached.ui.buttons .button:last-child {
  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. /* Bottom Side */
  868. .bottom.attached.ui.buttons {
  869. margin-top: -1px;
  870. -webkit-border-radius: 0px 0px 4px 4px;
  871. -moz-border-radius: 0px 0px 4px 4px;
  872. border-radius: 0px 0px 4px 4px;
  873. }
  874. .bottom.attached.ui.buttons .button:first-child {
  875. -webkit-border-radius: 0px 0px 0px 4px;
  876. -moz-border-radius: 0px 0px 0px 4px;
  877. border-radius: 0px 0px 0px 4px;
  878. }
  879. .bottom.attached.ui.buttons .button:last-child {
  880. -webkit-border-radius: 0px 0px 4px 0px;
  881. -moz-border-radius: 0px 0px 4px 0px;
  882. border-radius: 0px 0px 4px 0px;
  883. }
  884. /* Fluid */
  885. .ui.fluid.buttons,
  886. .ui.button.fluid,
  887. .ui.fluid.buttons > .button {
  888. width: 100%;
  889. -webkit-box-sizing: border-box;
  890. -moz-box-sizing: border-box;
  891. -ms-box-sizing: border-box;
  892. box-sizing: border-box;
  893. }
  894. .ui.two.fluid.buttons > .button {
  895. width: 50%;
  896. }
  897. .ui.three.fluid.buttons > .button {
  898. width: 33.333%;
  899. }
  900. .ui.four.fluid.buttons > .button {
  901. width: 25%;
  902. }
  903. .ui.five.fluid.buttons > .button {
  904. width: 20%;
  905. }
  906. .ui.six.fluid.buttons > .button {
  907. width: 16.666%;
  908. }
  909. .ui.seven.fluid.buttons > .button {
  910. width: 14.285%;
  911. }
  912. .ui.eight.fluid.buttons > .button {
  913. width: 12.500%;
  914. }
  915. .ui.nine.fluid.buttons > .button {
  916. width: 11.11%;
  917. }
  918. .ui.ten.fluid.buttons > .button {
  919. width: 10%;
  920. }
  921. .ui.eleven.fluid.buttons > .button {
  922. width: 9.09%;
  923. }
  924. .ui.twelve.fluid.buttons > .button {
  925. width: 8.3333%;
  926. }
  927. /* Fluid Vertical Buttons */
  928. .ui.fluid.vertical.buttons,
  929. .ui.fluid.vertical.buttons > .button {
  930. width: auto;
  931. -webkit-box-sizing: border-box;
  932. -moz-box-sizing: border-box;
  933. -ms-box-sizing: border-box;
  934. box-sizing: border-box;
  935. }
  936. .ui.two.fluid.buttons > .button {
  937. height: 50%;
  938. }
  939. .ui.three.fluid.buttons > .button {
  940. height: 33.333%;
  941. }
  942. .ui.four.fluid.buttons > .button {
  943. height: 25%;
  944. }
  945. .ui.five.fluid.buttons > .button {
  946. height: 20%;
  947. }
  948. .ui.six.fluid.buttons > .button {
  949. height: 16.666%;
  950. }
  951. .ui.seven.fluid.buttons > .button {
  952. height: 14.285%;
  953. }
  954. .ui.eight.fluid.buttons > .button {
  955. height: 12.500%;
  956. }
  957. .ui.nine.fluid.buttons > .button {
  958. height: 11.11%;
  959. }
  960. .ui.ten.fluid.buttons > .button {
  961. height: 10%;
  962. }
  963. .ui.eleven.fluid.buttons > .button {
  964. height: 9.09%;
  965. }
  966. .ui.twelve.fluid.buttons > .button {
  967. height: 8.3333%;
  968. }