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.

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