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.

874 lines
22 KiB

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