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.

507 lines
9.1 KiB

11 years ago
  1. /*******************************
  2. Glue Code
  3. *******************************/
  4. ::-webkit-selection {
  5. background-color: #FFFFCC;
  6. color: #555555;
  7. }
  8. ::-moz-selection {
  9. background-color: #FFFFCC;
  10. color: #555555;
  11. }
  12. ::selection {
  13. background-color: #FFFFCC;
  14. color: #555555;
  15. }
  16. h1::-moz-selection,
  17. h2::-moz-selection,
  18. h3::-moz-selection {
  19. background-color: #F1C1C2;
  20. color: #222222;
  21. }
  22. h1::selection,
  23. h2::selection,
  24. h3::selection {
  25. background-color: #F1C1C2;
  26. color: #222222;
  27. }
  28. .ui *::-moz-selection {
  29. background-color: #CCE2FF;
  30. }
  31. .ui *::selection {
  32. background-color: #CCE2FF;
  33. }
  34. @font-face {
  35. font-family: 'Icons';
  36. src: url(../fonts/icons.eot);
  37. src:
  38. url(../fonts/icons.eot?#iefix) format('embedded-opentype'),
  39. url(../fonts/icons.woff) format('woff'),
  40. url(../fonts/icons.ttf) format('truetype'),
  41. url(../fonts/icons.svg#icons) format('svg')
  42. ;
  43. font-weight: normal;
  44. font-style: normal;
  45. }
  46. /* Non Web Font (For Demo)
  47. @font-face {
  48. font-family: 'Neutraface';
  49. src:
  50. url("../fonts/neutraface-book.otf") format('opentype')
  51. ;
  52. font-weight: normal;
  53. font-style: normal;
  54. font-size-adjust: 0.448;
  55. }
  56. @font-face {
  57. font-family: 'Neutraface';
  58. src:
  59. url("../fonts/neutraface-bold.otf") format('opentype')
  60. ;
  61. font-weight: bold;
  62. font-style: normal;
  63. font-size-adjust: 0.448;
  64. }
  65. */
  66. @font-face {
  67. font-family: 'Neutraface';
  68. src:
  69. url('../fonts/neutraface-book.eot');
  70. src:
  71. url('../fonts/neutraface-book.eot?#iefix') format('embeddedopentype'),
  72. url('../fonts/neutraface-book.woff') format('woff')
  73. ;
  74. font-style: normal;
  75. font-weight: normal;
  76. font-stretch: normal;
  77. }
  78. @font-face {
  79. font-family: 'Neutraface';
  80. src:
  81. url('../fonts/neutraface-bold.eot');
  82. src:
  83. url('../fonts/neutraface-bold.eot?#iefix') format('embeddedopentype'),
  84. url('../fonts/neutraface-bold.woff') format('woff')
  85. ;
  86. font-style: normal;
  87. font-weight: bold;
  88. font-stretch: normal;
  89. }
  90. @font-face {
  91. font-family: 'Neutraface';
  92. src:
  93. url('../fonts/neutraface-italic.eot');
  94. src:
  95. url('../fonts/neutraface-italic.eot?#iefix') format('embeddedopentype'),
  96. url('../fonts/neutraface-italic.woff') format("woff")
  97. ;
  98. font-style: italic;
  99. font-weight: normal;
  100. font-stretch: normal;
  101. }
  102. /*******************************
  103. Global
  104. *******************************/
  105. body#example {
  106. font-family: "Neutraface", "Helvetica Neue", "Arial", sans-serif;
  107. background: #FCFCFC url(../images/bg.jpg) repeat;
  108. margin: 0px;
  109. padding: 0px 0px 150px;
  110. color: #555555;
  111. text-rendering: optimizeLegibility;
  112. min-width: 990px;
  113. }
  114. /* text and headers */
  115. h1 {
  116. margin: 0px 0px 20px;
  117. padding: 50px 0px 5px;
  118. border-bottom: 1px solid #DDDDDD;
  119. }
  120. h1 {
  121. margin: 0px auto;
  122. }
  123. h1:first-child {
  124. margin-top: 0px;
  125. padding-top: 0px;
  126. }
  127. h2 {
  128. margin: 35px 0px 30px;
  129. padding-bottom: 10px;
  130. border-bottom: 1px solid #DDDDDD;
  131. }
  132. h3 {
  133. font-size: 20px;
  134. margin: 40px 0px 15px;
  135. }
  136. h4 {
  137. margin: 30px 0px 3px;
  138. font-size: 16px;
  139. font-weight: bold;
  140. color: #555555;
  141. }
  142. h4 + p {
  143. margin: 0px 0px 20px;
  144. color: #888888;
  145. }
  146. pre {
  147. background-color: #F0F0F0;
  148. }
  149. code {
  150. position: relative;
  151. background-color: #F0F0F0;
  152. border: 1px solid #DDDDDD;
  153. padding: 3px 5px;
  154. }
  155. pre code {
  156. border: none;
  157. padding: 0px;
  158. }
  159. table pre,
  160. table code {
  161. margin: 0px;
  162. padding: 0px;
  163. background-color: transparent;
  164. }
  165. p {
  166. margin: 10px 0px;
  167. }
  168. p > a {
  169. font-weight: bold;
  170. }
  171. /* links */
  172. a {
  173. color: #009FDA;
  174. text-decoration: none;
  175. }
  176. a:hover {
  177. color: #00BAFF;
  178. }
  179. #example #menu {
  180. display: none;
  181. width: 275px;
  182. border-radius: 0px;
  183. font-family: "Neutraface", "Helvetica Neue", "Arial", sans-serif;
  184. /* -webkit-box-shadow: 3px 0px 2px rgba(0, 0, 0, 0.2);
  185. -moz-box-shadow: 3px 0px 2px rgba(0, 0, 0, 0.2);
  186. box-shadow: 3px 0px 2px rgba(0, 0, 0, 0.2); */
  187. border-right: none;
  188. }
  189. #example #menu .item {
  190. -webkit-border-radius: 0px;
  191. -moz-border-radius: 0px;
  192. border-radius: 0px;
  193. }
  194. #example .sidr .ui.menu {
  195. margin: 0px 0px 30px;
  196. }
  197. #example .section.dropdown .menu {
  198. left: -46px;
  199. width: 215px;
  200. }
  201. /* segment headers */
  202. #example > .segment {
  203. margin: 0px 0px 46px;
  204. padding: 65px 0px 20px;
  205. background-color: #FFFFFF;
  206. border-bottom: 1px solid #DDDDDD;
  207. }
  208. #example > .segment .text {
  209. width: 800px;
  210. margin: 0px auto;
  211. }
  212. #example .main.menu {
  213. z-index: 999;
  214. }
  215. /* lists */
  216. #example ol {
  217. list-style-position: inside;
  218. margin: 10px 0px 40px;
  219. padding: 0px;
  220. }
  221. #example ol li {
  222. list-style-type: decimal;
  223. margin: 0px 0px 10px;
  224. }
  225. #example ol li a {
  226. font-weight: bold;
  227. }
  228. #example .features {
  229. list-style-position: inside;
  230. margin: 10px 0px 0px;
  231. padding: 0px;
  232. }
  233. #example .features li {
  234. list-style-type: disc;
  235. margin: 0px 0px 10px;
  236. font-weight: bold;
  237. }
  238. /* content */
  239. #example .container {
  240. width: 800px;
  241. margin: 0px auto;
  242. }
  243. #example .shortcuts {
  244. float: right;
  245. clear: both;
  246. }
  247. #example .page {
  248. font-family: "Arial, Helvetica, sans-serif";
  249. }
  250. #example .page .of {
  251. font-family: 'Neutraface';
  252. font-size: 12px;
  253. color: #AAAAAA;
  254. padding: 0px 5px;
  255. }
  256. #example .page .menu,
  257. #example .page .of {
  258. font-family: 'Neutraface';
  259. }
  260. #example .side.buttons {
  261. position: fixed;
  262. margin-top: 75px;
  263. }
  264. #example .main.container {
  265. position: relative;
  266. }
  267. #example .swap {
  268. background: url(http://beta.myfav.es/images/themes/bg/subtle/subtle-handmade-paper.png) repeat;
  269. }
  270. #example .peek {
  271. position: absolute;
  272. top: -8px;
  273. left: -230px;
  274. width: 180px;
  275. }
  276. #example .peek .menu :nth-child(1) {
  277. border-left-color: #00B9F0;
  278. }
  279. #example .main h2.standard {
  280. color: #00B9F0;
  281. }
  282. #example .peek .menu :nth-child(2) {
  283. border-left-color: #56BB73;
  284. }
  285. #example .main h2.states {
  286. color: #56BB73;
  287. }
  288. #example .peek .menu :nth-child(3) {
  289. border-left-color: #EF3F49;
  290. }
  291. #example .main h2.variations {
  292. color: #EF3F49;
  293. }
  294. #example .peek .menu :nth-child(4) {
  295. border-left-color: #A24096;
  296. }
  297. #example .main h2.group {
  298. color: #A24096;
  299. }
  300. #example .peek .menu {
  301. margin-left: 0px;
  302. width: 180px;
  303. -webkit-transition:
  304. margin-left 0.3s ease-out,
  305. opacity 0.3s ease-out
  306. ;
  307. -moz-transition:
  308. margin-left 0.3s ease-out,
  309. opacity 0.3s ease-out
  310. ;
  311. -o-transition:
  312. margin-left 0.3s ease-out,
  313. opacity 0.3s ease-out
  314. ;
  315. -ms-transition:
  316. margin-left 0.3s ease-out,
  317. opacity 0.3s ease-out
  318. ;
  319. transition:
  320. margin-left 0.3s ease-out,
  321. opacity 0.3s ease-out
  322. ;
  323. }
  324. #example .sticky-wrapper.stuck {
  325. height: 0px !important;
  326. }
  327. #example .sticky-wrapper.stuck .peek {
  328. position: fixed;
  329. top: 75px;
  330. left: 50%;
  331. margin-left: -630px;
  332. }
  333. #example .sticky-wrapper.stuck .peek.pushed .menu {
  334. margin-left: 275px;
  335. }
  336. #example .settings.table {
  337. margin-bottom: 20px;
  338. }
  339. #example .settings.table td:first-child {
  340. font-weight: bold;
  341. }
  342. #example .settings.table td:nth-child(2n) {
  343. width: 300px;
  344. }
  345. /* example code reskin */
  346. #example div.code {
  347. position: relative;
  348. width: 100%;
  349. height: 200px;
  350. }
  351. #example div.code {
  352. font-size: 14px;
  353. margin: 5px 0px 20px;
  354. padding: 5px 0px;
  355. border: 1px solid #F0F0F0;
  356. border: 1px solid rgba(0, 0, 0, 0.1);
  357. border-radius: 3px;
  358. background-color: #FFFFFF;
  359. background-color: rgba(255, 255, 255, 0.8);
  360. }
  361. #example div.code .ace_gutter {
  362. background-color: #FAFAFA;
  363. border-right: 1px solid rgba(0, 0, 0, 0.1);
  364. color: #999999;
  365. }
  366. #example div.code .ace_gutter-cell {
  367. padding-right: 20px;
  368. padding-left: 10px;
  369. }
  370. #example div.code .ace_bracket {
  371. background-color: rgba(0, 0, 0, 0.05);
  372. border: 1px solid rgba(0, 0, 0, 0.1);
  373. }
  374. #example div.code .ace_line {
  375. color: #555555;
  376. }
  377. #example div.code .ace_tag {
  378. color: #892A6F;
  379. }
  380. #example div.code .ace_indent-guide {
  381. position: relative;
  382. background: none;
  383. }
  384. /* #example div.code .ace_indent-guide:after {
  385. content: '';
  386. position: absolute;
  387. top: 0px;
  388. right: 0px;
  389. height: 100%;
  390. border-left: 1px solid #ECF5F3;
  391. } */
  392. #example div.code .ace_attribute-name {
  393. color: #934E4E;
  394. }
  395. /*
  396. #example div.code .ace_gutter,
  397. #example div.code .ace_scroller {
  398. margin: 14px 10px;
  399. }
  400. */
  401. #example div.code .ace_content {
  402. }
  403. #example div.code .ace_string {
  404. color: #00A59D;
  405. }
  406. #example div.code .ace_cursor {
  407. border-left: 1px solid #AAAAAA;
  408. }
  409. #example div.code .ace_paren {
  410. color: #555555;
  411. }
  412. #example div.code .ace_keyword {
  413. color: #555555;
  414. }
  415. #example div.code .ace_identifier {
  416. color: #555555;
  417. }
  418. #example div.code .ace_scrollbar {
  419. overflow: hidden;
  420. background-color: #FFFFFF;
  421. }
  422. #example div.code .ace_punctuation {
  423. color: #555555;
  424. }
  425. #example div.code .ace_active_line {
  426. background-color: #FBFBE5;
  427. }
  428. /* examples */
  429. #example .example {
  430. position: relative;
  431. }
  432. #example .example i.code {
  433. cursor: pointer;
  434. position: absolute;
  435. top: 0px;
  436. right: 0px;
  437. opacity: 0.2;
  438. font-size: 18px;
  439. color: #555555;
  440. -webkit-transition: opacity 0.3s ease-out;
  441. -moz-transition: opacity 0.3s ease-out;
  442. -o-transition: opacity 0.3s ease-out;
  443. -ms-transition: opacity 0.3s ease-out;
  444. transition: opacity 0.3s ease-out;
  445. }
  446. #example .example:hover i.code {
  447. opacity: 0.7;
  448. }
  449. #example .example:hover i.code:hover {
  450. opacity: 1;
  451. }
  452. /* some demo formatting */
  453. .ui.menu p:only-child {
  454. margin: 0px;
  455. }
  456. .ui.menu a {
  457. cursor: pointer;
  458. }
  459. @media only screen and (max-width : 1420px) {
  460. #example .container {
  461. width: auto;
  462. margin: 0px 100px 0px 395px;
  463. }
  464. #example .sticky-wrapper.stuck .peek {
  465. margin-left: 0px;
  466. left: 165px;
  467. }
  468. }