diff options
author | Devaev Maxim <[email protected]> | 2018-10-09 16:20:41 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-10-09 16:20:41 +0300 |
commit | a449b39c52392d0d8b043934a15792f21d54e06d (patch) | |
tree | c8ff6a67baea441b61ea14f0363ba4b22c0cd116 /web/css/windows.css | |
parent | 2c241fab4409eac3b40762d2c23d42ac6e3f8df1 (diff) |
refactoring
Diffstat (limited to 'web/css/windows.css')
-rw-r--r-- | web/css/windows.css | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/web/css/windows.css b/web/css/windows.css index 5c183f07..56f06106 100644 --- a/web/css/windows.css +++ b/web/css/windows.css @@ -15,7 +15,7 @@ div.window:focus { border: var(--border-intensive-2px) !important; } -div.window-header { +div.window div.window-header { overflow: hidden; top: 0; left: 0; @@ -28,7 +28,7 @@ div.window-header { border-bottom: var(--border-normal-thin); } -div.window-grab { +div.window div.window-header div.window-grab { overflow: hidden; top: 0; left: 0; @@ -39,13 +39,13 @@ div.window-grab { padding: 3px 0 2px 20px; } -div.window-header-grabbed { +div.window div.window-header-grabbed { color: var(--fg-color-intensive); background-color: var(--bg-color-intensive); border-bottom: var(--border-intensive-thin); } -button.window-button-close { +div.window div.window-header button.window-button-close { position: absolute; top: -2px; right: -6px; @@ -55,3 +55,19 @@ button.window-button-close { color: var(--fg-color-inactive); display: inline-block; } + +@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) { + /* iPad */ + div.window { + padding-top: 45px !important; + } + div.window div.window-header { + height: 35px !important; + } + div.window div.window-header div.window-grab { + height: 35px !important; + } + div.window div.window-header button.window-button-close { + height: 40px !important; + } +} |