Skip to content

Commit

Permalink
feat: removed dotted background and adapt for new graph in 0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 committed Jul 10, 2021
1 parent 58349a3 commit d08ba1e
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 7 deletions.
12 changes: 12 additions & 0 deletions src/_headings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ a.title h1.title {
.cp__header,
.cp__right-sidebar-topbar {
height: var(--ct-header-height);
width: 100%;
}

.is-mac.is-electron {
Expand Down Expand Up @@ -77,6 +78,17 @@ a.title h1.title {
align-items: center;
}

#repo-switch {
white-space: nowrap;
}

#repo-name {
/* Show the last part of the repo instead */
direction: rtl;
text-align: left;
max-width: 120px;
}

.cp__right-sidebar-settings a {
opacity: 0.6;
&:hover {
Expand Down
1 change: 1 addition & 0 deletions src/_root.scss
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,5 @@ body {
position: absolute;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACHSURBVHgB7ddRCgIhFIbRa8wK3EH731OtQLdQCIUPDUP2IDidA4Lov4EvAoC11Frv7dhHXAIAAGAOLdZpMQAAYBYt1mkxAABgFi3WaTEAAOBHpZTUzt7ftvf47pKc8zW+sPo+pXR7XT/2W9A8AgAA/t5RW43uT9liR201uj9ri422lRYDWNETCUrqfCW92rQAAAAASUVORK5CYII=)
repeat;
background: none;
}
13 changes: 7 additions & 6 deletions src/_views.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
.theme-inner {
background: var(--ls-primary-background-color);
#main-container {
position: absolute;
width: 100%;
overflow-x: hidden;
}

#main-content-container {
margin-top: 1rem !important;
.theme-inner {
background: var(--ls-primary-background-color);
}

.page {
Expand All @@ -14,9 +16,8 @@
width: 100%;
}

.cp__sidebar-main-content > div {
.cp__sidebar-main-content:not([data-is-global-graph-pages=true]) > div {
padding: 16px 32px;
max-width: var(--ls-main-content-max-width);
}

/* Right side bar */
Expand Down
3 changes: 2 additions & 1 deletion src/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
@import "popups.scss";
@import "queries.scss";
@import "markers.scss";
@import "graph.scss";
@import "theme_dark.scss";
@import "theme_light.scss";
@import "theme_light.scss";

0 comments on commit d08ba1e

Please sign in to comment.