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.

1187 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-left: 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. right: 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: right;
  296. margin-left: 0.25em;
  297. }
  298. .ui.right.floated.buttons,
  299. .ui.right.floated.button {
  300. float: left;
  301. margin-right: 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-right: 4em !important;
  461. padding-left: 1.4em !important;
  462. }
  463. .ui.labeled.icon.buttons > .button > .icon,
  464. .ui.labeled.icon.button > .icon {
  465. position: absolute;
  466. top: 0em;
  467. right: 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: 0px 0.2em 0.2em 0px;
  478. -moz-border-radius: 0px 0.2em 0.2em 0px;
  479. border-radius: 0px 0.2em 0.2em 0px;
  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-right-radius: 0.2em;
  492. border-bottom-right-radius: 0.2em;
  493. }
  494. .ui.labeled.icon.buttons .button:last-child > .icon {
  495. border-top-left-radius: 0.2em;
  496. border-bottom-left-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-right-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-right-radius: 0.2em;
  509. }
  510. .ui.right.labeled.icon.button {
  511. padding-right: 1.4em !important;
  512. padding-left: 4em !important;
  513. }
  514. .ui.left.fluid.labeled.icon.button,
  515. .ui.right.fluid.labeled.icon.button {
  516. padding-right: 1.4em !important;
  517. padding-left: 1.4em !important;
  518. }
  519. .ui.right.labeled.icon.button .icon {
  520. right: auto;
  521. left: 0em;
  522. -webkit-border-radius: 0.2em 0em 0em 0.2em;
  523. -moz-border-radius: 0.2em 0em 0em 0.2em;
  524. border-radius: 0.2em 0em 0em 0.2em;
  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-right: none;
  573. padding-left: 0.75em;
  574. text-align: left;
  575. -webkit-border-radius: 0em 0.2em 0.2em 0em;
  576. -moz-border-radius: 0em 0.2em 0.2em 0em;
  577. border-radius: 0em 0.2em 0.2em 0em;
  578. }
  579. .ui.attached.right.button {
  580. display: inline-block;
  581. padding-right: 0.75em;
  582. text-align: right;
  583. -webkit-border-radius: 0.2em 0em 0em 0.2em;
  584. -moz-border-radius: 0.2em 0em 0em 0.2em;
  585. border-radius: 0.2em 0em 0em 0.2em;
  586. }
  587. /*-------------------
  588. Or Buttons
  589. --------------------*/
  590. .ui.buttons .or {
  591. position: relative;
  592. float: right;
  593. width: 0.3em;
  594. height: 1em;
  595. z-index: 3;
  596. }
  597. .ui.buttons .or:before {
  598. position: absolute;
  599. top: 50%;
  600. right: 50%;
  601. content: 'or';
  602. background-color: #FFFFFF;
  603. margin-top: -0.15em;
  604. margin-right: -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. right: 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: 0px 4px 0px 0px;
  653. -moz-border-radius: 0px 4px 0px 0px;
  654. border-radius: 0px 4px 0px 0px;
  655. }
  656. .attached.ui.buttons .button:last-child {
  657. -webkit-border-radius: 4px 0px 0px 0px;
  658. -moz-border-radius: 4px 0px 0px 0px;
  659. border-radius: 4px 0px 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 4px 0px;
  670. -moz-border-radius: 0px 0px 4px 0px;
  671. border-radius: 0px 0px 4px 0px;
  672. }
  673. .bottom.attached.ui.buttons .button:last-child {
  674. -webkit-border-radius: 0px 0px 0px 4px;
  675. -moz-border-radius: 0px 0px 0px 4px;
  676. border-radius: 0px 0px 0px 4px;
  677. }
  678. /* Left Side */
  679. .left.attached.ui.buttons {
  680. margin-right: -1px;
  681. -webkit-border-radius: 4px 0px 0px 4px;
  682. -moz-border-radius: 4px 0px 0px 4px;
  683. border-radius: 4px 0px 0px 4px;
  684. }
  685. .left.attached.ui.buttons .button:first-child {
  686. margin-right: -1px;
  687. -webkit-border-radius: 4px 0px 0px 0px;
  688. -moz-border-radius: 4px 0px 0px 0px;
  689. border-radius: 4px 0px 0px 0px;
  690. }
  691. .left.attached.ui.buttons .button:last-child {
  692. margin-right: -1px;
  693. -webkit-border-radius: 0px 0px 0px 4px;
  694. -moz-border-radius: 0px 0px 0px 4px;
  695. border-radius: 0px 0px 0px 4px;
  696. }
  697. /* Right Side */
  698. .right.attached.ui.buttons,
  699. .right.attached.ui.buttons .button {
  700. margin-left: -1px;
  701. -webkit-border-radius: 0px 4px 4px 0px;
  702. -moz-border-radius: 0px 4px 4px 0px;
  703. border-radius: 0px 4px 4px 0px;
  704. }
  705. .right.attached.ui.buttons .button:first-child {
  706. margin-right: -1px;
  707. -webkit-border-radius: 0px 4px 0px 0px;
  708. -moz-border-radius: 0px 4px 0px 0px;
  709. border-radius: 0px 4px 0px 0px;
  710. }
  711. .right.attached.ui.buttons .button:last-child {
  712. margin-right: -1px;
  713. -webkit-border-radius: 0px 0px 4px 0px;
  714. -moz-border-radius: 0px 0px 4px 0px;
  715. border-radius: 0px 0px 4px 0px;
  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. /*--- White ---*/
  803. .ui.white.buttons .button,
  804. .ui.white.button {
  805. background-color: #FFFFFF;
  806. }
  807. .ui.white.buttons .button:hover,
  808. .ui.white.button:hover {
  809. background-color: #A4A4A4;
  810. }
  811. /*--- Black ---*/
  812. .ui.black.buttons .button,
  813. .ui.black.button {
  814. background-color: #5C6166;
  815. color: #FFFFFF;
  816. }
  817. .ui.black.buttons .button:hover,
  818. .ui.black.button:hover {
  819. background-color: #4C4C4C;
  820. color: #FFFFFF;
  821. }
  822. .ui.black.buttons .button:active,
  823. .ui.black.button:active {
  824. background-color: #333333;
  825. color: #FFFFFF;
  826. }
  827. /*--- Green ---*/
  828. .ui.green.buttons .button,
  829. .ui.green.button {
  830. background-color: #5BBD72;
  831. color: #FFFFFF;
  832. }
  833. .ui.green.buttons .button:hover,
  834. .ui.green.button:hover,
  835. .ui.green.buttons .active.button,
  836. .ui.green.button.active {
  837. background-color: #58cb73;
  838. color: #FFFFFF;
  839. }
  840. .ui.green.buttons .button:active,
  841. .ui.green.button:active {
  842. background-color: #4CB164;
  843. color: #FFFFFF;
  844. }
  845. /*--- Red ---*/
  846. .ui.red.buttons .button,
  847. .ui.red.button {
  848. background-color: #D95C5C;
  849. color: #FFFFFF;
  850. }
  851. .ui.red.buttons .button:hover,
  852. .ui.red.button:hover,
  853. .ui.red.buttons .active.button,
  854. .ui.red.button.active {
  855. background-color: #E75859;
  856. color: #FFFFFF;
  857. }
  858. .ui.red.buttons .button:active,
  859. .ui.red.button:active {
  860. background-color: #D24B4C;
  861. color: #FFFFFF;
  862. }
  863. /*--- Orange ---*/
  864. .ui.orange.buttons .button,
  865. .ui.orange.button {
  866. background-color: #E96633;
  867. color: #FFFFFF;
  868. }
  869. .ui.orange.buttons .button:hover,
  870. .ui.orange.button:hover,
  871. .ui.orange.buttons .active.button,
  872. .ui.orange.button.active {
  873. background-color: #FF7038;
  874. color: #FFFFFF;
  875. }
  876. .ui.orange.buttons .button:active,
  877. .ui.orange.button:active {
  878. background-color: #DA683B;
  879. color: #FFFFFF;
  880. }
  881. /*--- Blue ---*/
  882. .ui.blue.buttons .button,
  883. .ui.blue.button {
  884. background-color: #6ECFF5;
  885. color: #FFFFFF;
  886. }
  887. .ui.blue.buttons .button:hover,
  888. .ui.blue.button:hover,
  889. .ui.blue.buttons .active.button,
  890. .ui.blue.button.active {
  891. background-color: #1AB8F3;
  892. color: #FFFFFF;
  893. }
  894. .ui.blue.buttons .button:active,
  895. .ui.blue.button:active {
  896. background-color: #0AA5DF;
  897. color: #FFFFFF;
  898. }
  899. /*--- Purple ---*/
  900. .ui.purple.buttons .button,
  901. .ui.purple.button {
  902. background-color: #564F8A;
  903. color: #FFFFFF;
  904. }
  905. .ui.purple.buttons .button:hover,
  906. .ui.purple.button:hover,
  907. .ui.purple.buttons .active.button,
  908. .ui.purple.button.active {
  909. background-color: #3E3773;
  910. color: #FFFFFF;
  911. }
  912. .ui.purple.buttons .button:active,
  913. .ui.purple.button:active {
  914. background-color: #2E2860;
  915. color: #FFFFFF;
  916. }
  917. /*--- Teal ---*/
  918. .ui.teal.buttons .button,
  919. .ui.teal.button {
  920. background-color: #00B5AD;
  921. color: #FFFFFF;
  922. }
  923. .ui.teal.buttons .button:hover,
  924. .ui.teal.button:hover,
  925. .ui.teal.buttons .active.button,
  926. .ui.teal.button.active {
  927. background-color: #009A93;
  928. color: #FFFFFF;
  929. }
  930. .ui.teal.buttons .button:active,
  931. .ui.teal.button:active {
  932. background-color: #00847E;
  933. color: #FFFFFF;
  934. }
  935. /*---------------
  936. Positive
  937. ----------------*/
  938. .ui.positive.buttons .button,
  939. .ui.positive.button {
  940. background-color: #5BBD72 !important;
  941. color: #FFFFFF;
  942. }
  943. .ui.positive.buttons .button:hover,
  944. .ui.positive.button:hover,
  945. .ui.positive.buttons .active.button,
  946. .ui.positive.button.active {
  947. background-color: #58CB73 !important;
  948. color: #FFFFFF;
  949. }
  950. .ui.positive.buttons .button:active,
  951. .ui.positive.button:active {
  952. background-color: #4CB164 !important;
  953. color: #FFFFFF;
  954. }
  955. /*---------------
  956. Negative
  957. ----------------*/
  958. .ui.negative.buttons .button,
  959. .ui.negative.button {
  960. background-color: #D95C5C !important;
  961. color: #FFFFFF;
  962. }
  963. .ui.negative.buttons .button:hover,
  964. .ui.negative.button:hover,
  965. .ui.negative.buttons .active.button,
  966. .ui.negative.button.active {
  967. background-color: #E75859 !important;
  968. color: #FFFFFF;
  969. }
  970. .ui.negative.buttons .button:active,
  971. .ui.negative.button:active {
  972. background-color: #D24B4C !important;
  973. color: #FFFFFF;
  974. }
  975. /*******************************
  976. Groups
  977. *******************************/
  978. .ui.buttons {
  979. display: inline-block;
  980. vertical-align: middle;
  981. }
  982. .ui.buttons:after {
  983. content: ".";
  984. display: block;
  985. height: 0;
  986. clear: both;
  987. visibility: hidden;
  988. }
  989. .ui.buttons .button:first-child {
  990. border-right: none;
  991. }
  992. .ui.buttons .button {
  993. float: right;
  994. -webkit-border-radius: 0em;
  995. -moz-border-radius: 0em;
  996. border-radius: 0em;
  997. border-right: 1px solid rgba(0, 0, 0, 0.05);
  998. }
  999. .ui.buttons .button:first-child {
  1000. margin-right: 0em;
  1001. border-top-right-radius: 0.2em;
  1002. border-bottom-right-radius: 0.2em;
  1003. }
  1004. .ui.buttons .button:last-child {
  1005. border-top-left-radius: 0.2em;
  1006. border-bottom-left-radius: 0.2em;
  1007. }
  1008. /* Vertical Style */
  1009. .ui.vertical.buttons {
  1010. display: inline-block;
  1011. }
  1012. .ui.vertical.buttons .button {
  1013. display: block;
  1014. float: none;
  1015. border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  1016. border-right: none;
  1017. box-shadow: none;
  1018. }
  1019. .ui.vertical.buttons .button:first-child,
  1020. .ui.vertical.buttons .mini.button:first-child,
  1021. .ui.vertical.buttons .tiny.button:first-child,
  1022. .ui.vertical.buttons .small.button:first-child,
  1023. .ui.vertical.buttons .massive.button:first-child,
  1024. .ui.vertical.buttons .huge.button:first-child {
  1025. margin-top: 0px;
  1026. -moz-border-radius: 0.2em 0.2em 0px 0px;
  1027. -webkit-border-radius: 0.2em 0.2em 0px 0px;
  1028. border-radius: 0.2em 0.2em 0px 0px;
  1029. }
  1030. .ui.vertical.buttons .button:last-child,
  1031. .ui.vertical.buttons .mini.button:last-child,
  1032. .ui.vertical.buttons .tiny.button:last-child,
  1033. .ui.vertical.buttons .small.button:last-child,
  1034. .ui.vertical.buttons .massive.button:last-child,
  1035. .ui.vertical.buttons .huge.button:last-child,
  1036. .ui.vertical.buttons .gigantic.button:last-child {
  1037. -moz-border-radius: 0px 0px 0.2em 0.2em;
  1038. -webkit-border-radius: 0px 0px 0.2em 0.2em;
  1039. border-radius: 0px 0px 0.2em 0.2em;
  1040. }