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.

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