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.

431 lines
7.7 KiB

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