/ittf/site/docs/styles/docs.css.ittf (primary)
1 css2 $include models/docs/site.wzctx3 < body4 margin 05 padding 06 color #eee7 background-color #4949498 font-family roboto,verdana,arial9 < nav10 < ul11 list-style-type none12 < a13 text-decoration none14 # main-container15 width 70%16 margin 0 auto17 display flex18 flex-direction column19 font-size 16px20 line-height 24px21 word-spacing 1px22 color #eee23 background-color #51515124 # header25 border-bottom 1px solid #a0a0a026 display flex27 flex-direction row28 padding 10px 20px29 # logo30 $$ margin 16px31 . logo-a32 align-self flex-start33 display flex34 flex-shrink 035 padding 0.5rem 0.375rem36 transform translateX(-0.375rem)37 text-decoration none38 font-weight 60039 align-items center40 margin-right 1.25rem41 # top-nav42 display flex43 justify-content space-between44 list-style-type none45 padding-top 16px46 < ul47 margin-bottom 048 < li49 display inline-block50 padding-right 30px51 font-size 24px52 color #ddd53 < a54 color #eee55 . current56 font-weight 70057 color palegoldenrod58 # middle-container59 display flex60 flex-direction row61 # content62 margin 0 auto63 width 80%64 $$ display flex65 $$ flex-direction column66 padding 30px 30px67 $$ line-height 24px68 word-spacing 2px69 $$ font-size 18px70 # left-nav71 $$ border-right 1px solid #a0a0a072 padding 10px 10px73 < li74 margin-top 20px75 font-size 18px76 < a77 color #eee78 # right-nav79 $$ border-left 1px solid #a0a0a080 padding 10px 20px81 < ul82 margin-left 083 < li84 font-size 14px85 < a86 color #eee87 # footer88 $$ border-top 1px solid #a0a0a089 display grid90 grid-template-columns 1fr 1fr91 padding 20px92 $include aside-right93 < article94 background-color ${wzCtx.Colors.bg_dark_medium}95 border-radius 10px96 padding 20px97 margin 0 5px 3px 5px98 box-shadow 0 3px 5px rgba(0,0,0,0.1)99 font-size 16px100 media (min-width: 768px)101 < article102 padding 40px 40px 30px103 font-size 16px104 margin 0 10px 10px 10px105 box-shadow 0 5px 10px rgba(0,0,0,0.1)106 . doc-container107 margin 0 auto108 width 60%109 display flex110 . w-1-5111 width 20%112 . w-4-5113 width 80%114 . doc-title115 font-size 1.4rem116 font-weight 600117 padding-bottom 5px118 border-bottom 1px solid #999119 . doc-title-2120 font-size 1.2rem121 font-weight 600122 padding-bottom 3px123 . doc-summary124 padding 15px125 < h4126 color #eee127 . ittf-panel128 $$ background-color #aaa129 $$ padding 20px130 margin-bottom 20px131 . ittf-panel-title132 font-size 0.8rem133 font-weight 700134 . js-panel135 margin-bottom 20px136 . js-panel-title137 font-size 0.8rem138 font-weight 700139 padding-left 10px140 . bash-panel141 margin-bottom 20px142 . bash-panel-title143 font-size 0.8rem144 font-weight 700145 padding-left 10px146 media (min-width: 768px)147 . ittf-panel-title148 font-size 16px149 font-weight 700150 $$ margin-bottom 2px151 . link152 float 'right'153 paddingLeft '10px'154 . cheatsheet155 . cheatsheet-page156 display flex157 padding 25px158 position fixed159 height 100vh160 width 100%161 . cheatsheet-sidebar162 display flex163 min-width 300px164 margin 5px165 flex-direction column166 overflow auto167 . cheatsheet-sidebar-schemas168 display flex169 flex-direction column170 border 1px solid gray171 margin-bottom 5px172 . cheatsheet-sidebar-element-title173 padding-left 15px174 font-weight 600175 . cheatsheet-sidebar-items176 border 1px solid gray177 . cheatsheet-content178 flex 1 1 auto179 margin 5px180 overflow auto181 . cheatsheet-item182 display flex183 background-color #3e5a6d184 . cheatsheet-ittf185 padding 10px186 border 1px solid gray187 margin 5px188 width 50%189 < pre190 width 100%191 padding 10px192 . cheatsheet-generated193 padding 10px194 border 1px solid gray195 margin 5px196 width 50%197 background-color #dedede198 < pre199 width 100%200 padding 10px201 . cheatsheet-element-title202 background-color #bbb203 width 100%204 padding 15px 5px 15px 15px205 margin 20px 0 10px 0206 font-size 1.2rem207 font-weight 600208 . cheatsheet-item-title209 padding 5px 10px 0px 10px210 font-weight 700211 . scrollbar-thin212 @ scrollbar-color #6D6D6D #4D4D4D213 @ scrollbar-width thin214 $include highlight215 $ var opt = wzCtx.Fonts216 css/fonts( &opt)217 $include tables
/t/models/docs/site.wzctx.ittf
1 $group2 $global3 var wzCtx = {4 name: "stfnbssl.github.io/wizzi",5 version: "0.7.1",6 description: "Wizzi github page",7 author: "Stefano Bassoli",8 license: "MIT",9 Params: {10 title: "Wizzi",11 baseUrl: "https://stfnbssl.github.io/wizzi"12 },13 Section: {14 items: [15 {16 title: "Concepts",17 url: "/ittf/site/docs/concepts/overview.html.ittf"18 },19 {20 title: "Howtos",21 url: "/ittf/site/docs/howtos/getstarted.html.ittf"22 },23 /*24 {25 title: "Sample code",26 url: "/ittf/site/docs/samplecode/overview.html.ittf"27 },28 {29 title: "Geeky",30 url: "/ittf/site/docs/geeky/overview.html.ittf"31 },32 */33 {34 title: "Cheatsheets",35 url: "/wizzi/docs/cheatsheet/html"36 },37 {38 title: "Play",39 url: "/ittf/site/docs/play/index.html.ittf"40 }41 ]42 },43 Concepts: {44 items: [45 {46 title: "Overview",47 url: "./overview.html.ittf"48 },49 {50 title: "Ittf Documents",51 url: "./ittfdocuments.html.ittf"52 },53 {54 title: "Template Engine",55 url: "./templateengine.html.ittf"56 },57 {58 title: "JsWizzi",59 url: "./jswizzi.html.ittf"60 },61 {62 title: "mTrees",63 url: "./mtrees.html.ittf"64 },65 {66 title: "Wizzi Schemas",67 url: "./wizzischemas.html.ittf"68 },69 {70 title: "Wizzi Model DOMs",71 url: "./wizzimodeldoms.html.ittf"72 },73 {74 title: "Wizzi Model Instances",75 url: "./wizzimodelinstances.html.ittf"76 },77 {78 title: "Model Transformers",79 url: "./modeltransformers.html.ittf"80 },81 {82 title: "Artifact Generators",83 url: "./artifactgenerators.html.ittf"84 },85 {86 title: "Wizzi Jobs",87 url: "./wizzijobs.html.ittf"88 },89 {90 title: "Wizzi Meta Productions",91 url: "./wizzimetaproductions.html.ittf"92 },93 {94 title: "Wizzi Plugins",95 url: "./wizziplugins.html.ittf"96 },97 {98 title: "Wizzi Meta Plugins",99 url: "./wizzimetaplugins.html.ittf"100 },101 {102 title: "Wizzi API",103 url: "./wizziapi.html.ittf"104 },105 {106 title: "Wizzi CLI",107 url: "./wizzicli.html.ittf"108 },109 {110 title: "Virtual Store System",111 url: "./virtualstoresystem.html.ittf"112 },113 {114 title: "Glossary",115 url: "./glossary.html.ittf"116 }117 ]118 },119 Howtos: {120 items: [121 {122 title: "Get started",123 url: "./getstarted.html.ittf"124 },125 {126 title: "Wizzi API",127 url: "./wizziapi.html.ittf"128 }129 ]130 },131 SampleCode: {132 items: [133 {134 title: "Overview",135 url: "./overview.html.ittf"136 },137 {138 title: "Template Engine",139 url: "./templateengine.html.ittf"140 },141 {142 title: "JsWizzi",143 url: "./jswizzi.html.ittf"144 },145 {146 title: "mTrees",147 url: "./mtrees.html.ittf"148 },149 {150 title: "Wizzi Schemas",151 url: "./wizzischemas.html.ittf"152 },153 {154 title: "Wizzi Model DOMs",155 url: "./wizzimodeldoms.html.ittf"156 },157 {158 title: "Model Transformers",159 url: "./modeltransformers.html.ittf"160 },161 {162 title: "Artifact Generators",163 url: "./artifactgenerators.html.ittf"164 },165 {166 title: "Wizzi Jobs",167 url: "./wizzijobs.html.ittf"168 },169 {170 title: "Wizzi Plugins",171 url: "./wizziplugins.html.ittf"172 },173 {174 title: "Wizzi API",175 url: "./wizziapi.html.ittf"176 },177 {178 title: "Virtual Store System",179 url: "./virtualstoresystem.html.ittf"180 },181 {182 title: "Glossary",183 url: "./glossary.html.ittf"184 }185 ]186 },187 Geeky: {188 items: [189 {190 title: "Overview",191 url: "./overview.html.ittf"192 },193 {194 title: "Template Engine",195 url: "./templateengine.html.ittf"196 },197 {198 title: "JsWizzi",199 url: "./jswizzi.html.ittf"200 },201 {202 title: "mTrees",203 url: "./mtrees.html.ittf"204 },205 {206 title: "Wizzi Schemas",207 url: "./wizzischemas.html.ittf"208 },209 {210 title: "Wizzi Model DOMs",211 url: "./wizzimodeldoms.html.ittf"212 },213 {214 title: "Model Transformers",215 url: "./modeltransformers.html.ittf"216 },217 {218 title: "Artifact Generators",219 url: "./artifactgenerators.html.ittf"220 },221 {222 title: "Wizzi Jobs",223 url: "./wizzijobs.html.ittf"224 },225 {226 title: "Wizzi Plugins",227 url: "./wizziplugins.html.ittf"228 },229 {230 title: "Wizzi API",231 url: "./wizziapi.html.ittf"232 },233 {234 title: "Wizzi CLI",235 url: "./wizzicli.html.ittf"236 },237 {238 title: "Virtual Store System",239 url: "./virtualstoresystem.html.ittf"240 },241 {242 title: "Glossary",243 url: "./glossary.html.ittf"244 }245 ]246 },247 Starter: {248 "items": [249 {250 title: "wizzi-starter-wizzi-plugin",251 url: "https://github.com/wizzifactory/wizzi-examples/tree/master/packages/wizzi-starter-wizzi-plugin"252 },253 {254 title: "wizzi-starter-webpack-react",255 url: "https://github.com/wizzifactory/wizzi-examples/tree/master/packages/wizzi-starter-webpack-react"256 },257 {258 title: "wizzi-starter-mern",259 url: "https://github.com/wizzifactory/wizzi-examples/tree/master/packages/wizzi-starter-mern"260 },261 {262 title: "wizzi-starter-nextjs",263 url: "https://github.com/wizzifactory/wizzi-examples/tree/master/packages/wizzi-starter-nextjs"264 },265 {266 title: "wizzi-starter-gatsby",267 url: "https://github.com/wizzifactory/wizzi-examples/tree/master/packages/wizzi-starter-gatsby"268 }269 ]270 },271 "Plugin": {272 items: [273 {274 title: "wizzi-js",275 url: "https://github.com/wizzifactory/wizzi/tree/master/packages/wizzi-js/dist"276 },277 {278 title: "wizzi-web",279 url: "https://github.com/wizzifactory/wizzi/tree/master/packages/wizzi-web/dist"280 },281 {282 title: "wizzi-lab",283 url: "https://github.com/wizzifactory/wizzi/tree/master/packages/wizzi-lab/dist"284 }285 ]286 },287 Colors: {288 "bg_0": "#333",289 "bg_f_0": "#000",290 "c_0": "#fff",291 "bg_dark": "#333",292 "bg_dark_medium": "#444",293 "c_dark": "#ddd",294 "c_dark_medium": "#bbb",295 "h3_c_dark": "#fc0"296 },297 Fonts: {298 "useMaterialIcons": true,299 "materialIcons": {300 "baseUrl": "https://stfnbssl.github.io/wizzi/fonts",301 "fontWeight": "400",302 "size": "24px"303 }304 },305 Styles: {306 shellColors: {307 mainHeaderBg: "#0D0D0D",308 mainHeader: "#dedede",309 mainContentBg: "#2D2D2D",310 mainContent: "#dedede",311 mainContentLeftBarBg: "#1D1D1D",312 mainContentLeftBar: "#dedede",313 mainFooterBg: "#0D0D0D",314 mainFooter: "#dedede",315 }316 }317 }318 var mpage = {319 Colors: {320 background: "#ffffff",321 scheme1Fade90: "whiteFade-90,rgba(255,255,255,0.9)",322 themeBack: "#ffffff",323 primary: "#BDF3EE",324 primaryDark: "#122944",325 primary30: "#BDF3EE",326 gray70: "grey-70,#222B31",327 grad1: "#81B6CF",328 grad2: "#222B31"329 }330 }
/ittf/site/docs/styles/t/aside-right.css.ittf
1 $group2 . aside-right3 padding-top 30px4 < h45 text-transform uppercase6 font-size 14px7 font-weight 7008 padding 0 0 10px 30px9 margin-left -30px10 display inline-block11 border-bottom 1px solid #c0012 < ul13 padding-left 014 & :first-child15 margin-top 016 < li17 list-style-type none18 < a19 position relative20 & .current21 < div:before22 content ""23 border-color transparent transparent transparent #44424 border-style solid25 border-width 10px26 width 027 height 028 position absolute29 top 030 left -30px31 & .current div32 color #f90
/ittf/site/docs/styles/t/highlight.css.ittf
1 $group2 < pre, code3 white-space pre4 $$ display inline-block5 margin 06 font 14px/1.8em Menlo, Consolas, "Courier New", Courier, "Liberation Mono", monospace7 padding 0 0.5em8 - ========================================9 - WIZZI PRETTY PRINT10 - ----------------------------------------11 . pln12 color #F1F2F313 . tag14 color #77f32815 . str16 color #EC7600 $$ string content17 . kwd18 color #f79256 $$ a keyword19 . com20 color #66747B $$ a comment21 . typ22 color #678CB1 $$ a type name23 . lit24 color #FACD22 $$ a literal value25 . mix26 color #ff0040 $$ mixin call27 cursor pointer28 . tag29 color #77f328 $$ a markup tag name30 . atn31 color #E0E2E4 $$ a markup attribute name32 . atv33 color #EC7600 $$ a markup attribute value34 . expr35 color #f3e877 $$ a declaration; a variable name36 . fun37 color red $$ a function name38 . arg39 color yellow $$ a mixin arg40 . pp-ln41 color #99942 . pp-pln43 color #f1ebeb44 . pp-str45 color #EC7600 $$ string content46 . pp-kwd47 color #f79256 $$ a keyword48 . pp-com49 color #66747B $$ a comment50 . pp-typ51 color #678CB1 $$ a type name52 . pp-lit53 color #FACD22 $$ a literal value54 . pp-mix55 color #ff0040 $$ mixin call56 cursor pointer57 . pp-tag58 color #77f328 $$ a markup tag name59 . pp-atn60 color #E0E2E4 $$ a markup attribute name61 . pp-atv62 color #EC7600 $$ a markup attribute value63 . pp-expr64 color #f3e877 $$ a declaration; a variable name65 . pp-fun66 color red $$ a function name67 . pp-arg68 color yellow $$ a mixin arg69 < pre.prettyprint70 $$ padding 0.8rem71 $$ border-left 5px solid #99972 $$ font-size 1rem73 overflow auto74 $$ background #2B3A4275 $$ background #3e586d76 $$ margin-bottom 1rem77 $$ text-shadow 0 1px #88878 font-family Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace79 text-align left80 white-space pre81 word-spacing normal82 word-break normal83 word-wrap normal84 line-height 1.385 tab-size 486 hyphens none87 background-color #2b2b2b88 color #fff89 $$ max-width 100%90 $$ overflow-x auto91 vertical-align middle92 border-radius 5px93 box-shadow inset 0 1px 10px rgba(0,0,0,.3), 0 1px 0 rgba(255,255,255,.1), 0 -1px 0 rgba(0,0,0,.5)94 < ol95 padding-left 2rem96 . L097 + .L198 + .L299 + .L3100 + .L4101 + .L5102 + .L6103 + .L7104 + .L8105 + .L9106 color #777107 margin-left 0.3rem108 padding-left 0.3rem109 list-style-type decimal110 # Alternate shading for lines111 . L1112 + .L3113 + .L5114 + .L7115 + .L9116 $$ background #013a56117 $$ background #2A3941118 background-color #2f2f2f119 . prettyprint-js120 background #fff121 # Alternate shading for lines122 . J1123 + .J3124 + .J5125 + .J7126 + .J9127 background #ddd128 . linenums129 color #fff130 media screen and (max-width: 1028px)131 . pp-pln132 color #FFF133 < pre.prettyprint134 padding 1.2rem135 border-left 5px solid #999136 font-size 2rem137 line-height 3rem138 overflow auto139 $*140 media (min-width: 768px)141 < pre, code142 font-size 16px143 . highlight144 + p > pre145 + p > code146 + p > nobr > code147 + li > code148 + li> pre149 + h5 > code150 + .note > code151 background-color #2b2b2b152 color #fff153 max-width 100%154 overflow-x auto155 vertical-align middle156 border-radius 5px157 box-shadow inset 0 1px 10px rgba(0,0,0,.3), 0 1px 0 rgba(255,255,255,.1), 0 -1px 0 rgba(0,0,0,.5)158 . note .highlight159 width 94%160 < pre code161 font-size 0.9em162 background-color transparent163 box-shadow none164 . note code165 background-color #333166 background-color rgba(0,0,0,0.2)167 margin-left 2.5px168 margin-right 2.5px169 font-size 0.8em170 . code-block171 margin 10px 0172 < code173 background none174 . highlight175 margin 1em 0176 width 100%177 overflow auto178 < pre.highlight179 padding 10px 0.5em180 . highlighter-rouge .highlight181 @extend .highlight182 margin 0183 *$184 . highlight-code185 white-space nowrap186 padding 4px 8px 4px 0px187 background-color #2b2b2b188 color #fff189 max-width 100%190 overflow-x auto191 vertical-align middle192 -webkit-border-radius 5px193 -moz-border-radius 5px194 border-radius 5px195 box-shadow inset 0 1px 10px rgba(0,0,0,0.3),0 1px 0 rgba(255,255,255,0.1),0 -1px 0 rgba(0,0,0,0.5)
/ittf/site/docs/t/css/fonts.css.ittf
1 $group2 $params &opt3 $if opt.useMaterialIcons4 font-face5 font-family 'Material Icons'6 font-style normal7 font-weight ${opt.materialIcons.fontWeight}8 - For IE6-89 src url(${opt.materialIcons.baseUrl}/MaterialIcons-Regular.eot)10 src local('Material Icons'),11 \b local('MaterialIcons-Regular'),12 \b url(${opt.materialIcons.baseUrl}/MaterialIcons-Regular.woff2) format('woff2'),13 \b url(${opt.materialIcons.baseUrl}/MaterialIcons-Regular.woff) format('woff'),14 \b url(${opt.materialIcons.baseUrl}/MaterialIcons-Regular.ttf) format('truetype')15 . material-icons16 font-family 'Material Icons'17 font-weight normal18 font-style normal19 - Preferred icon size20 font-size ${opt.materialIcons.size}21 display inline-block22 line-height 123 text-transform none24 letter-spacing normal25 word-wrap normal26 white-space nowrap27 direction ltr28 - Support for all WebKit browsers.29 -webkit-font-smoothing antialiased30 - Support for Safari and Chrome.31 text-rendering optimizeLegibility32 - Support for Firefox.33 -moz-osx-font-smoothing grayscale34 - Support for IE.35 @ font-feature-settings 'liga'36 - Rules for sizing the icon.37 . material-icons.md-1838 font-size 18px39 . material-icons.md-2440 font-size 24px41 . material-icons.md-3642 font-size 36px43 . material-icons.md-4844 font-size 48px45 - Rules for using icons as black on a light background.46 . material-icons.md-dark47 color rgba(0, 0, 0, 0.54)48 . material-icons.md-dark.md-inactive49 color rgba(0, 0, 0, 0.26)50 - Rules for using icons as white on a dark background.51 . material-icons.md-light52 color rgba(255, 255, 255, 1)53 . material-icons.md-light.md-inactive54 color rgba(255, 255, 255, 0.3)55 $if opt.useFontAwesome56 font-face57 font-family 'FontAwesome'58 src url('${opt.fontAwesome.baseUrl}/FontAwesome.eot?9h6hxj')59 src url('${opt.fontAwesome.baseUrl}/FontAwesome.eot?9h6hxj#iefix') format('embedded-opentype'),60 \b url('${opt.fontAwesome.baseUrl}/FontAwesome.woff?9h6hxj') format('woff'),61 \b url('${opt.fontAwesome.baseUrl}/FontAwesome.ttf?9h6hxj') format('truetype'),62 \b url('${opt.fontAwesome.baseUrl}/FontAwesome.svg?9h6hxj#FontAwesome') format('svg')63 font-weight normal64 font-style normal65 . fa66 display inline-block67 font normal normal normal 14px/1 FontAwesome68 font-size inherit69 text-rendering auto70 -webkit-font-smoothing antialiased71 -moz-osx-font-smoothing grayscale72 . fa-link:before73 content "\f0c1"74 . fa-pencil:before75 content "\f040"
/ittf/site/docs/styles/t/tables.css.ittf
1 $group2 . table-docs3 < table4 font-size 0.8rem5 line-height 16px6 < td7 vertical-align top8 . table-glo9 < table10 font-size 0.8rem11 line-height 18px12 < td13 vertical-align top14 . title15 font-weight 700