/ittf/meta/html/styles.css.ittf (primary)
1 css2 $include options-init3 $4 opt.prettyprint = true;5 opt.l_mc_top = 8;6 opt.c_bg_tn_bar = '#fafafa';7 opt.c_bg_tn_main = '#ededed';8 $include options-analize9 css/layouts/meta_main( &opt)10 < body11 background-color ${opt.c_bg_0}12 color ${opt.c_0}13 font-size 15px14 font-family roboto, verdana, tahoma, arial, sans-serif15 line-height 1.8em16 < h117 font-size 2rem18 padding 1rem 0 0.5rem 019 < h220 font-size 1.5rem21 padding 0.6rem 0 0.3rem 022 . clear23 clear both24 $include s/tn25 $include s/fsitems26 $include s/mc27 $include s/modal28 $include s/editor29 $include css/sidebar-left30 $include css/breadcrumbs
/ittf/meta/t/options-init.ittf
1 $group2 $3 var opt = {4 resetMarginsPaddingsBorders: true,5 resetDisplayBlock: false,6 resetOlUl: true,7 resetBlockquote: false,8 resetTable: false,9 resetLinks: true,10 prettyprint: false,11 debug_css: false,12 c_0: '#000',13 c_bg_0: '#fff',14 fa_1: false,15 sidebar_1: false,16 sb_1_min_w: 0,17 logo_w: 70,18 logo_h: 35,19 };
/ittf/meta/t/options-analize.ittf
1 $group2 $3 if (opt.sidebar_1) {4 opt.fa_1 = true;5 }
/ittf/meta/html/t/s/tn.css.ittf
1 $group2 # tn-input-toggle3 display none4 . tn-bar5 position fixed6 min-width 100%7 background-color ${opt.c_bg_tn_bar}8 . tn-main9 - flex for logo and menu UL10 display flex11 align-items center12 - space-between evenly distributes the child elements within the parent flex container13 justify-content space-between14 padding 1rem 1rem15 . logo16 background-color ${opt.c_bg_tn_bar}17 < img18 width 7rem19 height 3rem20 & :hover21 background-color ${opt.c_tn_bg_logo_hover}22 < ul23 display flex24 justify-content space-between25 list-style-type none26 - width is required for justify-content to take effect27 width 90%28 < li29 display inline-block30 padding 1rem31 font-size 1.6rem32 < a33 text-decoration none34 & :hover35 color ${opt.c_tn_2}36 . tn-breadcrumbs37 margin 5px38 background-color ${opt.c_bg_tn_main}
/ittf/meta/html/t/s/fsitems.css.ittf
1 $group2 . breadcrumbs-panel3 display flex4 flex-direction row5 padding 0 0.5rem 0.5rem 0.5rem6 . breadcrumb-item7 padding 0.5rem 1rem8 font-size 1.5rem9 . fsitem10 < img11 position relative12 top 3px13 < a14 padding-left 0.5rem
/ittf/meta/html/t/s/mc.css.ittf
1 $group2 # mc-wrapper3 position fixed4 width 100%5 height 100%6 $if opt.debug_css7 border 1px solid blue8 . mc-wrapper-layout9 top ${opt.l_mc_top}rem10 height calc(100% - ${opt.l_mc_top + 10}rem)11 . mc-frame12 display flex13 flex-direction row14 height 100%15 $if opt.debug_css16 border 1px solid red17 . mc-content18 $$padding 50px 30px19 $$ Do the same as mc-sidebar-left20 padding 20px 20px21 $$ height 100%22 $$ still i can't find why i need to subtract these 40 pixels23 $$ It seems to be the padding. Why? Isn t it internal to height24 height calc(100% - 10rem)25 overflow auto26 . mc-pane27 width 100%28 < h229 font-size 2rem30 font-weight 70031 margin 2rem 0 0 032 < h333 font-size 1.4rem34 font-weight 70035 margin 1.5rem 0 0 036 < h437 font-weight 70038 margin 0.5rem 0 -3px 039 < p40 line-height 1.3rem41 margin-bottom 0.5rem42 < ul43 list-style-type disc44 padding-left 2rem45 . code-edit-button46 cursor pointer47 & :hover48 text-decoration underline49 media screen and (max-width: 1028px)50 # mc-wrapper51 . mc-frame52 display block53 . mc-sidebar-left54 $$ TODO explain exactly why 160px (that is mc-frame-bar height)55 height calc(100% - 10rem)56 margin 10px57 < ul li58 font-size 3rem59 border-bottom 2px solid ${opt.c_0}60 padding 2rem 061 < ul li:last-child62 border-bottom 063 . mc-wrapper-layout64 top ${opt.l_mc_top_mobile}rem65 height calc(100% - ${opt.l_mc_top_mobile + 1}rem)66 . mc-frame-bar67 display flex68 flex-direction row69 justify-content space-between70 background-color ${opt.c_mc_bg_frame_bar}71 color ${opt.c_mc_frame_bar}72 margin 1rem73 padding 1.5rem 1rem74 . mc-sidebar-left-title75 display block76 padding-left 077 font-size 3rem78 . mc-label-toggle79 display block80 . mc-item-link81 display none82 . mc-pane83 display none84 font-size 1.1rem85 < h286 font-size 1.6rem87 font-weight 50088 margin 1.5rem 0 0 089 < h390 font-size 1.3rem91 font-weight 50092 margin 1.2rem 0 0 093 < h494 font-weight 50095 margin 1rem 0 -3px 096 < p97 line-height 2rem98 margin-bottom 1rem99 . mc-content100 $$ TODO explain exactly why 60px (that is mc-frame-bar height)101 height calc(100% - 60px)102 margin 10px103 padding 20px 40px104 . mc-content-title105 display none106 # mc-toggle-toc:checked ~ .mc-frame .mc-sidebar-left107 display none108 # mc-toggle-toc:checked ~ .mc-frame .mc-label-toggle-close109 font-size 70px110 cursor pointer111 display block112 $$ float right113 height 35px114 $$ margin-top -0.7rem115 width 35px
/ittf/meta/html/t/s/modal.css.ittf
1 $group2 . modal3 display none4 position fixed5 z-index 16 left 07 top 08 width 100%9 height 100%10 overflow auto11 background-color rgb(0,0,0)12 background-color rgba(0,0,0,0.4)13 . modal-content14 background-color #fefefe15 margin 5% auto16 padding 20px17 border 1px solid #88818 width 80%19 . modal-close20 color #aaa21 float right22 font-size 28px23 font-weight bold24 . modal-close:hover25 + .modal-close:focus26 color black27 text-decoration none28 cursor pointer
/ittf/meta/html/t/s/editor.css.ittf
1 $group2 . editor-form3 display flex4 flex-direction column5 . editor-content6 display flex7 flex-direction row8 . editor-buttons9 display flex10 flex-direction column11 padding 2rem 5rem12 . editor-title13 font-size 1.2rem14 font-weight 90015 padding-bottom 0.2rem16 . editor-panel17 . editor-button18 background-color #66619 color #fff20 text-align center21 padding 1rem22 margin-bottom 0.5rem23 border-radius 0.5rem24 cursor pointer25 & :hover26 background-color #99927 color #ff0
/ittf/meta/t/css/sidebar-left.css.ittf
1 $group2 . mc-sidebar-left3 padding 20px 30px4 $$ still i can't find why i need to subtract these5 height calc(100% - 10rem)6 min-width 20rem7 overflow auto8 < ul9 display flex10 justify-content space-between11 flex-direction column12 list-style-type none13 transition all 1s ease14 < li15 border-bottom 1px solid ${opt.c_0}16 color ${opt.c_0}17 display block18 font-size 0.8rem19 $$ padding 0.1rem 0 0.1rem 1rem20 padding 021 < a22 color ${opt.c_0}23 < li:last-child24 border-bottom 025 . mc-sidebar-left-title26 display none
/ittf/meta/t/css/breadcrumbs.css.ittf
1 $group2 . breadcrumb3 # centering4 display inline-block5 box-shadow 0 0 15px 1px rgba(0, 0, 0, 0.35)6 overflow hidden7 border-radius 5px8 # Lets add the numbers for each link using CSS counters. flag is the name of the counter. to be defined using counter-reset in the parent element of the links9 counter-reset flag10 . breadcrumb a11 text-decoration none12 outline none13 display block14 float left15 font-size 12px16 line-height 36px17 color white18 # need more margin on the left of links to accomodate the numbers19 padding 0 10px 0 60px20 background #66621 background linear-gradient(#666, #333)22 position relative23 # since the first link does not have a triangle before it we can reduce the left padding to make it look consistent with other links24 . breadcrumb a:first-child25 padding-left 46px26 border-radius 5px 0 0 5px27 # to match with the parent's radius28 . breadcrumb a:first-child:before29 left 14px30 . breadcrumb a:last-child31 border-radius 0 5px 5px 032 # this was to prevent glitches on hover33 padding-right 20px34 # hover/active styles35 . breadcrumb a.active36 + .breadcrumb a:hover37 background #33338 background linear-gradient(#333, #000)39 . breadcrumb a.active:after40 + .breadcrumb a:hover:after41 background #33342 background linear-gradient(135deg, #333, #000)43 # adding the arrows for the breadcrumbs using rotated pseudo elements44 . breadcrumb a:after45 content ''46 position absolute47 top 048 right -18px49 # half of square's length50 # same dimension as the line-height of .breadcrumb a51 width 36px52 height 36px53 #54 # as you see the rotated square takes a larger height. which makes it tough to position it properly. So we are going to scale it down so that the diagonals become equal to the line-height of the link. We scale it to 70.7% because if square's:55 # length = 1; diagonal = (1^2 + 1^2)^0.5 = 1.414 (pythagoras theorem)56 # if diagonal required = 1; length = 1/1.414 = 0.70757 transform scale(0.707) rotate(45deg)58 # we need to prevent the arrows from getting buried under the next link59 z-index 160 # background same as links but the gradient will be rotated to compensate with the transform applied61 background #66662 background linear-gradient(135deg, #666, #333)63 # stylish arrow design using box shadow64 box-shadow 2px -2px 0 2px rgba(0, 0, 0, 0.4), 3px -3px 0 2px rgba(255, 255, 255, 0.1)65 #66 #67 # 5px - for rounded arrows and68 # 50px - to prevent hover glitches on the border created using shadows69 border-radius 0 5px 0 50px70 # we dont need an arrow after the last link71 . breadcrumb a:last-child:after72 content none73 # we will use the :before element to show numbers74 . breadcrumb a:before75 content counter(flag)76 counter-increment flag77 # some styles now78 border-radius 100%79 width 20px80 height 20px81 line-height 20px82 margin 8px 083 position absolute84 top 085 left 30px86 background #44487 background linear-gradient(#444, #222)88 font-weight bold89 . flat a90 + .flat a:after91 background white92 color black93 transition all 0.5s94 . flat a:before95 background white96 box-shadow 0 0 0 1px #ccc97 . flat a:hover98 + .flat a.active99 + .flat a:hover:after100 + .flat a.active:after101 background #9EEB62