Skip to content

Commit

Permalink
fix: alexweininger#4 pinned or saved files
Browse files Browse the repository at this point in the history
  • Loading branch information
Saska Kolehmainen authored and Saska Kolehmainen committed Oct 23, 2019
1 parent 05a8fcf commit d170acd
Show file tree
Hide file tree
Showing 8 changed files with 3,378 additions and 40 deletions.
1 change: 1 addition & 0 deletions dist/assets/thumbtack-solid.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dist/assets/trash-solid.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<div class="tab-header">
<button id="online-tab-link" class="tablinks">Online</button>
<button id="local-tab-link" class="tablinks">Local</button>
<button id="pinned-tab-link" class="tablinks"><img src="assets/thumbtack-solid.svg" id="pinned-icon"></button>
</div>
<div class="tabcontent-container">
<div id="online" class="tabcontent">
Expand All @@ -22,6 +23,12 @@
</ul>
</div>
</div>
<div id="pinned" class="tabcontent">
<div id="pinned-div">
<ul id="pinned-list">
</ul>
</div>
</div>
<div id="settings" class="tabcontent">
<div id="settings-div">
<p>Settings coming soon!</p>
Expand Down
31 changes: 29 additions & 2 deletions dist/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ body {
#more_icon {
width: 32px;
height: 32px;
margin-top: 8px;
margin-top: 0px;
}

#more_icon:hover {
Expand All @@ -38,7 +38,7 @@ body {
background-color: #f1f1f1;
border-bottom: 1px solid #ddd;
display: grid;
grid-template-columns: 50% 50%;
grid-template-columns: 45% 45% 10%;
height: 32px;
margin: 0;
overflow: hidden;
Expand Down Expand Up @@ -121,6 +121,7 @@ div.left {


#link-list,
#pinned-list,
#file-list {
display: inline-block;
font-size: 14px;
Expand Down Expand Up @@ -221,6 +222,32 @@ li {
height: 16px;
}

#pinned-icon {
width: 20px;
height: 20px;
display: flex;
align-items: center;
}

#pin_icon_online {
width: 20px;
height: 20px;
margin-top: 15px;
}

#pin_icon_local {
width: 20px;
height: 20px;
margin: 0 0 0 3px;
}

#remove_icon {
width: 20px;
height: 20px;
margin-top: 15px;
}


#online-count-display {
height: inherit;
margin: 0 0 0 3px;
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
"webpack-merge": "~4.1.4"
},
"dependencies": {
"chrome-options": "^1.0.0"
"@types/lodash": "^4.14.144",
"@types/node": "^12.11.5",
"chrome-options": "^1.0.0",
"lodash": "^4.17.15"
}
}

0 comments on commit d170acd

Please sign in to comment.