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
28 KiB

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