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.

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