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.

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