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.

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