Samuel Mannehed
f59be0586f
Move control bar hint outside of the control bar
...
Makes it a more independent element responsible for it's own positioning
and vertical centering. This makes the hint easier to adapt for external
CSS styles and makes it possible to remote the fixed size if needed.
2022-10-24 15:29:27 +02:00
Samuel Mannehed
3141c0e01b
Only show the control bar hint once per "move"
...
After the user has "followed" the hint by dragging the handle to the
other side, the control bar will switch to that side. Once this has
happened, we will now hide the hint until the user starts over by
dragging the handle again.
This change was added to make the hint feel more like a "hint" and less
like a permanent GUI element. It isn't as persistent and intrusive now.
Note that we don't want the act of hiding the hint to result in a
transition animation here.
2022-10-24 13:03:50 +02:00
Samuel Mannehed
8715ed9e70
Match touch area height with height of handle
...
Instead of hard coding the height of this touch area we can just use
its parent's height.
2022-10-14 18:13:19 +02:00
Samuel Mannehed
f0c3af3c67
Move <input> and <button> styles to its own file
...
This makes it easier for integrators of vnc.html to write their own
input and button styles.
It's also positive to cut a bit off from the size of the large base.css.
2022-10-14 11:27:42 +02:00
Pierre Ossman
88ccfdc193
Clean up control bar padding/margins
...
Try to make it a bit less messy by trying to get more general rules in
place.
2022-10-13 16:20:28 +02:00
Samuel Mannehed
9761278df8
Style <button> the same as <input type="button">
...
These styles are meant to be complete, that we didn't have a style for
<button> was a mistake.
2022-10-13 10:25:36 +02:00
Samuel Mannehed
9a6e0d47d0
Rename CSS section to better reflect contents
...
These buttons only exist in the control bar.
2022-10-12 16:50:28 +02:00
Pierre Ossman
bdc0bbbb4f
Respect font settings on input elements
...
The browsers override these instead of using the normal inheritance. So
make sure our global font settings are respected.
2022-10-11 13:51:57 +02:00
Pierre Ossman
a8488d5b32
Add more air to settings panel
...
We want some space between elements to avoid things getting cramped, so
add some minimal margins.
2022-10-11 13:50:40 +02:00
Pierre Ossman
f887abdb38
Increase input element padding
...
The text gets a bit cramped otherwise. Extra so at larger font sizes.
2022-10-11 13:50:09 +02:00
Pierre Ossman
a1e11e6d00
Stop setting margin on input elements
...
Margins behave badly on inline elements, so let's try to avoid using
them. Margins should be handled by the block elements anyway.
2022-10-11 13:49:11 +02:00
Pierre Ossman
615b36a067
Handle crash dialog overflow better
...
Avoid making assumptions on how much space is available for the stack
dump, and instead handle the overflow on the top element.
2022-10-11 13:47:53 +02:00
Samuel Mannehed
6f55527514
Fix typo in fallback_error CSS comment
...
Typo from commit e1f8232bc9
2022-10-07 15:24:11 +02:00
Samuel Mannehed
e1f8232bc9
Block user interaction when fallback error shows
...
When this error is shown, something has gone very wrong. It shows when
a bug in the JavaScript causes an uncaught error. In these scenarios we
dont want the user to be able to interact with the GUI or the remote
session, since we can't guarantee that things work.
2022-10-07 14:55:00 +02:00
Samuel Mannehed
58dfb7df45
Don't react to interactions with disabled buttons
...
Disabled buttons should not change appearance on mouse hover, click or
on keyboard focus. Doing so destroys the "disabled" impression.
2022-10-04 15:47:25 +02:00
Pierre Ossman
c101a31520
Don't use explicitly Helvetica
...
On many systems you get a poor substitute, so let's instead instruct the
browser that we merely want a sans serif font for our interface.
2022-09-23 13:59:39 +02:00
Pierre Ossman
1a101443a7
Set font family on root element
...
This is a very global setting, so let's put it on the top node for
clarity.
2022-09-23 13:58:50 +02:00
Pierre Ossman
af10b0c5e4
Avoid using translate() for positioning
...
It often results in a blurry result on WebKit based browsers.
2022-09-16 13:18:06 +02:00
Pierre Ossman
32f9033863
Document state classes uses in CSS
...
Makes it a bit easier to understand all the magic in this CSS.
2022-09-15 10:39:21 +02:00
Pierre Ossman
da623156d3
Adjust wording and style of server verify dialog
...
Try to be a bit more verbose about what this dialog means and what the
user should do.
2022-03-10 16:29:24 +01:00
Pierre Ossman
ced6431ac5
Make credentials rules more specific
...
This was a very broad selector, so it does not belong in a specific
section like this. Do what all similar rules do and make it very
targeted.
2022-03-10 16:27:17 +01:00
Pierre Ossman
a73b5acfbb
Stop abusing lists for dialogs
...
Use some more sane elements for these things.
2022-03-10 16:26:38 +01:00
pdlan
a1709b999e
Added support for RSA-AES Unencrypted Security Type
2022-03-08 13:24:26 -05:00
Pierre Ossman
7ad4e60df6
Add transition animation to transition screen
...
Avoid a harsh switch to the transition screen (loading, connecting) by
using some CSS transition animation.
2021-11-19 16:18:51 +01:00
Pierre Ossman
42e3b03fa8
Consistently close dialogs on connect/disconnect
...
This was done a bit arbitrarily before which could easily miss things,
end up in the wrong state and not trigger animations correctly.
This reverts commit c12e5b2b54
and fixes
things in a different way.
2020-05-05 12:43:04 +02:00
Samuel Mannehed
c12e5b2b54
Hide the clipboard when not connected
...
Fixes github issue #1367 .
2020-05-01 13:35:34 +02:00
Pierre Ossman
e4e6a9b9b4
Style all input types for consistent UI
...
At least all that the browsers will let us.
2020-02-18 15:24:51 +01:00
Chris Koying Browet
5b453ed4a8
Expand password dialog to work for usernames too
...
Some VNC authentication schemes use usernames, our UI should support
these.
2019-12-05 15:46:24 +01:00
Samuel Mannehed
412d93060d
Update copyright to 2019 for modified files
2019-09-30 15:35:33 +02:00
Juanjo Diaz
15c7b7a619
Add version number to UI
2019-07-23 10:25:59 +03:00
Solly Ross
84586c0f17
Change copyright header ( #1138 )
...
* Change copyright header
This updates the copyright header to say "The noVNC Authors". People
who previously had copyright listings are now under the AUTHORS file.
2018-10-09 12:15:35 +02:00
Samuel Mannehed
e0d4e5a1c0
Move css rules for vnc_lite to the html
...
Easier to get an overview if it's all in one file.
2018-08-21 11:34:28 +02:00
Pierre Ossman
9b84f51685
Move resize handling in to RFB object
...
Makes the API simpler and makes it easier for other frontends to
get this functionality.
2017-12-06 11:29:57 +01:00
Pierre Ossman
a201bfc5eb
Merge branch 'api' of https://github.com/CendioOssman/noVNC
2017-11-10 14:19:05 +01:00
Pierre Ossman
cd523e8f28
Make power API generic
...
Decouple it from XVP and make it a generic API.
2017-11-09 12:47:21 +01:00
Samuel Mannehed
ba9e1ecc94
Center canvas vertically as well in vnc_lite
...
Fixes issue #881 .
2017-11-01 09:23:46 +01:00
Samuel Mannehed
3c07dc51af
Add small padding to buttons in vnc_lite
2017-11-01 09:23:46 +01:00
Samuel Mannehed
4023a6e1c7
Properly center status message in vnc_lite
...
This gets rid of the table and uses a flexbox instead.
2017-11-01 09:23:46 +01:00
Samuel Mannehed
dc905e859f
Move styling from vnc_lite.html to css
...
This clears up some conflicting style attributes as well. HTML
inline-styling is prioritized above css styling.
2017-10-31 18:58:14 +01:00
Samuel Mannehed
8167e459bc
Remove unnecessary css rules for lite
2017-10-31 18:57:14 +01:00
Samuel Mannehed
178bf8ec97
Get rid of unnecessary noVNC_container in lite
...
If we want to keep vnc_lite simple, we shouldn't have unnecessary
elements. All aspects of the container could be moved up a step in the
hierarchy.
2017-10-31 16:06:57 +01:00
Samuel Mannehed
082bc6b478
Use more subtle colors for warn and error in lite
...
The clear red and yellow colors used before does not match well with the
rest of noVNC's color scheme.
2017-10-30 15:31:56 +01:00
Samuel Mannehed
0bc4e4eb8a
Remove prefixed versions of linear-gradient
...
Other parts of noVNC have significantly higher requirements than this.
All supported browsers will be able to handle the real linear-gradient.
2017-10-30 15:29:19 +01:00
Pierre Ossman
e36f95868a
Add focus state for control bar buttons
...
The focus can now move to the canvas so it is no longer a source of
confusion. It is also important to indicate that they have focus now
that we actually respect it.
2017-10-18 15:08:29 +02:00
Pierre Ossman
2afda54456
Only grab key events on canvas
...
Give the canvas proper focus handling. This avoids messy logic that
needs to disable and enable event handling when we want to interact
with other UI elements.
It also makes sure we can properly inhibit the browser from triggering
local actions on key presses.
2017-10-18 15:07:17 +02:00
Samuel Mannehed
74a29f3ff5
Make sure the control bar hint is centered
...
Fixed positioned flex boxes are not positioned correctly in Safari. Add
the normal top 50% translate -50% method.
Fixes issue #848 .
2017-07-26 17:06:27 +02:00
Pierre Ossman
637a282be5
Scroll error stack trace
...
Make sure we get the stack trace without distortions by wrapping, or
cropping because it flows out of the screen.
2017-06-15 13:49:27 +02:00
Samuel Mannehed
bbc1648c7a
Add hint that the control bar can be moved
...
The control bar can be dragged to the other side, this isn't obvious
however. This adds a hint on the opposite side in the form of a subtle
glowing half-ellipse.
2017-05-29 15:57:13 +02:00
Samuel Mannehed
b0061a3c49
Revert "Remove shadow from logo"
...
This reverts commit 7c44f86dcd
.
2017-05-15 14:57:33 +02:00
Samuel Mannehed
7c44f86dcd
Remove shadow from logo
2017-05-13 01:43:02 +02:00