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.

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