Disable selection on ui elements

This commit is contained in:
Mo Bitar
2017-11-25 12:45:00 -06:00
parent 75f4df0fc8
commit 2c3181fe3d
4 changed files with 20 additions and 14 deletions

View File

@@ -4,6 +4,8 @@ ul.section-menu-bar {
padding-left: 6px; padding-left: 6px;
padding-right: 21px; padding-right: 21px;
user-select: none;
background-color: #f1f1f1; background-color: #f1f1f1;
color: $selected-text-color; color: $selected-text-color;
height: 28px; height: 28px;
@@ -23,7 +25,7 @@ ul.section-menu-bar {
font-size: 13px; font-size: 13px;
font-weight: bold; font-weight: bold;
user-select: none; // user-select: none;
&.full-width { &.full-width {
width: 100%; width: 100%;

View File

@@ -6,6 +6,8 @@
max-width: 350px; max-width: 350px;
min-width: 170px; min-width: 170px;
user-select: none;
$notes-title-bar-height: 148px; $notes-title-bar-height: 148px;
#notes-title-bar { #notes-title-bar {

View File

@@ -1,5 +1,5 @@
.selectable { .selectable {
user-select: all; user-select: text !important;
} }
.clear { .clear {

View File

@@ -1,18 +1,20 @@
.tags { .tags {
flex: 1 10%; flex: 1 10%;
max-width: 180px; max-width: 180px;
min-width: 100px; min-width: 100px;
width: 180px; width: 180px;
$tags-title-bar-height: 55px; user-select: none;
#tags-title-bar { $tags-title-bar-height: 55px;
color: black;
height: $tags-title-bar-height; #tags-title-bar {
padding-left: 12px; color: black;
padding-right: 12px; height: $tags-title-bar-height;
font-size: 12px; padding-left: 12px;
color: rgba(black, 0.8); padding-right: 12px;
font-size: 12px;
color: rgba(black, 0.8);
} }
#tags-content { #tags-content {