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.

1396 lines
27 KiB

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