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.

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