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.

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