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.

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