1- ! Mostrami
1+ ! IWSY
22
3- script Mostrami
3+ script IWSY
44
55 div Body
66 div Left
8585 if mobile set Mobile else clear Mobile
8686 end
8787
88- set the title to `Mostrami Pro `
88+ set the title to `IWSY `
8989 create Body
9090 if Mobile
9191 set the style of Body to `width:100%;height:100%`
9292 else
9393 set the style of Body to `width:100%;height:100%;display:flex`
9494
9595 create Left in Body
96- set the style of Left to `flex:1;height:100%;display:flex;flex-direction:column;overflow:hidden`
96+ set the style of Left to
97+ `flex:1;height:100%;display:flex;flex-direction:column;border-right:1px solid black;margin-right:0.5em`
9798
9899 create Right in Body
99- set the style of Right to `flex:1;height:100%;display:flex;flex-direction: column`
100+ set the style of Right to `flex:1;height:100%;display:flex;flex-direction:column;overflow:hidden `
100101
101102 create Controls in Left
102- set the style of Controls to `flex:1;background:lightgray; padding:0 0.5em`
103+ set the style of Controls to `flex:1;padding:0 0.5em`
103104
104105 create Buttons in Controls
105106 set the style of Buttons to `width:100%;padding:0.5em 0`
106107
107- create ContentDiv in Left
108+ create ScriptName in Controls
109+ set the style of ScriptName to `display:flex`
110+ if Mobile set style `display` of ScriptName to `none`
111+ create Span in ScriptName
112+ set the style of Span to `flex:15`
113+ set the content of Span to `Script name: `
114+ create NameEditor in ScriptName
115+ set the style of NameEditor to `flex:85;display:inline-block`
116+
117+ create ContentDiv in Right
108118 set the style of ContentDiv to `width:100%;height:100%;position:relative`
109119
110120 create Link in Buttons
140150 create Status in Buttons
141151 if Mobile set the style of Status to `height:1em`
142152 else set the style of Status to `float:right;margin:0.5em 0 0 0;color:green`
143-
144- create ScriptName in Controls
145- set the style of ScriptName to `display:flex`
146- if Mobile set style `display` of ScriptName to `none`
147- create Span in ScriptName
148- set the style of Span to `flex:15`
149- set the content of Span to `Script name: `
150- create NameEditor in ScriptName
151- set the style of NameEditor to `flex:85;display:inline-block`
152153
153- create Tabs in Controls
154+ create Tabs in ContentDiv
154155 set the style of Tabs to `width:100%;padding:0.5em 0;text-align:center`
155156 put the width of Tabs into N
156157 divide N by 3
@@ -162,23 +163,23 @@ L2:
162163 set the style of SectionButton to `width:100%`
163164 set the content of SectionButton to `Steps`
164165 create StepsPanel in ContentDiv
165- set the style of StepsPanel to `position:absolute;left:0;top:0 ;width:100%;height:100%; `
166+ set the style of StepsPanel to `position:absolute;left:0;top:2.5em ;width:100%;height:calc( 100% - 2.5em) `
166167 create Tab in Tabs
167168 set the style of Tab to `display:inline-block;width:` cat N cat `px`
168169 index SectionButton to 1
169170 create SectionButton in Tab
170171 set the style of SectionButton to `width:100%`
171172 set the content of SectionButton to `Blocks`
172173 create BlocksPanel in ContentDiv
173- set the style of BlocksPanel to `position:absolute;left:0;top:0 ;width:100%;height:100%; `
174+ set the style of BlocksPanel to `position:absolute;left:0;top:2.5em ;width:100%;height:calc( 100% - 2.5em) `
174175 create Tab in Tabs
175176 set the style of Tab to `display:inline-block;width:` cat N cat `px`
176177 index SectionButton to 2
177178 create SectionButton in Tab
178179 set the style of SectionButton to `width:100%`
179180 set the content of SectionButton to `Content`
180181 create ContentPanel in ContentDiv
181- set the style of ContentPanel to `position:absolute;left:0;top:0 ;width:100%;height:100%; `
182+ set the style of ContentPanel to `position:absolute;left:0;top:2.5em ;width:100%;height:calc( 100% - 2.5em) `
182183 create Tab in Tabs
183184 set the style of Tab to `display:inline-block;width:` cat N cat `px`
184185
0 commit comments