Skip to content

Commit

Permalink
add share and download #6
Browse files Browse the repository at this point in the history
  • Loading branch information
tiansh committed Jul 15, 2023
1 parent d0346ab commit 14202c8
Show file tree
Hide file tree
Showing 15 changed files with 472 additions and 260 deletions.
88 changes: 88 additions & 0 deletions src/css/common/input.css
Original file line number Diff line number Diff line change
Expand Up @@ -204,3 +204,91 @@ button.submit-button .icon-go {
::-ms-clear {
display: none;
}

.screen-menu {
display: none;
}

.screen-menu.screen-menu-active {
display: block;
}

.screen-option {
position: fixed;
top: 0;
left: 0;
width: var(--window-width);
height: var(--window-height);
z-index: 9;
display: flex;
flex-direction: column;
justify-content: flex-end;
}

.backdrop {
content: " ";
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: var(--default-background);
color: var(--default-color);
opacity: 0.6;
z-index: 9;
}

.screen-option-group {
overflow: hidden;
border-radius: 16px;
margin: 8px 0;
max-width: 600px;
display: block;
position: relative;
left: 50%;
transform: translateX(-50%);
width: calc(100% - 16px);
}

button.screen-option-item {
-moz-appearance: none;
-webkit-appearance: none;
outline-offset: -2px;
display: block;
width: 100%;
border: 0 none;
padding: 0 12px;
height: 53px;
line-height: 53px;
font-size: 25px;
border-bottom: 1px solid var(--border-color);
background: var(--menu-background);
color: var(--menu-color);
text-align: left;
}

.screen-option .button-wrap {
margin: 0 -12px;
padding: 0 20px;
}

.screen-option-item:first-child {
border-radius: 16px 16px 0 0;
}

.screen-option-item:last-child {
border-bottom: 0 none;
border-radius: 0 0 16px 16px;
}

.screen-option-item:only-child {
border-radius: 16px;
}

.screen-option-group:last-child {
margin-bottom: 10px;
}

.screen-option-group:last-child .screen-option-item {
text-align: center;
}
5 changes: 5 additions & 0 deletions src/css/icons/icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,8 @@
content: "\e90d";
}

.icon-more::before {
content: "\e90e";
}


7 changes: 6 additions & 1 deletion src/css/icons/icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/css/icons/icons.woff
Binary file not shown.
75 changes: 0 additions & 75 deletions src/css/page/listpage.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,81 +66,6 @@ button.list-sort {
display: inline;
}

.list-sort-menu {
display: none;
}

.screen-option {
position: fixed;
top: 0;
left: 0;
width: var(--window-width);
height: var(--window-height);
z-index: 9;
display: flex;
flex-direction: column;
justify-content: flex-end;
}

.backdrop {
content: " ";
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: var(--default-background);
color: var(--default-color);
opacity: 0.6;
z-index: 1;
}

.screen-option-group {
overflow: hidden;
border-radius: 16px;
margin: 8px 0;
max-width: 600px;
display: block;
position: relative;
left: 50%;
transform: translateX(-50%);
width: calc(100% - 16px);
}

button.screen-option-item {
-moz-appearance: none;
-webkit-appearance: none;
outline-offset: -2px;
display: block;
width: 100%;
border: 0 none;
padding: 0 12px;
height: 53px;
line-height: 53px;
font-size: 25px;
border-bottom: 1px solid var(--border-color);
background: var(--menu-background);
color: var(--menu-color);
text-align: left;
}

.screen-option .button-wrap {
margin: 0 -12px;
padding: 0 20px;
}

.screen-option-item:last-child {
border-bottom: 0 none;
}

.screen-option-group:last-child {
margin-bottom: 10px;
}

.screen-option-group:last-child .screen-option-item {
text-align: center;
}

.file-item {
position: relative;
}
Expand Down
Loading

0 comments on commit 14202c8

Please sign in to comment.