/ittf/site/docs/concepts/ittfdocuments.html.ittf (primary)
1 html2 $global3 var dollar = '$';4 $5 var art = {6 section: 'Concepts',7 title: 'Ittf Documents'8 };9 _layouts/concepts( &art)10 $include ./ittfdocuments/introduction11 $include ./ittfdocuments/ittf-notation12 $include ./ittfdocuments/xml-comparision13 $*14 $include ./ittfdocuments/ittf-composition15 $include ./ittfdocuments/ittf-commandnodes16 $include ./ittfdocuments/ittf-templates17 $include ./ittfdocuments/ittf-codeunits18 *$
/ittf/site/docs/t/_layouts/concepts.html.ittf
1 $group2 $params &art3 $include models/docs/site.wzctx4 $5 var opt = {6 section: 'Docs',7 title: art.section,8 useHighlight: true,9 stickyNav: 'stickyNavbar',10 stickyNavOffset: 50,11 stickyNavLogo: 'logo',12 }13 // var sectionKey = art.section == "How to" ? "HowTos" : art.section;14 var sectionItems = wzCtx[art.section].items15 style16 css17 . current18 color yellow19 html/layouts/docs( &opt )20 $append head-styles-221 css /ittf/site/docs/styles/docs.css.ittf22 . flex-row23 $$ id main-container24 style height:100%; width:80%; margin: 0 auto; padding-top: 40px;25 . flex-column scrollbar-thin26 $$ id middle-container27 style width:70%; height:100%; overflow: auto;28 $hook29 . flex-column30 style width:30%; padding: 40px;31 $foreach item in sectionItems32 div33 $if item.title === art.title34 class current35 . current36 + ${item.title}37 $else38 a ${item.title}39 href ${item.url}
/ittf/site/docs/concepts/t/ittfdocuments/introduction.html.ittf
1 $group2 $3 var sect = {4 title: 'Ittf documents'5 };6 section( §)7 p Ittf, Indented Text Tree Format, is a document type for8 \b declaring a textual representation of9 \b a tree structure of name-valued nodes.10 p Ittf documents are building blocks, made to be loaded and composed into a11 \b javascript tree structure, named mTree.12 p A single ITTF Document, when loaded, becomes an mTreeBrick, a composition element13 \b that can include or mix other mTreeBricks and can in turn be included or mixed.14 p Ittf documents also can be templates or pieces of templates. They can contain15 \b conditional or repeat template commands and can use context objects,16 \b passed to the mTree load function, for creating new nodes of the composed mTree.17 p Further ITTF Documents may be seen as code units. They can codify statements and expressions using18 \b a sandboxed subset of the ECMA-262 javascript standard named 'jsWizzi'. Statements can create,19 \b and modify, variables (in the evaluation context of an mTreeBrick or in the global20 \b evaluation context) that template commands can use to select or create nodes.
/ittf/site/docs/concepts/t/ittfdocuments/ittf-notation.html.ittf
1 $group2 $3 var sect = {4 title: 'Ittf notation'5 };6 section( §)7 p Documents are made of text lines separated by a:8 ul9 li x'000a' char or10 li x'000d' char or11 li x'000a' \b x'000d' couple of chars12 p A line is made of a node-name and a node-value separated by a13 \b white-char (space or tab).14 ittf-panel15 schema ittf16 ittf17 name value18 name value19 p Node-values always are trimmed, you cannot have a node-value20 \b that starts or ends with a white-char sequence.21 p When loaded, both these nodes will containg the 'value' string in the node-value.22 ittf-panel23 schema ittf24 ittf25 name1 value26 name2 value27 p The node hierarchy is built calculating the indentation of node-names28 \b in a text line. Every tab or every 4 space chars preeceding a node-name29 \b count for one level of indentation.30 p The node-name of the first line (the root node-name) must have indentation zero.31 \b The root node-name must start at column 1 (1-based) of the first row.32 p An ITTF Document cannot have more than one root node. If the semantic of a33 \b document require more than one root node, a convenience '$group'34 \b command can be used. It must be the root node of a composed document (included35 \b or mixed) and is ignored during the mTree build up, so that all its childs become36 \b root nodes of the included document.37 p Example. Ittf document with two root nodes.38 ittf-panel39 schema ittf40 title Sample ITTF document with two root nodes.41 ittf42 ${'$'}group43 root1 value144 root2 value245 p A line becomes a node which parent is the first preceeding line with a lesser46 \b indentation.47 p Phisical text lines may have line continuatios and a 'logical' line48 \b may contain many phisical lines. There are three pre-defined49 \b node-names that allow line continuation:50 ul51 li '\' means that the node-value is joined to the node-value52 \b of the parent node without separation.53 li '\b' means that the node-value is joined to the node-value54 \b of the parent node with one space char separator.55 li '\n' means that the node-value is joined to the node-value56 \b of the parent node with one Line Feed char separator.57 ittf-panel58 schema ittf59 title Line continuation sample. Both 'name1' and 'name2' have the same value.60 ittf61 - root62 - name1 I am63 - ${} a single64 - ${} line65 - name2 I am a single line66 p Node names and values are text strings by design, and never require quotes67 \b (they are unquoted by the lexer). The wizzi factory is a text manipulator.68 \b If the semantic of a node-value require that it is treated as a different type69 \b (boolean, integer, float or date), that can be done using wizzi schemas,70 \b that apply types to the tree structure resulting from loading an ittf71 \b document (see mTrees).72 p One exception to this rule is when an argument is passed to a mixed ITTF Document,73 \b and will become part of its evaluation context. Types different from string74 \b can be usefull in JsWizzi expessions. The '$params' command, that75 \b declares the parameters received by a mixed ITTF Document, may assign a type to76 \b passed arguments.77 p In any case the lexer do not detect types. When needed they must be declared.
/ittf/site/docs/concepts/t/ittfdocuments/xml-comparision.html.ittf
1 $group2 $3 var sect = {4 title: 'Xml document comparision'5 };6 section( §)7 h4 Content model8 p XML differentiates two types: elements containing only9 \b element content (no character data) and mixed content10 \b (elements that may contain character data, optionally11 \b interspersed with child elements).12 p Ittf documents have no mixed content. They have ittf nodes only.13 \b They do not have the concept of element or attribute or14 \b text.15 p Only the application of a wizzi schema to an mTree, when loading a Wizzi Model,16 \b can trasform an ittf node in an element or attribute or text, depending17 \b on the schema declarations.18 h4 Document types and document type definitions19 p A wizzi schema is actually a documemnt type definition, but it applies to loaded mTrees20 \b not to ITTF Documents. Ittf documents creators must design their21 \b documents to obtain a valid mTree after composition and evaluation,22 \b just before loading it in a Wizzi Model.23 p An ITTF Document, when created for composing an mTree for a specific wizzi schema,24 \b can be considered to have the type of that wizzi schema. The type of an25 \b ITTF Document must be recognizable from its name, that must end with26 \b '.`schema`.ittf'. Example of ITTF Document of type 'js': 'index.js.ittf'.27 h4 Markup declaration and markup model28 p In XML a markup declaration is a syntactical construct within a DTD declaring29 \b an entity or defining a markup structure.30 p Wizzi Schemas do not need to declare entities, because ITTF Document can contain31 \b expressions and template commands. But, like DTDs, they declare an elements and32 \b attributes structure, and like DTDs they define a model (Wizzi Model) of33 \b an mTree content.34 p In the wizzi factory, Wizzi Models are implemented as35 \b javascript module, generated from a36 \b wizzi schema declaration. They can load37 \b valid mTrees, and may be used as a context object by the mTree loader,38 \b model transformers and artifact generators.39 h4 Elements and element types40 p Wizzi Schema elements and XML DTD element types have the same goal.41 \b Wizzi Model elements are such only after the mTree loading of an ITTF Document.42 \b In ITTF Documents we have potential model elements, attributes and texts.43 h4 Valid characters44 p Ittf documents accept any character. The wizzi factory ignores the content45 \b of documents and has no concept of data type.46 \b Wizzi Schemas only can constrain node names and values.47 p When generating the javascript of a Wizzi Model48 \b the names of classes and attributes are checked and invalid chars for49 \b javascript names are replaced with the '_' char. Class names colliding50 \b with javascript keywords are prefixed with the letter 'x'.
/ittf/site/docs/concepts/t/section.html.ittf
1 $group2 $params §3 article4 . doc-title5 id ${sect.id}6 + ${sect.title}7 . doc-summary8 $hook
/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 }
/t/html/layouts/docs.html.ittf
1 $group2 $params &opt3 $4 var ca = 'p-l-xxl p-r-xxl p-t-s p-b-s color-header font-l font-w-xxl';5 var ca_inverse = 'p-l-xxl p-r-xxl p-t-s p-b-s color-header-inverse /*bg-color-header-inverse*/ font-l font-w-xxl';6 var ca2 = 'color-header font-x font-w-s';7 head8 $if opt.title9 @title ${opt.title}10 meta11 charset utf-812 meta13 name viewport14 content width=device-width, initial-scale=115 link16 rel preconnect17 href https://fonts.googleapis.com18 link19 rel preconnect20 href https://fonts.gstatic.com21 crossorigin22 link23 @ rel "stylesheet"24 @ href "https://cdn.jsdelivr.net/npm/normalize.css@8.0.1/normalize.min.css"25 script26 module27 set window.__filename = 'browser'28 css /ittf/css/main.css.ittf29 $include ./styles30 $hook head-styles-031 ./site-styles( &opt )32 $hook head-styles33 $hook head-styles-234 $hook head-scripts35 body36 . full-page37 . main-header38 . flex-row space-between align-items-center width-10039 id __main_navbar40 . flex-row41 html/a( /, ${ca2})42 div43 style width: 80px; margin-top: 5px; margin-left: 20px;44 html/images/logo( ${colors.mainHeader}, ${colors.mainHeaderBg})45 . flex-row46 $foreach item in wzCtx.Section.items47 $if item.title === opt.title48 . ${ca_inverse}49 + ${item.title}50 title "Current"51 $else52 html/a( ${item.title}, ${item.url}, ${ca})53 . flex-row m-r-x54 $if false55 $if locals.user56 html/a( Profile, /account/profile, ${ca})57 html/a( Log Out, /auth/logout, ${ca})58 $else59 html/a( Log In, /auth/login, ${ca})60 $else61 . ${ca}62 + Log in63 title "Not implemented yet"64 . main-content65 . main-content-left-bar66 $hook main-content-left-bar67 . main-content-work-area68 $hook main-content-work-area69 $hook70 . main-footer71 $hook main-footer72 $hook body-scripts-073 ./site-scripts( &opt )74 $hook body-scripts75 $hook body-scripts-276 $if opt.useHighlight77 script78 _ document.addEventListener79 @ 'DOMContentLoaded'80 =>81 param event82 _ document.querySelectorAll83 @ 'pre .hljs'84 ._ forEach85 =>86 param block87 _ hljs.highlightBlock(block)
/t/html/layouts/t/styles.html.ittf
1 $group2 style3 css4 $5 var colors = wzCtx.Styles.shellColors;6 . main-header7 background-color ${colors.mainHeaderBg}8 color ${colors.mainHeader}9 height 5vh10 overflow auto11 display flex12 flex-direction row13 justify-content space-between14 . main-content15 display flex16 flex-direction row17 height 92vh18 overflow auto19 background-color ${colors.mainContentBg}20 color ${colors.mainContent}21 . main-content-left-bar22 height 100%23 width 3%24 background-color ${colors.mainContentLeftBarBg}25 . main-content-work-area26 height 100%27 width 97%28 . main-footer29 background-color ${colors.mainFooterBg}30 color ${colors.mainFooter}31 height 3vh32 overflow auto
/t/html/layouts/site-styles.html.ittf
1 $group2 $params &opt3 $if opt.useBootstrap4 css /public/lib/bootstrap/dist/css/bootstrap.min.css5 $if opt.useCodemirror6 html/s( /public/lib/codemirror/lib/codemirror.css)7 html/s( /public/lib/codemirror/theme/monokai.css)8 html/s( /public/lib/codemirror/theme/twilight.css)9 $if typeof(wzCtx.aspect) !== 'undefined'10 $if wzCtx.aspect.AnimateCss11 $if wzCtx.aspect.production12 html/s( /public/lib/animatecss/animate.min.css)13 $else14 html/s( /public/lib/animatecss/animate.css)15 $if opt.useFontAwesome16 $17 var fontAwesomeKey = 'eab461efef';18 script19 src https://kit.fontawesome.com/${fontAwesomeKey}.js20 crossorigin anonymous21 $if opt.useFontRoboto22 html/s( https://fonts.googleapis.com/css?family=Roboto:300, 400, 500)23 $if opt.useFontMaterialIcons24 html/s( https://fonts.googleapis.com/icon?family=Material+Icons)25 $if opt.useGoogleFonts26 $foreach item in opt.googleFonts27 css https://fonts.googleapis.com/css?family=${item}28 $if opt.useHighlight29 $if opt.isWizziStudio30 html/s( /public/lib/highlight/styles/github.css)31 html/s( /public/lib/highlightjs-master/dracula.css)32 $else33 html/s( https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/styles/default.min.css)34 $if opt.useJarallax35 html/s( /public/lib/jarallax/jarallax.css)36 $if opt.useJsonFormatter37 $if opt.isWizziStudio38 html/s( https://cdnjs.cloudflare.com/ajax/libs/json-formatter/0.7.0/json-formatter.min.css)39 $else40 html/s( https://cdnjs.cloudflare.com/ajax/libs/json-formatter/0.7.0/json-formatter.min.css)41 $if opt.useMaterialUI42 html/s( https://fonts.googleapis.com/icon?family=Material+Icons)43 $if opt.usePopper44 html/s( /public/lib/popper/main.css)45 $if opt.usePrism46 $if opt.isWizziStudio47 css /public/lib/prism/prism.css48 $else49 css https://cdnjs.cloudflare.com/ajax/libs/prism/1.6.0/themes/prism.min.css50 $if opt.useSocial51 html/s( /public/lib/social/social-icons.css)52 $if opt.useSweetalert53 html/s( https://cdn.jsdelivr.net/npm/sweetalert2@7.31.1/dist/sweetalert2.min.css)54 $if opt.mainCss && opt.mainCss.length > 055 html/s( ${opt.mainCss})
/t/html/a.html.ittf
1 $group2 $params text, href|#, ca|@@null3 a ${text}4 href ${href}5 $if ca6 class ${ca}7 $hook
/t/html/images/logo.html.ittf
1 svg2 $params color|#000, bgcolor|#fff, viewBox|0 0 660 2803 $4 var opt = {};5 opt.y0 = 10;6 opt.y1 = 10;7 opt.y1a = 90;8 opt.y2 = 210;9 opt.ybottom = 250;10 opt.color = color;11 preserve-aspect-ratio xMidYMid meet12 viewBox ${viewBox}13 rect14 x 015 y 016 width 66017 height 28018 fill ${bgcolor}19 stroke none20 polyline21 stroke ${color}22 fill ${color}23 stroke-width 224 points 10 ${opt.ybottom} 45 ${opt.y0} 60 ${opt.y0} 75 ${opt.y1a + 40} 120 ${opt.y2} 120 ${opt.y1a + 40} 175 ${opt.y2} 175 ${opt.y1a + 20} 230 ${opt.y2} 230 ${opt.ybottom}25 wizzi-logo-i( 250, &opt )26 wizzi-logo-z( 320, &opt )27 wizzi-logo-z( 450, &opt )28 wizzi-logo-i( 590, &opt )
/t/html/layouts/site-scripts.html.ittf
1 $group2 $params &opt3 $4 var useReact = opt.useReact || opt.useMaterialUI;5 var useBabel = useReact || opt.useBabel;6 $if opt.useAce7 $if opt.isWizziStudio8 $if opt.production9 html/j( /public/lib/ace/src-min-noconflict/ace.js)10 $else11 html/j( /public/lib/ace/src-noconflict/ace.js)12 $else13 html/j( https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js)14 $if opt.useBootstrap15 html/j( /public/lib/bootstrap/dist/js/bootstrap.min.js)16 $if opt.useEventEmitter17 $$ html/j( https://unpkg.com/eventemitter3@latest/umd/eventemitter3.min.js18 html/j( https://cdn.jsdelivr.net/npm/eventemitter3@5.0.1/index.min.js)19 $if opt.useCodemirror20 html/j( /public/lib/codemirror/lib/codemirror.js)21 html/j( /public/lib/codemirror/mode/javascript/javascript.js)22 html/j( /public/lib/codemirror/mode/xml/xml.js)23 html/j( /public/lib/codemirror/theme/monokai.css)24 html/j( /public/lib/codemirror/theme/twilight.css)25 $if opt.useDeepDiff26 $if opt.isWizziStudio27 html/j( /public/lib/flitbit/deep-diff.min.js)28 $else29 html/j( https://cdnjs.cloudflare.com/ajax/libs/deep-diff/0.3.3/deep-diff.min.js)30 $if opt.useKeycode31 $if opt.isWizziStudio32 html/j( /public/lib/material-ui/keycode.min.2.2.0.js)33 $else34 html/j( https://cdn.jsdelivr.net/npm/keycode.js)35 $if opt.useHighlight36 $if opt.isWizziStudio37 html/j( https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/highlight.min.js)38 $else39 html/j( https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/highlight.min.js)40 $if opt.useInteractJs41 html/j( /public/lib/interactjs/interact.js)42 $if opt.useJarallax43 html/j( /public/lib/object-fit-images/ofi.min.js)44 $if opt.production45 html/j( /public/lib/jarallax/jarallax.min.js)46 html/j( /public/lib/jarallax/jarallax-video.min.js)47 html/j( /public/lib/jarallax/jarallax-element.min.js)48 $else49 html/j( /public/lib/jarallax/jarallax.js)50 html/j( /public/lib/jarallax/jarallax-video.js)51 html/j( /public/lib/jarallax/jarallax-element.js)52 $if opt.useJQuery || opt.useBootstrap53 $if opt.production54 html/j( /public/lib/jquery/jquery.min.js)55 $else56 html/j( /public/lib/jquery/jquery.js)57 $if opt.useJsonFormatter58 $if opt.isWizziStudio59 html/j( /public/lib/json-formatter/json-formatter.js)60 $else61 html/j( https://cdn.jsdelivr.net/npm/json-formatter-js@2.2.1/dist/json-formatter.min.js)62 $if opt.useJss63 js /public/lib/jss/jss.js64 js /public/lib/jss/jss-preset-default.js65 $if opt.useMarkdown66 html/j( https://cdn.jsdelivr.net/npm/marked/marked.min.js)67 $if opt.useMathJax68 html/j( https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML)69 $if opt.usePopper70 html/j( /public/lib/popper/popper.js)71 $if opt.usePrism72 $if opt.isWizziStudio73 js /public/lib/prism/prism.js74 $else75 js https://cdnjs.cloudflare.com/ajax/libs/prism/1.6.0/prism.min.js76 $if opt.usePubSub77 js /public/lib/pubsub/pubsub.js78 $if useReact79 $if opt.production80 html/j( https://unpkg.com/prop-types@15.8.1/prop-types.min.js)81 $else82 html/j( https://unpkg.com/prop-types@15.8.1/prop-types.js)83 $if opt.production84 html/j( https://cdn.jsdelivr.net/npm/react@18.2.0/umd/react.production.min.js)85 html/j( https://cdn.jsdelivr.net/npm/react-dom@18.2.0/umd/react-dom.production.min.js)86 $else87 html/j( https://cdn.jsdelivr.net/npm/react@18.2.0/umd/react.development.min.js)88 html/j( https://cdn.jsdelivr.net/npm/react-dom@18.2.0/umd/react-dom.development.min.js)89 $if opt.useClassNames90 html/j( /public/lib/react/classnames.js)91 $if opt.useMaterialUI92 $if opt.materialUI.latest93 $if opt.production94 html/j( https://unpkg.com/@mui/material@latest/umd/material-ui.production.min.js)95 $else96 html/j( https://unpkg.com/@mui/material@latest/umd/material-ui.development.js)97 $else98 $if opt.production99 $if opt.materialUI.v4100 html/j( https://unpkg.com/@material-ui/core@4.12.4/umd/material-ui.development.min.js)101 $else102 html/j( https://unpkg.com/@mui/material@5.8.7/umd/material-ui.production.min.js)103 $else104 $if opt.materialUI.v4105 html/j( https://unpkg.com/@material-ui/core@4.12.4/umd/material-ui.development.js)106 $else107 html/j( https://unpkg.com/@mui/material@5.8.7/umd/material-ui.development.js)108 $if opt.useRouter109 html/j( https://cdn.jsdelivr.net/npm/@remix-run/router@1.7.1/dist/router.umd.min.js)110 html/j( https://cdn.jsdelivr.net/npm/react-router@6.14.1/dist/umd/react-router.production.min.js)111 html/j( https://cdn.jsdelivr.net/npm/react-router-dom@6.14.1/dist/umd/react-router-dom.production.min.js)112 $if opt.useReactGrid113 html/j( /public/lib/react/react-grid-layout.min.js)114 $if opt.useDownshift115 $if opt.local || opt.isWizziStudio116 html/j( https://unpkg.com/downshift@6.1.7/dist/downshift.umd.js)117 $else118 html/j( https://cdn.jsdelivr.net/npm/downshift@2.0.10/dist/downshift.umd.min.js)119 $if opt.useGridLayout120 $if opt.useGridLayoutLatest121 html/j( https://unpkg.com/react-grid-layout@latest/dist/react-grid-layout.min.js)122 $else123 html/j( https://unpkg.com/react-grid-layout@1.3.4/dist/react-grid-layout.min.js)124 $if opt.react.useStyledComponents125 js //unpkg.com/styled-components@4.0.1/dist/styled-components.min.js126 $if opt.react.useTransitionGroup127 js https://cdnjs.cloudflare.com/ajax/libs/react-transition-group/4.4.1/react-transition-group.min.js128 $if opt.useRxJs129 html/j( /public/lib/rxjs/rxjs.umd.min.js)130 $if opt.useScrollReveal131 html/j( /public/lib/scrollreveal/scrollreveal.js)132 $if opt.useSplit133 js /public/lib/controls/split.js134 $if opt.useSweetalert135 html/j( https://cdn.jsdelivr.net/npm/sweetalert2@7.31.1/dist/sweetalert2.all.min.js)136 $if opt.useUnderscore137 $if opt.production138 html/j( /public/lib/underscore/underscore.min.js)139 $else140 html/j( /public/lib/underscore/underscore.js)141 $if opt.useVue142 html/j( https://unpkg.com/vue)143 $if opt.useWizzi144 $if opt.isWizziStudio145 html/j( /public/wizzi-play/scripts/wizzi.standalone.js)146 $else147 html/j( /scripts/wizzi.standalone.js)148 $if opt.useMathJax149 script150 #151 _ MathJax.Hub.Config152 {153 @ tex2jax154 {155 @ inlineMath [['$','$'], ['\\(','\\)']]156 @ processEscapes true157 $if useBabel158 html/j( https://cdn.jsdelivr.net/npm/@babel/standalone@7.22.9/babel.min.js)159 $if opt.useMonaco160 html/j( /public/lib/monaco-editor/min/vs/loader.js)161 $if opt.mainJs && opt.mainJs.length > 0162 $if useBabel163 script164 src ${opt.mainJs}165 type text/babel166 $else167 js ${opt.mainJs}
/t/html/images/t/wizzi-logo-i.html.ittf
1 $group2 $params l:integer, &opt3 polyline4 stroke ${opt.color}5 fill ${opt.color}6 stroke-width 27 points ${l} ${opt.ybottom} ${l+10} ${opt.y1+80} ${l+40} ${opt.y1+80} ${l+50} ${opt.ybottom}8 path9 stroke ${opt.color}10 fill ${opt.color}11 stroke-width 212 d M${l+30}, ${opt.y1+20} C${l+60},${opt.y1+40} ${l+0},${opt.y1+60} ${l+30}, ${opt.y1+74}
/t/html/images/t/wizzi-logo-z.html.ittf
1 $group2 $params l:integer, &opt3 polyline4 stroke ${opt.color}5 fill ${opt.color}6 stroke-width 27 points ${l} ${opt.ybottom} ${l} ${opt.ybottom - 20} ${l+100} ${opt.y1a+40} ${l+80} ${opt.y1a+20} ${l+80} ${opt.y1a} ${l+130} ${opt.y1a} ${l+100} ${opt.ybottom - 20} ${l+120} ${opt.ybottom - 20} ${l+120} ${opt.ybottom}
/t/html/s.html.ittf
1 $group2 $params url3 link4 href ${url}5 rel stylesheet
/t/html/j.html.ittf
1 $group2 $params url3 script4 src ${url}5 crossorigin anonymous
/ittf/site/docs/styles/docs.css.ittf
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
/ittf/css/main.css.ittf
1 css2 $3 var count = [0,1,2,3,4,5];4 var sizes = ['s','m','l','x','xl','xxl'];5 var scale = ['0.4','0.6','1','1.3','1.6','3'];6 var scaleRad = ['3','6','12','18','30','48'];7 var scaleWidth = [15,25,35,65,75,85];8 var scale50 = [50,100,150,200];9 < html10 font-family -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif11 font-size 16px12 < body13 margin 014 < a15 text-decoration none16 color #ffffff17 $include colors18 $include layout19 . fixed20 position fixed21 . relative22 position relative23 . absolute24 position absolute25 . flex-row26 display flex27 flex-direction row28 . flex-column29 display flex30 flex-direction column31 . justify-content-start32 justify-content start33 . justify-content-center34 justify-content center35 . justify-content-space-between36 justify-content space-between37 . space-between38 justify-content space-between39 . align-items-start40 align-items start41 . align-items-center42 align-items center43 . width-full44 width 100%!important45 . width-half46 width 50%!important47 . text-align-center48 text-align center49 . text-align-left50 text-align left51 . text-align-right52 text-align right53 . text-align-justify54 text-align justify55 . m-0-auto56 margin 0 auto57 $foreach c in scale5058 . m-${c}59 margin ${c}px60 . m-l-${c}61 margin-left ${c}px62 . m-r-${c}63 margin-right ${c}px64 . m-t-${c}65 margin-top ${c}px66 . m-b-${c}67 margin-bottom ${c}px68 $foreach c in count69 . font-${sizes[c]}70 font-size ${scale[c]}em71 . m-${sizes[c]}72 margin ${scale[c]}em73 . m-t-${sizes[c]}74 margin-top ${scale[c]}em75 . m-b-${sizes[c]}76 margin-bottom ${scale[c]}em77 . m-l-${sizes[c]}78 margin-left ${scale[c]}em79 . m-r-${sizes[c]}80 margin-right ${scale[c]}em81 . m-w-${sizes[c]}82 margin-left ${scale[c]}em83 margin-right ${scale[c]}em84 . m-y-${sizes[c]}85 margin-top ${scale[c]}em86 margin-bottom ${scale[c]}em87 . p-${sizes[c]}88 padding ${scale[c]}em89 . p-t-${sizes[c]}90 padding-top ${scale[c]}em91 . p-b-${sizes[c]}92 padding-bottom ${scale[c]}em93 . p-l-${sizes[c]}94 padding-left ${scale[c]}em95 . p-r-${sizes[c]}96 padding-right ${scale[c]}em97 . p-w-${sizes[c]}98 padding-left ${scale[c]}em99 padding-right ${scale[c]}em100 . p-y-${sizes[c]}101 padding-top ${scale[c]}em102 padding-bottom ${scale[c]}em103 . border-${sizes[c]}104 border ${c+1}px solid #323232105 . border-t-${sizes[c]}106 border-top ${c+1}px solid #323232107 . border-b-${sizes[c]}108 border-bottom ${c+1}px solid #323232109 . border-l-${sizes[c]}110 border-left ${c+1}px solid #323232111 . border-r-${sizes[c]}112 border-right ${c+1}px solid #323232113 . radius-${sizes[c]}114 border-radius ${scaleRad[c]}px115 . width-${sizes[c]}116 width ${scaleWidth[c]}%!important117 . font-w-s118 font-weight 300119 . font-w-x120 font-weight 500121 . font-w-xxl122 font-weight 700123 $include form124 $include icons
/ittf/css/t/colors.css.ittf
1 $group2 - header3 - main4 - main-content5 - footer6 < :root7 --color-tn-bg #3131318 --color-input-bg #dedede9 --color-input-border #76767610 --color-shadow-inset #a0a0a011 --color-text-primary #00000012 --color-success #2ea44f13 --color-error #ff000014 --color-warning #dbab0915 . color-header16 color #efefef17 . bg-color-header18 background-color #43434319 . color-header-inverse20 color #ff479021 . bg-color-header-inverse22 background-color #73737323 . color-main24 color #efefef25 . bg-color-main26 background-color #49494927 . color-main-content28 color #efefef29 . bg-color-main-content30 background-color #51515131 . color-black32 color #00000033 . bg-white34 background-color #00000035 . color-white36 color #ffffff37 . bg-black38 background-color #00000039 . color-success40 color var(--color-success)41 . bg-success42 background-color var(--color-success)43 . color-error44 color var(--color-error)45 . bg-error46 background-color var(--color-error)47 . color-warning48 color var(--color-warning)49 . bg-warning50 background-color var(--color-warning)51 . bg-filter52 background-color #eeeeff53 . bg-list54 background-color #eeffee
/ittf/css/t/layout.css.ittf
1 $group2 . container-703 width 70%4 margin 0 auto5 . container-806 width 80%7 margin 0 auto8 . container-909 width 90%10 margin 0 auto11 . flex-row12 display flex13 flex-direction row14 . flex-column15 display flex16 flex-direction column17 . justify-content-start18 justify-content start19 . justify-content-center20 justify-content center21 . justify-content-space-between22 justify-content space-between23 . space-between24 justify-content space-between25 . align-items-start26 align-items start27 . align-items-center28 align-items center29 . grid30 display grid31 . width-10032 width 100%33 . width-5034 width 50%35 . height-10036 height 100%37 . height-5038 height 50%
/ittf/css/t/form.css.ittf
1 $group2 . form-control3 background-color var(--color-input-bg)4 background-position right 8px center5 background-repeat no-repeat6 border 1px solid var(--color-input-border)7 border-radius 6px8 box-shadow var(--color-shadow-inset)9 color var(--color-text-primary)10 font-size 14px11 line-height 20px12 outline none13 padding 5px 12px14 vertical-align middle15 # ==========================================================================16 # Form17 # ==========================================================================18 . form-card19 padding 30px20 border 1px solid #ebebeb21 . form-title22 font-size 30px23 font-weight 70024 margin-bottom 20px25 # ==========================================================================26 # Control27 # ==========================================================================28 . control-group29 width 100%30 padding 10px31 margin-bottom 5px32 . single-control33 width 100%34 margin-bottom 5px35 . control-label36 font-weight bold37 margin-bottom 7px38 . control-error39 font-size 12px40 color red41 # ==========================================================================42 # Label43 # ==========================================================================44 < label.required45 position relative46 < label.required:after47 content '*'48 margin-left 2px49 color #b9000050 # ==========================================================================51 # GRID52 # ==========================================================================53 . grid-row-254 display grid55 grid-template-columns 1fr 1fr56 . grid-row-357 display grid58 grid-template-columns 1fr 1fr 1fr59 . input-group60 position relative61 width 100%62 margin-bottom 1px63 padding-bottom 4px64 # ==========================================================================65 # BUTTON66 # ==========================================================================67 . btn68 line-height 40px69 display inline-block70 padding 0 25px71 cursor pointer72 color #fff73 font-family "Roboto", "Arial", "Helvetica Neue", sans-serif74 transition all 0.4s ease75 font-size 14px76 font-weight 70077 . btn--radius78 border-radius 3px79 . btn--green80 background #57b84681 . btn--green:hover82 background #4dae3c83 # ==========================================================================84 # Input85 # ==========================================================================86 < input87 box-sizing border-box88 border 1px solid #ebebeb89 padding 14px 20px90 border-radius 5px91 font-size 14px92 font-family inherit93 < input:focus94 border 1px solid #009e0095 < input.error96 border 1px solid #c7000097 . input-icon98 position absolute99 font-size 18px100 color #ccc101 right 8px102 top 50%103 transform translateY(-50%)104 cursor pointer105 . input--style-2106 color #666107 font-size 16px108 font-weight 500109 . input--style-2::-webkit-input-placeholder110 color #808080111 opacity .4112 . input--style-2:-moz-placeholder113 color #808080114 opacity .4115 . input--style-2::-moz-placeholder116 color #808080117 opacity .4118 . input--style-2:-ms-input-placeholder119 color #808080120 opacity .4121 . input--style-2:-ms-input-placeholder122 color #808080123 opacity .4124 # ==========================================================================125 # Object condition126 # ==========================================================================127 . object-condition128 border 1px solid #cbcbcb129 padding 5px130 background-color #efefef131 . object-condition-checkbox132 background-color #fff
/ittf/css/t/icons.css.ittf
1 $group2 . octicon3 fill currentColor4 display inline-block5 overflow visible!important6 vertical-align text-bottom