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.

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