|
98 | 98 | #editor #memo{display:block; width:calc(100% - 24px); height:calc(100% - 45px); padding:4px 0; margin:0 auto; background-color:transparent; border:none;}
|
99 | 99 | textarea{font-weight:normal; font-size:17px; font-family: Arial, sans-serif; color:var(--text-color); overflow-y:auto; -webkit-overflow-scrolling:touch; resize:none; border-radius:0; -webkit-tap-highlight-color:rgba(0,0,0,0);}
|
100 | 100 | textarea:focus{outline:none;}
|
101 |
| -#sub-panel{display:flex; flex-direction:row; justify-content:space-between; align-items:center; height:45px; overflow:hidden; background-color:var(--sub-panel-background-color); text-align:center; cursor:default;} |
| 101 | +#sub-panel{display:flex; flex-direction:row; justify-content:space-between; align-items:center; height:45px; overflow:hidden; background-color2:var(--sub-panel-background-color); text-align:center; cursor:default;} |
102 | 102 |
|
103 | 103 | /* Settings */
|
104 | 104 | #settings{display:none; width:100%; height:100%;}
|
|
145 | 145 | .hide-btn img{opacity:0; cursor:default;}
|
146 | 146 | }
|
147 | 147 | </style>
|
148 |
| -<script type="text/javascript" src="cordova.js"></script> |
| 148 | +<!--<script type="text/javascript" src="cordova.js"></script>--> |
149 | 149 | <script type="text/javascript">
|
150 | 150 | let FirstRun = false;
|
151 | 151 | let DeviceID;
|
|
182 | 182 | let IDS_NEW_NOTE = 'New note';
|
183 | 183 | let IDS_NOTES = 'Notes';
|
184 | 184 |
|
185 |
| - // Настройки для Android |
| 185 | + // Настройки |
186 | 186 | let IDS_SETTINGS = 'Settings';
|
187 | 187 | let IDS_SYNC_ADDRESS = 'IP or domain';
|
188 | 188 | let IDS_SYNC_PORT = 'Port';
|
|
219 | 219 | IDS_NEW_NOTE = 'Новая заметка';
|
220 | 220 | IDS_NOTES = 'Заметки';
|
221 | 221 |
|
222 |
| - // Настройки для Android |
| 222 | + // Настройки |
223 | 223 | IDS_SETTINGS = 'Настройки';
|
224 | 224 | IDS_SYNC_ADDRESS = 'IP или домен';
|
225 | 225 | IDS_SYNC_PORT = 'Порт';
|
|
693 | 693 | });
|
694 | 694 | }
|
695 | 695 |
|
696 |
| - function ShowApp(){ |
| 696 | + /*function ShowApp(){ // Cordova QR |
697 | 697 | document.getElementById('wrapper').style.display = 'block';
|
698 | 698 | document.getElementById('panel-qr').style.display = 'none';
|
699 | 699 | if (UsedDarkTheme) // Трюк с сохранением текущего цвета не работает из-за css тёмной темы
|
|
708 | 708 | document.body.style.backgroundColor = 'transparent';
|
709 | 709 | }
|
710 | 710 |
|
711 |
| - /*function QR() // Cordova QR |
| 711 | + function QR() |
712 | 712 | {
|
713 | 713 | function displayContents(err, text) {
|
714 | 714 | if (!err) {
|
|
0 commit comments