Skip to content

Commit 3075452

Browse files
committed
Multi: Windows client style
1 parent 315aaa1 commit 3075452

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

Source/Multi/index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
let PlatformNames = ['Android', 'iOS', 'Windows'];
3131
let UseManualAddress = true; // Ручной ввод адреса
3232
let IsPWA = false; // Ручной ввод адреса
33+
let IsWindowsClient = false;
3334

3435
let FirstRun = false;
3536
let DeviceID;
@@ -92,6 +93,8 @@
9293
AddCSSFile('ios.css');
9394
else // Android / Windows / Web
9495
AddCSSFile('any.css');
96+
if (IsWindowsClient && DevicePlatform == PlatformWindows)
97+
AddCSSFile('windows.css');
9598

9699
//console.log(PlatformNames[DevicePlatform]);
97100

Source/Multi/windows.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/* Windows client */
2+
body{font-size:14px;}
3+
#panel,#panel-bg{height:40px;}
4+
#panel .title{font-size:16px;}
5+
#btn{width:40px; height:40px;}
6+
#list #items{font-size:14px; height:calc(100% - 80px)}
7+
#list #items #note{height:40px;}
8+
#editor #page{height:calc(100% - 80px);}
9+
#editor #memo{height:calc(100% - 40px); font-size:14px;}
10+
.sub-panel{height:40px;}
11+
#settings #page{height:calc(100% - 40px);}
12+
#settings #items{font-size:14px;}
13+
#settings #items #item{padding:10px 5px;}
14+
#settings #items #item:first-child{border-top-left-radius:10px; border-top-right-radius:10px;}
15+
#settings #items #item:last-child{border-bottom-left-radius:10px; border-bottom-right-radius:10px;}
16+
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {-webkit-appearance: none; margin: 0;}

0 commit comments

Comments
 (0)