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.

1417 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
  1. /*
  2. * # Semantic - Button
  3. * http://github.com/jlukic/semantic-ui/
  4. *
  5. *
  6. * Copyright 2013 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Button
  13. *******************************/
  14. /* Prototype */
  15. .ui.button {
  16. cursor: pointer;
  17. display: inline-block;
  18. vertical-align: middle;
  19. min-height: 1em;
  20. outline: none;
  21. border: none;
  22. background-color: #FAFAFA;
  23. color: #808080;
  24. margin: 0em;
  25. padding: 0.8em 1.5em;
  26. font-size: 1rem;
  27. text-transform: uppercase;
  28. line-height: 1;
  29. font-weight: bold;
  30. font-style: normal;
  31. text-align: center;
  32. text-decoration: none;
  33. background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.05)));
  34. background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
  35. background-image: 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, left top, left bottom, 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. /* vk.com */
  379. .ui.vk.button {
  380. background-color: #4D7198;
  381. color: #FFFFFF;
  382. }
  383. .ui.vk.button:hover {
  384. background-color: #537AA5;
  385. color: #FFFFFF;
  386. }
  387. .ui.vk.button:active {
  388. background-color: #405E7E;
  389. color: #FFFFFF;
  390. }
  391. /*--------------
  392. Icon
  393. ---------------*/
  394. .ui.button > .icon {
  395. margin-right: 0.6em;
  396. line-height: 1;
  397. -webkit-transition: opacity 0.1s ease;
  398. transition: opacity 0.1s ease;
  399. }
  400. /*******************************
  401. Variations
  402. *******************************/
  403. /*-------------------
  404. Floated
  405. --------------------*/
  406. .ui.left.floated.buttons,
  407. .ui.left.floated.button {
  408. float: left;
  409. margin-right: 0.25em;
  410. }
  411. .ui.right.floated.buttons,
  412. .ui.right.floated.button {
  413. float: right;
  414. margin-left: 0.25em;
  415. }
  416. /*-------------------
  417. Sizes
  418. --------------------*/
  419. .ui.buttons .button,
  420. .ui.button {
  421. font-size: 1rem;
  422. }
  423. .ui.mini.buttons .button,
  424. .ui.mini.buttons .or,
  425. .ui.mini.button {
  426. font-size: 0.8rem;
  427. }
  428. .ui.mini.buttons .button,
  429. .ui.mini.button {
  430. padding: 0.6em 0.8em;
  431. }
  432. .ui.mini.icon.buttons .button,
  433. .ui.mini.buttons .icon.button {
  434. padding: 0.6em 0.6em;
  435. }
  436. .ui.tiny.buttons .button,
  437. .ui.tiny.buttons .or,
  438. .ui.tiny.button {
  439. font-size: 0.875em;
  440. }
  441. .ui.tiny.buttons .button,
  442. .ui.tiny.buttons .button,
  443. .ui.tiny.button {
  444. padding: 0.6em 0.8em;
  445. }
  446. .ui.tiny.icon.buttons .button,
  447. .ui.tiny.buttons .icon.button {
  448. padding: 0.6em 0.6em;
  449. }
  450. .ui.small.buttons .button,
  451. .ui.small.buttons .or,
  452. .ui.small.button {
  453. font-size: 0.875rem;
  454. }
  455. .ui.large.buttons .button,
  456. .ui.large.buttons .or,
  457. .ui.large.button {
  458. font-size: 1.125rem;
  459. }
  460. .ui.big.buttons .button,
  461. .ui.big.buttons .or,
  462. .ui.big.button {
  463. font-size: 1.25rem;
  464. }
  465. .ui.huge.buttons .button,
  466. .ui.huge.buttons .or,
  467. .ui.huge.button {
  468. font-size: 1.375rem;
  469. }
  470. .ui.massive.buttons .button,
  471. .ui.massive.buttons .or,
  472. .ui.massive.button {
  473. font-size: 1.5rem;
  474. font-weight: bold;
  475. }
  476. /* Or resize */
  477. .ui.tiny.buttons .or:before,
  478. .ui.mini.buttons .or:before {
  479. width: 1.45em;
  480. height: 1.55em;
  481. line-height: 1.4;
  482. margin-left: -0.725em;
  483. margin-top: -0.25em;
  484. }
  485. .ui.tiny.buttons .or:after,
  486. .ui.mini.buttons .or:after {
  487. height: 1.45em;
  488. }
  489. /* loading */
  490. .ui.huge.loading.button:after {
  491. background-image: url(../images/loader-small.gif);
  492. }
  493. .ui.massive.buttons .loading.button:after,
  494. .ui.gigantic.buttons .loading.button:after,
  495. .ui.massive.loading.button:after,
  496. .ui.gigantic.loading.button:after {
  497. background-image: url(../images/loader-medium.gif);
  498. }
  499. .ui.huge.loading.button:after,
  500. .ui.huge.loading.button.active:after {
  501. background-image: url(../images/loader-small.gif);
  502. }
  503. .ui.massive.buttons .loading.button:after,
  504. .ui.gigantic.buttons .loading.button:after,
  505. .ui.massive.loading.button:after,
  506. .ui.gigantic.loading.button:after,
  507. .ui.massive.buttons .loading.button.active:after,
  508. .ui.gigantic.buttons .loading.button.active:after,
  509. .ui.massive.loading.button.active:after,
  510. .ui.gigantic.loading.button.active:after {
  511. background-image: url(../images/loader-medium.gif);
  512. }
  513. /*--------------
  514. Icon Only
  515. ---------------*/
  516. .ui.icon.buttons .button,
  517. .ui.icon.button {
  518. padding: 0.8em;
  519. }
  520. .ui.icon.buttons .button > .icon,
  521. .ui.icon.button > .icon {
  522. opacity: 0.9;
  523. margin: 0em;
  524. vertical-align: top;
  525. }
  526. /*-------------------
  527. Basic
  528. --------------------*/
  529. .ui.basic.buttons .button,
  530. .ui.basic.button {
  531. background-color: transparent !important;
  532. background-image: none;
  533. color: #808080 !important;
  534. font-weight: normal;
  535. text-transform: none;
  536. -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
  537. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
  538. }
  539. .ui.basic.buttons {
  540. -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
  541. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
  542. border-radius: 0.25em;
  543. }
  544. .ui.basic.buttons .button:hover,
  545. .ui.basic.button:hover {
  546. background-image: none;
  547. color: #7F7F7F !important;
  548. -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.18) inset;
  549. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.18) inset;
  550. }
  551. .ui.basic.buttons .button:active,
  552. .ui.basic.button:active {
  553. background-color: rgba(0, 0, 0, 0.02) !important;
  554. color: #7F7F7F !important;
  555. -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
  556. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
  557. }
  558. .ui.basic.buttons .button.active,
  559. .ui.basic.button.active {
  560. background-color: rgba(0, 0, 0, 0.05);
  561. color: #7F7F7F;
  562. -webkit-box-shadow: 0px 0px 0px 1px #BDBDBD inset;
  563. box-shadow: 0px 0px 0px 1px #BDBDBD inset;
  564. }
  565. .ui.basic.buttons .button.active:hover,
  566. .ui.basic.button.active:hover {
  567. background-color: rgba(0, 0, 0, 0.1);
  568. }
  569. /* Inverted */
  570. .ui.basic.inverted.buttons .button,
  571. .ui.basic.inverted.button {
  572. color: #FAFAFA !important;
  573. -webkit-box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.3) inset;
  574. box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.3) inset;
  575. }
  576. .ui.basic.inverted.buttons .button:hover,
  577. .ui.basic.inverted.button:hover {
  578. background-image: none;
  579. color: #FFFFFF !important;
  580. -webkit-box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.5) inset;
  581. box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.5) inset;
  582. }
  583. .ui.basic.inverted.buttons .button:active,
  584. .ui.basic.inverted.button:active {
  585. background-color: rgba(255, 255, 255, 0.05) !important;
  586. color: #FFFFFF !important;
  587. -webkit-box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.8) inset !important;
  588. box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.8) inset !important;
  589. }
  590. .ui.basic.inverted.buttons .button.active,
  591. .ui.basic.inverted.button.active {
  592. background-color: rgba(255, 255, 255, 0.5);
  593. color: #FFFFFF;
  594. -webkit-box-shadow: none;
  595. box-shadow: none;
  596. }
  597. .ui.basic.inverted.buttons .button.active:hover,
  598. .ui.basic.inverted.button.active:hover {
  599. background-color: rgba(0, 0, 0, 0.1);
  600. }
  601. /* Basic Group */
  602. .ui.basic.buttons .button {
  603. border-left: 1px solid rgba(0, 0, 0, 0.1);
  604. -webkit-box-shadow: none;
  605. box-shadow: none;
  606. }
  607. .ui.basic.buttons .button:hover,
  608. .ui.basic.buttons .button:active {
  609. -webkit-box-shadow: none;
  610. box-shadow: none;
  611. }
  612. .ui.basic.buttons .button.active,
  613. .ui.basic.buttons .button.active:hover {
  614. -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2) inset;
  615. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2) inset;
  616. }
  617. /*--------------
  618. Labeled Icon
  619. ---------------*/
  620. .ui.labeled.icon.buttons .button,
  621. .ui.labeled.icon.button {
  622. position: relative;
  623. padding-left: 4em !important;
  624. padding-right: 1.4em !important;
  625. }
  626. .ui.labeled.icon.buttons > .button > .icon,
  627. .ui.labeled.icon.button > .icon {
  628. position: absolute;
  629. top: 0em;
  630. left: 0em;
  631. -webkit-box-sizing: border-box;
  632. -moz-box-sizing: border-box;
  633. -ms-box-sizing: border-box;
  634. box-sizing: border-box;
  635. width: 2.75em;
  636. height: 100%;
  637. padding-top: 0.8em;
  638. background-color: rgba(0, 0, 0, 0.05);
  639. text-align: center;
  640. border-radius: 0.25em 0px 0px 0.25em;
  641. line-height: 1;
  642. -webkit-box-shadow: -1px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
  643. box-shadow: -1px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
  644. }
  645. .ui.labeled.icon.buttons .button > .icon {
  646. border-radius: 0em;
  647. }
  648. .ui.labeled.icon.buttons .button:first-child > .icon {
  649. border-top-left-radius: 0.25em;
  650. border-bottom-left-radius: 0.25em;
  651. }
  652. .ui.labeled.icon.buttons .button:last-child > .icon {
  653. border-top-right-radius: 0.25em;
  654. border-bottom-right-radius: 0.25em;
  655. }
  656. .ui.vertical.labeled.icon.buttons .button:first-child > .icon {
  657. border-radius: 0em;
  658. border-top-left-radius: 0.25em;
  659. }
  660. .ui.vertical.labeled.icon.buttons .button:last-child > .icon {
  661. border-radius: 0em;
  662. border-bottom-left-radius: 0.25em;
  663. }
  664. .ui.right.labeled.icon.button {
  665. padding-left: 1.4em !important;
  666. padding-right: 4em !important;
  667. }
  668. .ui.left.fluid.labeled.icon.button,
  669. .ui.right.fluid.labeled.icon.button {
  670. padding-left: 1.4em !important;
  671. padding-right: 1.4em !important;
  672. }
  673. .ui.right.labeled.icon.button .icon {
  674. left: auto;
  675. right: 0em;
  676. border-radius: 0em 0.25em 0.25em 0em;
  677. -webkit-box-shadow: 1px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
  678. box-shadow: 1px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
  679. }
  680. /*--------------
  681. Toggle
  682. ---------------*/
  683. /* Toggle (Modifies active state to give affordances) */
  684. .ui.toggle.buttons .active.button,
  685. .ui.buttons .button.toggle.active,
  686. .ui.button.toggle.active {
  687. background-color: #5BBD72 !important;
  688. color: #FFFFFF !important;
  689. -webkit-box-shadow: none !important;
  690. box-shadow: none !important;
  691. }
  692. .ui.button.toggle.active:hover {
  693. background-color: #58CB73 !important;
  694. color: #FFFFFF !important;
  695. -webkit-box-shadow: none !important;
  696. box-shadow: none !important;
  697. }
  698. /*--------------
  699. Circular
  700. ---------------*/
  701. .ui.circular.button {
  702. border-radius: 10em;
  703. }
  704. /*--------------
  705. Attached
  706. ---------------*/
  707. .ui.attached.button {
  708. display: block;
  709. -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) !important;
  710. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) !important;
  711. }
  712. .ui.attached.top.button {
  713. border-radius: 0.25em 0.25em 0em 0em;
  714. }
  715. .ui.attached.bottom.button {
  716. border-radius: 0em 0em 0.25em 0.25em;
  717. }
  718. .ui.attached.left.button {
  719. display: inline-block;
  720. border-left: none;
  721. padding-right: 0.75em;
  722. text-align: right;
  723. border-radius: 0.25em 0em 0em 0.25em;
  724. }
  725. .ui.attached.right.button {
  726. display: inline-block;
  727. padding-left: 0.75em;
  728. text-align: left;
  729. border-radius: 0em 0.25em 0.25em 0em;
  730. }
  731. /*-------------------
  732. Or Buttons
  733. --------------------*/
  734. .ui.buttons .or {
  735. position: relative;
  736. float: left;
  737. width: 0.3em;
  738. height: 1.1em;
  739. z-index: 3;
  740. }
  741. .ui.buttons .or:before {
  742. position: absolute;
  743. top: 50%;
  744. left: 50%;
  745. content: 'or';
  746. background-color: #FFFFFF;
  747. margin-top: -0.1em;
  748. margin-left: -0.9em;
  749. width: 1.8em;
  750. height: 1.8em;
  751. line-height: 1.55;
  752. color: #AAAAAA;
  753. font-style: normal;
  754. font-weight: normal;
  755. text-align: center;
  756. border-radius: 500px;
  757. -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
  758. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
  759. -webkit-box-sizing: border-box;
  760. -moz-box-sizing: border-box;
  761. -ms-box-sizing: border-box;
  762. box-sizing: border-box;
  763. }
  764. .ui.buttons .or[data-text]:before {
  765. content: attr(data-text);
  766. }
  767. .ui.buttons .or:after {
  768. position: absolute;
  769. top: 0em;
  770. left: 0em;
  771. content: ' ';
  772. width: 0.3em;
  773. height: 1.7em;
  774. background-color: transparent;
  775. border-top: 0.5em solid #FFFFFF;
  776. border-bottom: 0.5em solid #FFFFFF;
  777. }
  778. /* Fluid Or */
  779. .ui.fluid.buttons .or {
  780. width: 0em !important;
  781. }
  782. .ui.fluid.buttons .or:after {
  783. display: none;
  784. }
  785. /*-------------------
  786. Attached
  787. --------------------*/
  788. /* Plural Attached */
  789. .attached.ui.buttons {
  790. margin: 0px;
  791. border-radius: 4px 4px 0px 0px;
  792. }
  793. .attached.ui.buttons .button:first-child {
  794. border-radius: 4px 0px 0px 0px;
  795. }
  796. .attached.ui.buttons .button:last-child {
  797. border-radius: 0px 4px 0px 0px;
  798. }
  799. /* Bottom Side */
  800. .bottom.attached.ui.buttons {
  801. margin-top: -1px;
  802. border-radius: 0px 0px 4px 4px;
  803. }
  804. .bottom.attached.ui.buttons .button:first-child {
  805. border-radius: 0px 0px 0px 4px;
  806. }
  807. .bottom.attached.ui.buttons .button:last-child {
  808. border-radius: 0px 0px 4px 0px;
  809. }
  810. /* Left Side */
  811. .left.attached.ui.buttons {
  812. margin-left: -1px;
  813. border-radius: 0px 4px 4px 0px;
  814. }
  815. .left.attached.ui.buttons .button:first-child {
  816. margin-left: -1px;
  817. border-radius: 0px 4px 0px 0px;
  818. }
  819. .left.attached.ui.buttons .button:last-child {
  820. margin-left: -1px;
  821. border-radius: 0px 0px 4px 0px;
  822. }
  823. /* Right Side */
  824. .right.attached.ui.buttons,
  825. .right.attached.ui.buttons .button {
  826. margin-right: -1px;
  827. border-radius: 4px 0px 0px 4px;
  828. }
  829. .right.attached.ui.buttons .button:first-child {
  830. margin-left: -1px;
  831. border-radius: 4px 0px 0px 0px;
  832. }
  833. .right.attached.ui.buttons .button:last-child {
  834. margin-left: -1px;
  835. border-radius: 0px 0px 0px 4px;
  836. }
  837. /* Fluid */
  838. .ui.fluid.buttons,
  839. .ui.button.fluid,
  840. .ui.fluid.buttons > .button {
  841. display: block;
  842. width: 100%;
  843. }
  844. .ui.\32.buttons > .button,
  845. .ui.two.buttons > .button {
  846. width: 50%;
  847. }
  848. .ui.\33.buttons > .button,
  849. .ui.three.buttons > .button {
  850. width: 33.333%;
  851. }
  852. .ui.\34.buttons > .button,
  853. .ui.four.buttons > .button {
  854. width: 25%;
  855. }
  856. .ui.\35.buttons > .button,
  857. .ui.five.buttons > .button {
  858. width: 20%;
  859. }
  860. .ui.\36.buttons > .button,
  861. .ui.six.buttons > .button {
  862. width: 16.666%;
  863. }
  864. .ui.\37.buttons > .button,
  865. .ui.seven.buttons > .button {
  866. width: 14.285%;
  867. }
  868. .ui.\38.buttons > .button,
  869. .ui.eight.buttons > .button {
  870. width: 12.500%;
  871. }
  872. .ui.\39.buttons > .button,
  873. .ui.nine.buttons > .button {
  874. width: 11.11%;
  875. }
  876. .ui.\31\30.buttons > .button,
  877. .ui.ten.buttons > .button {
  878. width: 10%;
  879. }
  880. .ui.\31\31.buttons > .button,
  881. .ui.eleven.buttons > .button {
  882. width: 9.09%;
  883. }
  884. .ui.\31\32.buttons > .button,
  885. .ui.twelve.buttons > .button {
  886. width: 8.3333%;
  887. }
  888. /* Fluid Vertical Buttons */
  889. .ui.fluid.vertical.buttons,
  890. .ui.fluid.vertical.buttons > .button {
  891. display: block;
  892. width: auto;
  893. -webkit-box-sizing: border-box;
  894. -moz-box-sizing: border-box;
  895. -ms-box-sizing: border-box;
  896. box-sizing: border-box;
  897. }
  898. .ui.\32.vertical.buttons > .button,
  899. .ui.two.vertical.buttons > .button {
  900. height: 50%;
  901. }
  902. .ui.\33.vertical.buttons > .button,
  903. .ui.three.vertical.buttons > .button {
  904. height: 33.333%;
  905. }
  906. .ui.\34.vertical.buttons > .button,
  907. .ui.four.vertical.buttons > .button {
  908. height: 25%;
  909. }
  910. .ui.\35.vertical.buttons > .button,
  911. .ui.five.vertical.buttons > .button {
  912. height: 20%;
  913. }
  914. .ui.\36.vertical.buttons > .button,
  915. .ui.six.vertical.buttons > .button {
  916. height: 16.666%;
  917. }
  918. .ui.\37.vertical.buttons > .button,
  919. .ui.seven.vertical.buttons > .button {
  920. height: 14.285%;
  921. }
  922. .ui.\38.vertical.buttons > .button,
  923. .ui.eight.vertical.buttons > .button {
  924. height: 12.500%;
  925. }
  926. .ui.\39.vertical.buttons > .button,
  927. .ui.nine.vertical.buttons > .button {
  928. height: 11.11%;
  929. }
  930. .ui.\31\30.vertical.buttons > .button,
  931. .ui.ten.vertical.buttons > .button {
  932. height: 10%;
  933. }
  934. .ui.\31\31.vertical.buttons > .button,
  935. .ui.eleven.vertical.buttons > .button {
  936. height: 9.09%;
  937. }
  938. .ui.\31\32.vertical.buttons > .button,
  939. .ui.twelve.vertical.buttons > .button {
  940. height: 8.3333%;
  941. }
  942. /*-------------------
  943. Colors
  944. --------------------*/
  945. /*--- Black ---*/
  946. .ui.black.buttons .button,
  947. .ui.black.button {
  948. background-color: #5C6166;
  949. color: #FFFFFF;
  950. }
  951. .ui.black.buttons .button:hover,
  952. .ui.black.button:hover {
  953. background-color: #4C4C4C;
  954. color: #FFFFFF;
  955. }
  956. .ui.black.buttons .button:active,
  957. .ui.black.button:active {
  958. background-color: #333333;
  959. color: #FFFFFF;
  960. }
  961. /*--- Green ---*/
  962. .ui.green.buttons .button,
  963. .ui.green.button {
  964. background-color: #5BBD72;
  965. color: #FFFFFF;
  966. }
  967. .ui.green.buttons .button:hover,
  968. .ui.green.button:hover,
  969. .ui.green.buttons .active.button,
  970. .ui.green.button.active {
  971. background-color: #58cb73;
  972. color: #FFFFFF;
  973. }
  974. .ui.green.buttons .button:active,
  975. .ui.green.button:active {
  976. background-color: #4CB164;
  977. color: #FFFFFF;
  978. }
  979. /*--- Red ---*/
  980. .ui.red.buttons .button,
  981. .ui.red.button {
  982. background-color: #D95C5C;
  983. color: #FFFFFF;
  984. }
  985. .ui.red.buttons .button:hover,
  986. .ui.red.button:hover,
  987. .ui.red.buttons .active.button,
  988. .ui.red.button.active {
  989. background-color: #E75859;
  990. color: #FFFFFF;
  991. }
  992. .ui.red.buttons .button:active,
  993. .ui.red.button:active {
  994. background-color: #D24B4C;
  995. color: #FFFFFF;
  996. }
  997. /*--- Orange ---*/
  998. .ui.orange.buttons .button,
  999. .ui.orange.button {
  1000. background-color: #E96633;
  1001. color: #FFFFFF;
  1002. }
  1003. .ui.orange.buttons .button:hover,
  1004. .ui.orange.button:hover,
  1005. .ui.orange.buttons .active.button,
  1006. .ui.orange.button.active {
  1007. background-color: #FF7038;
  1008. color: #FFFFFF;
  1009. }
  1010. .ui.orange.buttons .button:active,
  1011. .ui.orange.button:active {
  1012. background-color: #DA683B;
  1013. color: #FFFFFF;
  1014. }
  1015. /*--- Blue ---*/
  1016. .ui.blue.buttons .button,
  1017. .ui.blue.button {
  1018. background-color: #6ECFF5;
  1019. color: #FFFFFF;
  1020. }
  1021. .ui.blue.buttons .button:hover,
  1022. .ui.blue.button:hover,
  1023. .ui.blue.buttons .active.button,
  1024. .ui.blue.button.active {
  1025. background-color: #1AB8F3;
  1026. color: #FFFFFF;
  1027. }
  1028. .ui.blue.buttons .button:active,
  1029. .ui.blue.button:active {
  1030. background-color: #0AA5DF;
  1031. color: #FFFFFF;
  1032. }
  1033. /*--- Purple ---*/
  1034. .ui.purple.buttons .button,
  1035. .ui.purple.button {
  1036. background-color: #564F8A;
  1037. color: #FFFFFF;
  1038. }
  1039. .ui.purple.buttons .button:hover,
  1040. .ui.purple.button:hover,
  1041. .ui.purple.buttons .active.button,
  1042. .ui.purple.button.active {
  1043. background-color: #3E3773;
  1044. color: #FFFFFF;
  1045. }
  1046. .ui.purple.buttons .button:active,
  1047. .ui.purple.button:active {
  1048. background-color: #2E2860;
  1049. color: #FFFFFF;
  1050. }
  1051. /*--- Teal ---*/
  1052. .ui.teal.buttons .button,
  1053. .ui.teal.button {
  1054. background-color: #00B5AD;
  1055. color: #FFFFFF;
  1056. }
  1057. .ui.teal.buttons .button:hover,
  1058. .ui.teal.button:hover,
  1059. .ui.teal.buttons .active.button,
  1060. .ui.teal.button.active {
  1061. background-color: #009A93;
  1062. color: #FFFFFF;
  1063. }
  1064. .ui.teal.buttons .button:active,
  1065. .ui.teal.button:active {
  1066. background-color: #00847E;
  1067. color: #FFFFFF;
  1068. }
  1069. /*---------------
  1070. Positive
  1071. ----------------*/
  1072. .ui.positive.buttons .button,
  1073. .ui.positive.button {
  1074. background-color: #5BBD72 !important;
  1075. color: #FFFFFF;
  1076. }
  1077. .ui.positive.buttons .button:hover,
  1078. .ui.positive.button:hover,
  1079. .ui.positive.buttons .active.button,
  1080. .ui.positive.button.active {
  1081. background-color: #58CB73 !important;
  1082. color: #FFFFFF;
  1083. }
  1084. .ui.positive.buttons .button:active,
  1085. .ui.positive.button:active {
  1086. background-color: #4CB164 !important;
  1087. color: #FFFFFF;
  1088. }
  1089. /*---------------
  1090. Negative
  1091. ----------------*/
  1092. .ui.negative.buttons .button,
  1093. .ui.negative.button {
  1094. background-color: #D95C5C !important;
  1095. color: #FFFFFF;
  1096. }
  1097. .ui.negative.buttons .button:hover,
  1098. .ui.negative.button:hover,
  1099. .ui.negative.buttons .active.button,
  1100. .ui.negative.button.active {
  1101. background-color: #E75859 !important;
  1102. color: #FFFFFF;
  1103. }
  1104. .ui.negative.buttons .button:active,
  1105. .ui.negative.button:active {
  1106. background-color: #D24B4C !important;
  1107. color: #FFFFFF;
  1108. }
  1109. /*******************************
  1110. Groups
  1111. *******************************/
  1112. .ui.buttons {
  1113. display: inline-block;
  1114. vertical-align: middle;
  1115. }
  1116. .ui.buttons:after {
  1117. content: ".";
  1118. display: block;
  1119. height: 0;
  1120. clear: both;
  1121. visibility: hidden;
  1122. }
  1123. .ui.buttons .button:first-child {
  1124. border-left: none;
  1125. }
  1126. .ui.buttons .button {
  1127. float: left;
  1128. border-radius: 0em;
  1129. }
  1130. .ui.buttons .button:first-child {
  1131. margin-left: 0em;
  1132. border-top-left-radius: 0.25em;
  1133. border-bottom-left-radius: 0.25em;
  1134. }
  1135. .ui.buttons .button:last-child {
  1136. border-top-right-radius: 0.25em;
  1137. border-bottom-right-radius: 0.25em;
  1138. }
  1139. /* Vertical Style */
  1140. .ui.vertical.buttons {
  1141. display: inline-block;
  1142. }
  1143. .ui.vertical.buttons .button {
  1144. display: block;
  1145. float: none;
  1146. -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
  1147. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
  1148. }
  1149. .ui.vertical.buttons .button:first-child,
  1150. .ui.vertical.buttons .mini.button:first-child,
  1151. .ui.vertical.buttons .tiny.button:first-child,
  1152. .ui.vertical.buttons .small.button:first-child,
  1153. .ui.vertical.buttons .massive.button:first-child,
  1154. .ui.vertical.buttons .huge.button:first-child {
  1155. margin-top: 0px;
  1156. border-radius: 0.25em 0.25em 0px 0px;
  1157. }
  1158. .ui.vertical.buttons .button:last-child,
  1159. .ui.vertical.buttons .mini.button:last-child,
  1160. .ui.vertical.buttons .tiny.button:last-child,
  1161. .ui.vertical.buttons .small.button:last-child,
  1162. .ui.vertical.buttons .massive.button:last-child,
  1163. .ui.vertical.buttons .huge.button:last-child,
  1164. .ui.vertical.buttons .gigantic.button:last-child {
  1165. border-radius: 0px 0px 0.25em 0.25em;
  1166. }