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.

1175 lines
25 KiB

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