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.

1398 lines
29 KiB

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