|
1 | | -<div class="live-preview-settings modal" style="min-height: 400px;display: flex; flex-direction: column; justify-content: space-between"> |
| 1 | +<div class="""live-preview-settings modal live-preview-settings-container"> |
2 | 2 | <div> |
3 | 3 | <div class="modal-header"> |
4 | 4 | <h1 class="dialog-title">{{Strings.LIVE_DEV_SETTINGS_TITLE}}</h1> |
5 | 5 | </div> |
6 | 6 | <div class="modal-body"> |
7 | 7 | <div class="form-group form-check"> |
8 | | - <input type="checkbox" class="form-check-input" id="showLivePreviewAtStartupChk" style="margin-top: -2px;"> |
9 | | - <label class="form-check-label" for="showLivePreviewAtStartupChk" style="display: inline">{{Strings.LIVE_DEV_SETTINGS_STARTUP}}</label> |
| 8 | + <input type="""checkbox" class="""form-check-input input-margin-top" id="""showLivePreviewAtStartupChk" title="{{Strings.LIVE_DEV_SETTINGS_STARTUP}}" placeholder="{{Strings.LIVE_DEV_SETTINGS_STARTUP}}"> |
| 9 | + <label class="""form-check-label label-inline" for="""showLivePreviewAtStartupChk">{{Strings.LIVE_DEV_SETTINGS_STARTUP}}</label> |
10 | 10 | </div> |
11 | | - <div class="form-group" style="margin-top: 9px;"> |
12 | | - <input id="enableCustomServerChk" type="checkbox" class="form-check-input" style="margin-top: -1px;"> |
13 | | - <label id="enableCustomServerLabel" class="form-check-label" for="enableCustomServerChk" style="display: inline">{{Strings.LIVE_DEV_SETTINGS_USE_SERVER}}</label> |
14 | | - <input id="livePreviewServerURL" type="text" spellcheck="false" autocomplete="off" class="" |
15 | | - style="width: 93%; margin-left: 20px;margin-top: 5px;margin-bottom: 0;" value="{{settings.fontSize}}" placeholder="{{Strings.LIVE_DEV_SETTINGS_SERVER_INBUILT}}"> |
16 | | - <label id="serveRootLabel" class="forced-hidden" style="margin-left: 20px;margin-top: 9px;">{{Strings.LIVE_DEV_SETTINGS_SERVER_ROOT}}</label> |
17 | | - <input id="serveRoot" type="text" spellcheck="false" autocomplete="off" class="forced-hidden" style="width: 93%; margin-left: 20px;" |
| 11 | + <div class="""form-group form-group-margin-top"></div> |
| 12 | + <input id="""enableCustomServerChk" type="""checkbox" class="""form-check-input input-margin-top-small" title="{{Strings.LIVE_DEV_SETTINGS_USE_SERVER}}" placeholder="{{Strings.LIVE_DEV_SETTINGS_USE_SERVER}}"> |
| 13 | + <label id="""enableCustomServerLabel" class="""form-check-label label-inline" for="""enableCustomServerChk">{{Strings.LIVE_DEV_SETTINGS_USE_SERVER}}</label> |
| 14 | + <input id="""livePreviewServerURL" type="""text" spellcheck="""false" autocomplete="""off" class="input-server-url" |
| 15 | + value="{{settings.fontSize}}" placeholder="{{Strings.LIVE_DEV_SETTINGS_SERVER_INBUILT}}"> |
| 16 | + <label id="serveRootLabel" class="forced-hidden label-margin-left label-margin-top" >{{Strings.LIVE_DEV_SETTINGS_SERVER_ROOT}}</label> |
| 17 | + <input id="serveRoot" type="text" spellcheck="false" autocomplete="off" class="forced-hidden input-server-root" |
18 | 18 | value="{{settings.fontSize}}" placeholder="{{Strings.LIVE_DEV_SETTINGS_SERVER_ROOT_HELP}}"> |
19 | | - <label id="frameworkLabel" class="forced-hidden" style="margin-left: 20px;">{{Strings.LIVE_DEV_SETTINGS_FRAMEWORK}}</label> |
20 | | - <select id="frameworkSelect" class="forced-hidden" style="width: 20%; margin-left: 20px;"> |
21 | | - <option style="text-align:left;" value="Custom">{{Strings.LIVE_DEV_SETTINGS_FRAMEWORK_CUSTOM}}</option> |
22 | | - <option style="text-align:left;" value="Docusaurus">Docusaurus</option> |
| 19 | + <label id="frameworkLabel" class="forced-hidden label-margin-left">{{Strings.LIVE_DEV_SETTINGS_FRAMEWORK}}</label> |
| 20 | + <select id="frameworkSelect" class="forced-hidden" title="{{Strings.LIVE_DEV_SETTINGS_FRAMEWORK}}" > |
| 21 | + <option class="option-align-left" value="Custom">{{Strings.LIVE_DEV_SETTINGS_FRAMEWORK_CUSTOM}}</option> |
| 22 | + <option class="option-align-left" value="Docusaurus">Docusaurus</option> |
23 | 23 | </select> |
24 | 24 |
|
25 | | - <input id="hotReloadChk" type="checkbox" class="form-check-input forced-hidden" style="margin-top: -2px; margin-left: 20px;"> |
26 | | - <label id="hotReloadLabel" class="form-check-label forced-hidden" for="hotReloadChk" style="display: inline" title="{{Strings.LIVE_DEV_SETTINGS_RELOAD_HELP}}">{{Strings.LIVE_DEV_SETTINGS_RELOAD}}</label> |
| 25 | + <input id="hotReloadChk" type="checkbox" class="form-check-input forced-hidden input-margin-top input-margin-left"> |
| 26 | + <label id="hotReloadLabel" class="form-check-label forced-hidden label-inline" for="hotReloadChk" title="{{Strings.LIVE_DEV_SETTINGS_RELOAD_HELP}}">{{Strings.LIVE_DEV_SETTINGS_RELOAD}}</label> |
| 27 | + </div> |
| 28 | + |
| 29 | + <div class="form-group element-highlight-wrapper" id="elementHighlightWrapper"> |
| 30 | + <label for="elementHighlight" class="label-margin-top">{{Strings.LIVE_DEV_SETTINGS_ELEMENT_HIGHLIGHT}} </label> |
| 31 | + <select name="elementHighlight" id="elementHighlight"> |
| 32 | + <option value="hover">{{Strings.LIVE_DEV_SETTINGS_ELEMENT_HIGHLIGHT_HOVER}}</option> |
| 33 | + <option value="click">{{Strings.LIVE_DEV_SETTINGS_ELEMENT_HIGHLIGHT_CLICK}}</option> |
| 34 | + </select> |
27 | 35 | </div> |
28 | 36 | </div> |
29 | 37 | </div> |
30 | | - <div class="modal-footer" style=""> |
| 38 | + <div class="modal-footer"> |
31 | 39 | <button class="dialog-button btn" data-button-id="cancel">{{Strings.CANCEL}}</button> |
32 | 40 | <button class="dialog-button btn primary" id="theme-settings-done-btn" data-button-id="ok">{{Strings.DONE}}</button> |
33 | 41 | </div> |
|
0 commit comments