1
- ! Mostrami
1
+ ! IWSY
2
2
3
- script Mostrami
3
+ script IWSY
4
4
5
5
div Body
6
6
div Left
85
85
if mobile set Mobile else clear Mobile
86
86
end
87
87
88
- set the title to `Mostrami Pro `
88
+ set the title to `IWSY `
89
89
create Body
90
90
if Mobile
91
91
set the style of Body to `width:100%;height:100%`
92
92
else
93
93
set the style of Body to `width:100%;height:100%;display:flex`
94
94
95
95
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`
97
98
98
99
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 `
100
101
101
102
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`
103
104
104
105
create Buttons in Controls
105
106
set the style of Buttons to `width:100%;padding:0.5em 0`
106
107
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
108
118
set the style of ContentDiv to `width:100%;height:100%;position:relative`
109
119
110
120
create Link in Buttons
140
150
create Status in Buttons
141
151
if Mobile set the style of Status to `height:1em`
142
152
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`
152
153
153
- create Tabs in Controls
154
+ create Tabs in ContentDiv
154
155
set the style of Tabs to `width:100%;padding:0.5em 0;text-align:center`
155
156
put the width of Tabs into N
156
157
divide N by 3
@@ -162,23 +163,23 @@ L2:
162
163
set the style of SectionButton to `width:100%`
163
164
set the content of SectionButton to `Steps`
164
165
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) `
166
167
create Tab in Tabs
167
168
set the style of Tab to `display:inline-block;width:` cat N cat `px`
168
169
index SectionButton to 1
169
170
create SectionButton in Tab
170
171
set the style of SectionButton to `width:100%`
171
172
set the content of SectionButton to `Blocks`
172
173
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) `
174
175
create Tab in Tabs
175
176
set the style of Tab to `display:inline-block;width:` cat N cat `px`
176
177
index SectionButton to 2
177
178
create SectionButton in Tab
178
179
set the style of SectionButton to `width:100%`
179
180
set the content of SectionButton to `Content`
180
181
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) `
182
183
create Tab in Tabs
183
184
set the style of Tab to `display:inline-block;width:` cat N cat `px`
184
185
0 commit comments