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.

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