Skip to content
Snippets Groups Projects
Commit cc103f5a authored by chris's avatar chris Committed by john
Browse files

div width and positions

parent 6df90c97
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,7 @@ $white: #fff; ...@@ -45,7 +45,7 @@ $white: #fff;
top: 0; top: 0;
.sc-container-editor { .sc-container-editor {
max-width: 950px; max-width: 50%;
} }
.se-scrollable { .se-scrollable {
...@@ -59,7 +59,7 @@ $white: #fff; ...@@ -59,7 +59,7 @@ $white: #fff;
color: $transparent-black; color: $transparent-black;
font-family: 'Fira Sans'; font-family: 'Fira Sans';
line-height: 38px; line-height: 38px;
margin: 0% 0% 0% 15%; margin: 0% 0% 0% 20%;
min-height: 100vh; min-height: 100vh;
padding: 1% 0%; padding: 1% 0%;
transition: .3s; transition: .3s;
......
...@@ -6,18 +6,23 @@ $toolbar-bg: #fafafa; ...@@ -6,18 +6,23 @@ $toolbar-bg: #fafafa;
.sidenav { .sidenav {
height: 60%; height: 60%;
left: 2%; left: 3%;
margin-top: 197px; margin-top: 197px;
overflow-x: hidden; overflow-x: hidden;
position: fixed; position: fixed;
top: 0; top: 0;
user-select: none; user-select: none;
width: 8%; width: 9%;
z-index: 100; z-index: 100;
.sc-toolbar { .sc-toolbar {
background-color: $toolbar-bg !important; background-color: $toolbar-bg !important;
border: 0; border: 0;
width: 100%;
.sc-tool-group.sm-target-text.sm-layout-horizontal {
width: 100%;
}
ul { ul {
margin: 0; margin: 0;
...@@ -33,12 +38,12 @@ $toolbar-bg: #fafafa; ...@@ -33,12 +38,12 @@ $toolbar-bg: #fafafa;
font-size: 14px; font-size: 14px;
margin: 0; margin: 0;
padding: 0; padding: 0;
width: 140px; width: 100%;
} }
.sm-target-default { .sm-target-default {
width: 85%; width: 85%;
//
&:before { &:before {
border-bottom: 1px solid $heading; border-bottom: 1px solid $heading;
color: $heading; color: $heading;
......
...@@ -67,7 +67,7 @@ class CommentBubble extends Tool { ...@@ -67,7 +67,7 @@ class CommentBubble extends Tool {
overlayContainer = children[1] overlayContainer = children[1]
} }
const documentElementWidth = documentElement.offsetWidth / 1.4 const documentElementWidth = documentElement.offsetWidth / 1.85
const overlayContainerLeft = overlayContainer.offsetLeft const overlayContainerLeft = overlayContainer.offsetLeft
const left = documentElementWidth - overlayContainerLeft - fix const left = documentElementWidth - overlayContainerLeft - fix
......
...@@ -4,19 +4,18 @@ $mid-gray: #b0b0b0; ...@@ -4,19 +4,18 @@ $mid-gray: #b0b0b0;
$dark-gray: #868686; $dark-gray: #868686;
// $light-green: #eafaf0; // $light-green: #eafaf0;
$light-red: #fcc; $light-yellow: #fff5e6;
$red: #d0011b;
$white: #fff; $white: #fff;
$yellow: #ffab20; $yellow: #ffab20;
.sc-comment { .sc-comment {
border-bottom: 2px solid $red; border-bottom: 2px solid $yellow;
border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0;
} }
.sc-comment-active { .sc-comment-active {
background-color: $light-red; background-color: $light-yellow;
} }
...@@ -53,7 +52,7 @@ $yellow: #ffab20; ...@@ -53,7 +52,7 @@ $yellow: #ffab20;
.action-icon { .action-icon {
bottom: 2px; bottom: 2px;
color: $red; color: $yellow;
font-size: 9px; font-size: 9px;
position: relative; position: relative;
right: 10px; right: 10px;
......
...@@ -28,7 +28,7 @@ $background: #fff; ...@@ -28,7 +28,7 @@ $background: #fff;
box-shadow: none; box-shadow: none;
margin: 0; margin: 0;
min-height: 110px; min-height: 110px;
padding: 3% 0 0 2%; padding: 3% 0 0 2.3%;
.sc-entity::before { .sc-entity::before {
content: ''counter(note-footer)'. '; content: ''counter(note-footer)'. ';
......
...@@ -11,7 +11,7 @@ $yellow: #ffab20; ...@@ -11,7 +11,7 @@ $yellow: #ffab20;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
flex-wrap: wrap; flex-wrap: wrap;
margin-left: 4%; margin-left: 7%;
margin-top: 0; margin-top: 0;
width: 100%; width: 100%;
......
...@@ -8,11 +8,11 @@ $bg-rgba: rgba(255, 255, 255, 0); ...@@ -8,11 +8,11 @@ $bg-rgba: rgba(255, 255, 255, 0);
bottom: 0; bottom: 0;
counter-reset: note-footer; counter-reset: note-footer;
height: 135px; height: 135px;
left: 15%; left: 19.6%;
max-height: 700px; max-height: 700px;
min-height: 135px; min-height: 135px;
position: fixed; position: fixed;
width: 80%; width: 75.4%;
z-index: 0; z-index: 0;
.resize-area { .resize-area {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment