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.

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