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.

1413 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:after {
  765. position: absolute;
  766. top: 0em;
  767. left: 0em;
  768. content: ' ';
  769. width: 0.3em;
  770. height: 1.7em;
  771. background-color: transparent;
  772. border-top: 0.5em solid #FFFFFF;
  773. border-bottom: 0.5em solid #FFFFFF;
  774. }
  775. /* Fluid Or */
  776. .ui.fluid.buttons .or {
  777. width: 0em !important;
  778. }
  779. .ui.fluid.buttons .or:after {
  780. display: none;
  781. }
  782. /*-------------------
  783. Attached
  784. --------------------*/
  785. /* Plural Attached */
  786. .attached.ui.buttons {
  787. margin: 0px;
  788. border-radius: 4px 4px 0px 0px;
  789. }
  790. .attached.ui.buttons .button:first-child {
  791. border-radius: 4px 0px 0px 0px;
  792. }
  793. .attached.ui.buttons .button:last-child {
  794. border-radius: 0px 4px 0px 0px;
  795. }
  796. /* Bottom Side */
  797. .bottom.attached.ui.buttons {
  798. margin-top: -1px;
  799. border-radius: 0px 0px 4px 4px;
  800. }
  801. .bottom.attached.ui.buttons .button:first-child {
  802. border-radius: 0px 0px 0px 4px;
  803. }
  804. .bottom.attached.ui.buttons .button:last-child {
  805. border-radius: 0px 0px 4px 0px;
  806. }
  807. /* Left Side */
  808. .left.attached.ui.buttons {
  809. margin-left: -1px;
  810. border-radius: 0px 4px 4px 0px;
  811. }
  812. .left.attached.ui.buttons .button:first-child {
  813. margin-left: -1px;
  814. border-radius: 0px 4px 0px 0px;
  815. }
  816. .left.attached.ui.buttons .button:last-child {
  817. margin-left: -1px;
  818. border-radius: 0px 0px 4px 0px;
  819. }
  820. /* Right Side */
  821. .right.attached.ui.buttons,
  822. .right.attached.ui.buttons .button {
  823. margin-right: -1px;
  824. border-radius: 4px 0px 0px 4px;
  825. }
  826. .right.attached.ui.buttons .button:first-child {
  827. margin-left: -1px;
  828. border-radius: 4px 0px 0px 0px;
  829. }
  830. .right.attached.ui.buttons .button:last-child {
  831. margin-left: -1px;
  832. border-radius: 0px 0px 0px 4px;
  833. }
  834. /* Fluid */
  835. .ui.fluid.buttons,
  836. .ui.button.fluid,
  837. .ui.fluid.buttons > .button {
  838. display: block;
  839. width: 100%;
  840. }
  841. .ui.\32.buttons > .button,
  842. .ui.two.buttons > .button {
  843. width: 50%;
  844. }
  845. .ui.\33.buttons > .button,
  846. .ui.three.buttons > .button {
  847. width: 33.333%;
  848. }
  849. .ui.\34.buttons > .button,
  850. .ui.four.buttons > .button {
  851. width: 25%;
  852. }
  853. .ui.\35.buttons > .button,
  854. .ui.five.buttons > .button {
  855. width: 20%;
  856. }
  857. .ui.\36.buttons > .button,
  858. .ui.six.buttons > .button {
  859. width: 16.666%;
  860. }
  861. .ui.\37.buttons > .button,
  862. .ui.seven.buttons > .button {
  863. width: 14.285%;
  864. }
  865. .ui.\38.buttons > .button,
  866. .ui.eight.buttons > .button {
  867. width: 12.500%;
  868. }
  869. .ui.\39.buttons > .button,
  870. .ui.nine.buttons > .button {
  871. width: 11.11%;
  872. }
  873. .ui.\31\30.buttons > .button,
  874. .ui.ten.buttons > .button {
  875. width: 10%;
  876. }
  877. .ui.\31\31.buttons > .button,
  878. .ui.eleven.buttons > .button {
  879. width: 9.09%;
  880. }
  881. .ui.\31\32.buttons > .button,
  882. .ui.twelve.buttons > .button {
  883. width: 8.3333%;
  884. }
  885. /* Fluid Vertical Buttons */
  886. .ui.fluid.vertical.buttons,
  887. .ui.fluid.vertical.buttons > .button {
  888. display: block;
  889. width: auto;
  890. -webkit-box-sizing: border-box;
  891. -moz-box-sizing: border-box;
  892. -ms-box-sizing: border-box;
  893. box-sizing: border-box;
  894. }
  895. .ui.\32.vertical.buttons > .button,
  896. .ui.two.vertical.buttons > .button {
  897. height: 50%;
  898. }
  899. .ui.\33.vertical.buttons > .button,
  900. .ui.three.vertical.buttons > .button {
  901. height: 33.333%;
  902. }
  903. .ui.\34.vertical.buttons > .button,
  904. .ui.four.vertical.buttons > .button {
  905. height: 25%;
  906. }
  907. .ui.\35.vertical.buttons > .button,
  908. .ui.five.vertical.buttons > .button {
  909. height: 20%;
  910. }
  911. .ui.\36.vertical.buttons > .button,
  912. .ui.six.vertical.buttons > .button {
  913. height: 16.666%;
  914. }
  915. .ui.\37.vertical.buttons > .button,
  916. .ui.seven.vertical.buttons > .button {
  917. height: 14.285%;
  918. }
  919. .ui.\38.vertical.buttons > .button,
  920. .ui.eight.vertical.buttons > .button {
  921. height: 12.500%;
  922. }
  923. .ui.\39.vertical.buttons > .button,
  924. .ui.nine.vertical.buttons > .button {
  925. height: 11.11%;
  926. }
  927. .ui.\31\30.vertical.buttons > .button,
  928. .ui.ten.vertical.buttons > .button {
  929. height: 10%;
  930. }
  931. .ui.\31\31.vertical.buttons > .button,
  932. .ui.eleven.vertical.buttons > .button {
  933. height: 9.09%;
  934. }
  935. .ui.\31\32.vertical.buttons > .button,
  936. .ui.twelve.vertical.buttons > .button {
  937. height: 8.3333%;
  938. }
  939. /*-------------------
  940. Colors
  941. --------------------*/
  942. /*--- Black ---*/
  943. .ui.black.buttons .button,
  944. .ui.black.button {
  945. background-color: #5C6166;
  946. color: #FFFFFF;
  947. }
  948. .ui.black.buttons .button:hover,
  949. .ui.black.button:hover {
  950. background-color: #4C4C4C;
  951. color: #FFFFFF;
  952. }
  953. .ui.black.buttons .button:active,
  954. .ui.black.button:active {
  955. background-color: #333333;
  956. color: #FFFFFF;
  957. }
  958. /*--- Green ---*/
  959. .ui.green.buttons .button,
  960. .ui.green.button {
  961. background-color: #5BBD72;
  962. color: #FFFFFF;
  963. }
  964. .ui.green.buttons .button:hover,
  965. .ui.green.button:hover,
  966. .ui.green.buttons .active.button,
  967. .ui.green.button.active {
  968. background-color: #58cb73;
  969. color: #FFFFFF;
  970. }
  971. .ui.green.buttons .button:active,
  972. .ui.green.button:active {
  973. background-color: #4CB164;
  974. color: #FFFFFF;
  975. }
  976. /*--- Red ---*/
  977. .ui.red.buttons .button,
  978. .ui.red.button {
  979. background-color: #D95C5C;
  980. color: #FFFFFF;
  981. }
  982. .ui.red.buttons .button:hover,
  983. .ui.red.button:hover,
  984. .ui.red.buttons .active.button,
  985. .ui.red.button.active {
  986. background-color: #E75859;
  987. color: #FFFFFF;
  988. }
  989. .ui.red.buttons .button:active,
  990. .ui.red.button:active {
  991. background-color: #D24B4C;
  992. color: #FFFFFF;
  993. }
  994. /*--- Orange ---*/
  995. .ui.orange.buttons .button,
  996. .ui.orange.button {
  997. background-color: #E96633;
  998. color: #FFFFFF;
  999. }
  1000. .ui.orange.buttons .button:hover,
  1001. .ui.orange.button:hover,
  1002. .ui.orange.buttons .active.button,
  1003. .ui.orange.button.active {
  1004. background-color: #FF7038;
  1005. color: #FFFFFF;
  1006. }
  1007. .ui.orange.buttons .button:active,
  1008. .ui.orange.button:active {
  1009. background-color: #DA683B;
  1010. color: #FFFFFF;
  1011. }
  1012. /*--- Blue ---*/
  1013. .ui.blue.buttons .button,
  1014. .ui.blue.button {
  1015. background-color: #6ECFF5;
  1016. color: #FFFFFF;
  1017. }
  1018. .ui.blue.buttons .button:hover,
  1019. .ui.blue.button:hover,
  1020. .ui.blue.buttons .active.button,
  1021. .ui.blue.button.active {
  1022. background-color: #1AB8F3;
  1023. color: #FFFFFF;
  1024. }
  1025. .ui.blue.buttons .button:active,
  1026. .ui.blue.button:active {
  1027. background-color: #0AA5DF;
  1028. color: #FFFFFF;
  1029. }
  1030. /*--- Purple ---*/
  1031. .ui.purple.buttons .button,
  1032. .ui.purple.button {
  1033. background-color: #564F8A;
  1034. color: #FFFFFF;
  1035. }
  1036. .ui.purple.buttons .button:hover,
  1037. .ui.purple.button:hover,
  1038. .ui.purple.buttons .active.button,
  1039. .ui.purple.button.active {
  1040. background-color: #3E3773;
  1041. color: #FFFFFF;
  1042. }
  1043. .ui.purple.buttons .button:active,
  1044. .ui.purple.button:active {
  1045. background-color: #2E2860;
  1046. color: #FFFFFF;
  1047. }
  1048. /*--- Teal ---*/
  1049. .ui.teal.buttons .button,
  1050. .ui.teal.button {
  1051. background-color: #00B5AD;
  1052. color: #FFFFFF;
  1053. }
  1054. .ui.teal.buttons .button:hover,
  1055. .ui.teal.button:hover,
  1056. .ui.teal.buttons .active.button,
  1057. .ui.teal.button.active {
  1058. background-color: #009A93;
  1059. color: #FFFFFF;
  1060. }
  1061. .ui.teal.buttons .button:active,
  1062. .ui.teal.button:active {
  1063. background-color: #00847E;
  1064. color: #FFFFFF;
  1065. }
  1066. /*---------------
  1067. Positive
  1068. ----------------*/
  1069. .ui.positive.buttons .button,
  1070. .ui.positive.button {
  1071. background-color: #5BBD72 !important;
  1072. color: #FFFFFF;
  1073. }
  1074. .ui.positive.buttons .button:hover,
  1075. .ui.positive.button:hover,
  1076. .ui.positive.buttons .active.button,
  1077. .ui.positive.button.active {
  1078. background-color: #58CB73 !important;
  1079. color: #FFFFFF;
  1080. }
  1081. .ui.positive.buttons .button:active,
  1082. .ui.positive.button:active {
  1083. background-color: #4CB164 !important;
  1084. color: #FFFFFF;
  1085. }
  1086. /*---------------
  1087. Negative
  1088. ----------------*/
  1089. .ui.negative.buttons .button,
  1090. .ui.negative.button {
  1091. background-color: #D95C5C !important;
  1092. color: #FFFFFF;
  1093. }
  1094. .ui.negative.buttons .button:hover,
  1095. .ui.negative.button:hover,
  1096. .ui.negative.buttons .active.button,
  1097. .ui.negative.button.active {
  1098. background-color: #E75859 !important;
  1099. color: #FFFFFF;
  1100. }
  1101. .ui.negative.buttons .button:active,
  1102. .ui.negative.button:active {
  1103. background-color: #D24B4C !important;
  1104. color: #FFFFFF;
  1105. }
  1106. /*******************************
  1107. Groups
  1108. *******************************/
  1109. .ui.buttons {
  1110. display: inline-block;
  1111. vertical-align: middle;
  1112. }
  1113. .ui.buttons:after {
  1114. content: ".";
  1115. display: block;
  1116. height: 0;
  1117. clear: both;
  1118. visibility: hidden;
  1119. }
  1120. .ui.buttons .button:first-child {
  1121. border-left: none;
  1122. }
  1123. .ui.buttons .button {
  1124. float: left;
  1125. border-radius: 0em;
  1126. }
  1127. .ui.buttons .button:first-child {
  1128. margin-left: 0em;
  1129. border-top-left-radius: 0.25em;
  1130. border-bottom-left-radius: 0.25em;
  1131. }
  1132. .ui.buttons .button:last-child {
  1133. border-top-right-radius: 0.25em;
  1134. border-bottom-right-radius: 0.25em;
  1135. }
  1136. /* Vertical Style */
  1137. .ui.vertical.buttons {
  1138. display: inline-block;
  1139. }
  1140. .ui.vertical.buttons .button {
  1141. display: block;
  1142. float: none;
  1143. -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
  1144. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
  1145. }
  1146. .ui.vertical.buttons .button:first-child,
  1147. .ui.vertical.buttons .mini.button:first-child,
  1148. .ui.vertical.buttons .tiny.button:first-child,
  1149. .ui.vertical.buttons .small.button:first-child,
  1150. .ui.vertical.buttons .massive.button:first-child,
  1151. .ui.vertical.buttons .huge.button:first-child {
  1152. margin-top: 0px;
  1153. border-radius: 0.25em 0.25em 0px 0px;
  1154. }
  1155. .ui.vertical.buttons .button:last-child,
  1156. .ui.vertical.buttons .mini.button:last-child,
  1157. .ui.vertical.buttons .tiny.button:last-child,
  1158. .ui.vertical.buttons .small.button:last-child,
  1159. .ui.vertical.buttons .massive.button:last-child,
  1160. .ui.vertical.buttons .huge.button:last-child,
  1161. .ui.vertical.buttons .gigantic.button:last-child {
  1162. border-radius: 0px 0px 0.25em 0.25em;
  1163. }