added a few desktop only improvements (#3725)
* added a few desktop only improvements * added horizontal line * fixed icon * hide download button when already in desktop app * codacy fixes Co-authored-by: zomars <[email protected]>
This commit is contained in:
1 parent
88384192f8
commit
7776bbbf52
11 files changed
+86
-14
No files matched your search
+1
-1
Submodule apps/api updated: fc87557902...0f13e80785.
+1
-1
Submodule apps/console updated: 544ded3da4...fa31167033.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1027,5 +1027,6 @@
|
||||
"custom_input_as_variable_info": "Ignore all special characters of the additonal input label (use only letters and numbers), use uppercase for all letters and replace whitespaces with underscores.",
|
||||
"using_additional_inputs_as_variables": "How to use additional inputs as variables?",
|
||||
"missing_connected_calendar": "No calendar connected",
|
||||
"download_desktop_app": "Download desktop app",
|
||||
"set_ping_link": "Set Ping link"
|
||||
}
|
||||
@@ -14,6 +14,56 @@ body {
|
||||
--brand-text-color-dark-mode: #292929;
|
||||
}
|
||||
|
||||
/*
|
||||
Desktop App specific CSS
|
||||
https://docs.todesktop.com/
|
||||
*/
|
||||
|
||||
/* disable user selection on buttons, links and images on desktop app */
|
||||
html.todesktop button,
|
||||
html.todesktop a,
|
||||
html.todesktop img {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
/* make header draggable on desktop app */
|
||||
html.todesktop header {
|
||||
-webkit-app-region: drag;
|
||||
}
|
||||
html.todesktop header button {
|
||||
-webkit-app-region: no-drag;
|
||||
}
|
||||
|
||||
|
||||
html.todesktop .logo {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.desktop-only {
|
||||
display: none;
|
||||
}
|
||||
|
||||
html.todesktop .desktop-only {
|
||||
display: block;
|
||||
}
|
||||
|
||||
html.todesktop .desktop-hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
html.todesktop header {
|
||||
margin-top: -9px;
|
||||
}
|
||||
|
||||
html.todesktop header nav {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
/*
|
||||
Adds Utility to hide scrollbar to tailwind
|
||||
https://github.com/tailwindlabs/tailwindcss/discussions/2394
|
||||
|
||||
Reference in new issue
Block a user