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.

1002 lines
26 KiB

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