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.

422 lines
7.6 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. text-rendering: optimizeLegibility;
  81. }
  82. /* text and headers */
  83. h1 {
  84. margin: 0px 0px 20px;
  85. padding: 50px 0px 5px;
  86. border-bottom: 1px solid #DDDDDD;
  87. }
  88. h1 {
  89. margin: 0px auto;
  90. }
  91. h1:first-child {
  92. margin-top: 0px;
  93. padding-top: 0px;
  94. }
  95. h2 {
  96. margin: 35px 0px 30px;
  97. padding-bottom: 10px;
  98. border-bottom: 1px solid #DDDDDD;
  99. }
  100. h3 {
  101. font-size: 20px;
  102. margin: 40px 0px 15px;
  103. }
  104. h4 {
  105. margin: 30px 0px 3px;
  106. font-size: 16px;
  107. font-weight: bold;
  108. color: #555555;
  109. }
  110. h4 + p {
  111. margin: 0px 0px 20px;
  112. color: #888888;
  113. }
  114. pre {
  115. background-color: #F0F0F0;
  116. }
  117. code {
  118. position: relative;
  119. background-color: #F0F0F0;
  120. border: 1px solid #DDDDDD;
  121. padding: 3px 5px;
  122. }
  123. pre code {
  124. border: none;
  125. padding: 0px;
  126. }
  127. table pre,
  128. table code {
  129. margin: 0px;
  130. padding: 0px;
  131. background-color: transparent;
  132. }
  133. p {
  134. margin: 10px 0px;
  135. color: #555555;
  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 .sidr {
  149. width: 275px;
  150. font-family: "Neutraface", "Helvetica Neue", "Arial", sans-serif;
  151. -webkit-box-shadow: 3px 0px 2px rgba(0, 0, 0, 0.2);
  152. -moz-box-shadow: 3px 0px 2px rgba(0, 0, 0, 0.2);
  153. box-shadow: 3px 0px 2px rgba(0, 0, 0, 0.2);
  154. border-right: 1px solid #DDDDDD;
  155. }
  156. #example .sidr .ui.menu {
  157. margin: 0px 0px 30px;
  158. }
  159. #example .section.dropdown .menu {
  160. left: -46px;
  161. width: 215px;
  162. }
  163. /* segment headers */
  164. #example > .segment {
  165. margin: 0px 0px 46px;
  166. padding: 65px 0px 20px;
  167. background-color: #FFFFFF;
  168. border-bottom: 1px solid #DDDDDD;
  169. }
  170. #example > .segment .text {
  171. width: 800px;
  172. margin: 0px auto;
  173. }
  174. /* lists */
  175. #example ol {
  176. list-style-position: inside;
  177. margin: 10px 0px 40px;
  178. padding: 0px;
  179. }
  180. #example ol li {
  181. list-style-type: decimal;
  182. margin: 0px 0px 10px;
  183. }
  184. #example ol li a {
  185. font-weight: bold;
  186. }
  187. #example .features {
  188. list-style-position: inside;
  189. margin: 10px 0px 0px;
  190. padding: 0px;
  191. }
  192. #example .features li {
  193. list-style-type: disc;
  194. margin: 0px 0px 10px;
  195. font-weight: bold;
  196. }
  197. /* content */
  198. #example .container {
  199. width: 800px;
  200. margin: 0px auto;
  201. }
  202. #example .shortcuts {
  203. float: right;
  204. clear: both;
  205. }
  206. #example .page {
  207. font-family: "Arial, Helvetica, sans-serif";
  208. }
  209. #example .page .of {
  210. font-family: 'Neutraface';
  211. font-size: 12px;
  212. color: #AAAAAA;
  213. padding: 0px 5px;
  214. }
  215. #example .page .menu,
  216. #example .page .of {
  217. font-family: 'Neutraface';
  218. }
  219. #example .side.buttons {
  220. position: fixed;
  221. margin-top: 75px;
  222. }
  223. #example .main.container {
  224. position: relative;
  225. }
  226. #example .peek {
  227. position: absolute;
  228. top: -8px;
  229. left: -230px;
  230. width: 180px;
  231. }
  232. #example .peek .menu :nth-child(1) {
  233. border-left-color: #00B9F0;
  234. }
  235. #example .main h2.standard {
  236. color: #00B9F0;
  237. }
  238. #example .peek .menu :nth-child(2) {
  239. border-left-color: #56BB73;
  240. }
  241. #example .main h2.states {
  242. color: #56BB73;
  243. }
  244. #example .peek .menu :nth-child(3) {
  245. border-left-color: #EF3F49;
  246. }
  247. #example .main h2.variations {
  248. color: #EF3F49;
  249. }
  250. #example .peek .menu :nth-child(4) {
  251. border-left-color: #A24096;
  252. }
  253. #example .main h2.group {
  254. color: #A24096;
  255. }
  256. #example .peek .menu {
  257. width: 180px;
  258. }
  259. #example .sticky-wrapper.stuck {
  260. height: 0px !important;
  261. }
  262. #example .sticky-wrapper.stuck .peek {
  263. position: fixed;
  264. top: 75px;
  265. left: 50%;
  266. margin-left: -630px;
  267. }
  268. #example .settings.table td:first-child {
  269. font-weight: bold;
  270. }
  271. #example .settings.table td:nth-child(2n) {
  272. width: 300px;
  273. }
  274. /* example code reskin */
  275. #example div.code {
  276. position: relative;
  277. width: 100%;
  278. height: 200px;
  279. }
  280. #example div.code {
  281. font-size: 14px;
  282. margin: 5px 0px 20px;
  283. padding: 5px 0px;
  284. border: 1px solid #F0F0F0;
  285. border: 1px solid rgba(0, 0, 0, 0.1);
  286. border-radius: 3px;
  287. background-color: #FFFFFF;
  288. background-color: rgba(255, 255, 255, 0.8);
  289. }
  290. #example div.code .ace_bracket {
  291. background-color: rgba(0, 0, 0, 0.05);
  292. border: 1px solid rgba(0, 0, 0, 0.1);
  293. }
  294. #example div.code .ace_line {
  295. color: #555555;
  296. }
  297. #example div.code .ace_tag {
  298. color: #892A6F;
  299. }
  300. #example div.code .ace_indent-guide {
  301. position: relative;
  302. background: none;
  303. }
  304. #example div.code .ace_indent-guide:after {
  305. content: '';
  306. position: absolute;
  307. top: 0px;
  308. right: 0px;
  309. height: 100%;
  310. border-left: 1px solid #ECF5F3;
  311. }
  312. #example div.code .ace_attribute-name {
  313. color: #934E4E;
  314. }
  315. #example div.code .ace_scroller {
  316. margin: 14px 10px;
  317. }
  318. #example div.code .ace_content {
  319. }
  320. #example div.code .ace_string {
  321. color: #00A59D;
  322. }
  323. #example div.code .ace_cursor {
  324. border-left: 1px solid #AAAAAA;
  325. }
  326. #example div.code .ace_paren {
  327. color: #555555;
  328. }
  329. #example div.code .ace_keyword {
  330. color: #555555;
  331. }
  332. #example div.code .ace_identifier {
  333. color: #555555;
  334. }
  335. #example div.code .ace_scrollbar {
  336. overflow: hidden;
  337. background-color: #FFFFFF;
  338. }
  339. #example div.code .ace_punctuation {
  340. color: #555555;
  341. }
  342. /* examples */
  343. #example .example {
  344. position: relative;
  345. }
  346. #example .example i.code {
  347. cursor: pointer;
  348. position: absolute;
  349. top: 0px;
  350. right: 0px;
  351. opacity: 0.2;
  352. font-size: 18px;
  353. color: #555555;
  354. -webkit-transition: opacity 0.3s ease-out;
  355. -moz-transition: opacity 0.3s ease-out;
  356. -o-transition: opacity 0.3s ease-out;
  357. -ms-transition: opacity 0.3s ease-out;
  358. transition: opacity 0.3s ease-out;
  359. }
  360. #example .example:hover i.code {
  361. opacity: 0.7;
  362. }
  363. #example .example:hover i.code:hover {
  364. opacity: 1;
  365. }
  366. /* some demo formatting */
  367. .ui.menu a {
  368. cursor: pointer;
  369. }
  370. @media only screen and (max-width : 1640px) {
  371. #example .container {
  372. width: 600px;
  373. }
  374. #example .sticky-wrapper.stuck .peek {
  375. margin-left: -530px;
  376. }
  377. }
  378. @media only screen and (max-width : 1420px) {
  379. #example .container {
  380. width: auto;
  381. margin: 0px 100px 0px 395px;
  382. }
  383. #example .sticky-wrapper.stuck .peek {
  384. margin-left: 0px;
  385. left: 165px;
  386. }
  387. }