Skip to content

Commit

Permalink
client: improve drag regions
Browse files Browse the repository at this point in the history
The header is now draggable
  • Loading branch information
evanlucas committed Jun 26, 2017
1 parent 26c8fb2 commit 164b639
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/less/badges.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
color: #fff;
background: @pink;
font-weight: bold;
-webkit-app-region: no-drag;
}

.current {
Expand Down
1 change: 1 addition & 0 deletions client/less/buttons.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
irc-header {
#showHideButton {
position: absolute;
-webkit-app-region: no-drag;
right: 0;
top: 20px;
border-top-right-radius: 0;
Expand Down
1 change: 1 addition & 0 deletions client/less/containers.less
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ irc-workspace {
left: @serverbarWidth + @sidebarWidth;
padding: 0em 0.5em;
overflow-y: scroll;
-webkit-app-region: drag;

.title {
margin: 0;
Expand Down
2 changes: 2 additions & 0 deletions client/less/links.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
.link:visited {
color: #fff;
text-decoration: none;
-webkit-app-region: no-drag;
}

a.external-url,
a.internal-url {
color: @blue;
-webkit-app-region: no-drag;

&:hover {
color: darken(@blue, 5%);
Expand Down
2 changes: 2 additions & 0 deletions client/less/list_view.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#list.container {
overflow-y: auto;
-webkit-app-region: no-drag;

table.channels {
width: 100%;
Expand All @@ -11,4 +12,5 @@ body.list {
overflow: auto;
margin: 0;
padding: 0;
-webkit-app-region: no-drag;
}
1 change: 1 addition & 0 deletions client/less/lists.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ ul.logs {
word-wrap: break-word;
margin: 0.5em 0;
padding: 0em 0em;
-webkit-app-region: no-drag;

li {
padding: 0 0.2em;
Expand Down

0 comments on commit 164b639

Please sign in to comment.