Skip to content

Commit

Permalink
WEB UI: HREF for Upload, Refresh button, and CSS fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewHana committed Mar 17, 2024
1 parent b945749 commit e66055d
Show file tree
Hide file tree
Showing 4 changed files with 266 additions and 152 deletions.
125 changes: 71 additions & 54 deletions radicale/web/internal_data/css/loading.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 31 additions & 11 deletions radicale/web/internal_data/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,20 @@ main{
color: white;
text-decoration: none;
padding: 3px 10px;
position: absolute;
right: 25px;
position: relative;
border-radius: 4px;
}

#logoutview a[data-name=logout]{
right: 25px;
float: right;
}

#logoutview a[data-name=refresh]{
left: 25px;
float: left;
}

#collectionsscene{
display: flex;
flex-direction: row;
Expand All @@ -116,11 +125,11 @@ main{
align-items: center;
margin-top: 50px;
width: 100%;
height: calc(100vh - 50px);
height: 100vh;
}

#collectionsscene article{
width: 250px;
width: 275px;
background: rgb(250, 250, 250);
border-radius: 8px;
box-shadow: 2px 2px 3px #0000001a;
Expand All @@ -129,7 +138,7 @@ main{
padding-top: 0;
margin: 10px;
float: left;
height: 350px;
min-height: 375px;
overflow: hidden;
}

Expand Down Expand Up @@ -170,11 +179,12 @@ main{
}

#collectionsscene article:hover ul{
display: flex !important;
visibility: visible;
}

#collectionsscene ul{
display: none;
visibility: hidden;
display: flex;
justify-content: space-evenly;
width: 60%;
margin: 0 20%;
Expand Down Expand Up @@ -216,7 +226,7 @@ main{
#uploadcollectionscene ul{
margin: 10px -30px;
max-height: 600px;
overflow: overlay;
overflow-y: scroll;
}

#uploadcollectionscene li{
Expand All @@ -225,6 +235,11 @@ main{
padding-bottom: 10px;
}

#uploadcollectionscene div[data-name=pending]{
width: 100%;
text-align: center;
}

#uploadcollectionscene .successmessage{
color: #4e9a06;
width: 100%;
Expand Down Expand Up @@ -291,6 +306,11 @@ main{
padding-top: 15px;
}

img.loading{
width: 150px;
height: 150px;
}

.error::before{
content: "!";
height: 1em;
Expand Down Expand Up @@ -391,18 +411,18 @@ button.blue:active, a.blue:active{

#collectionsscene article{
height: auto;
min-height: 350px;
min-height: 375px;
}

.container{
max-width: 280px !important;
}

#collectionsscene ul{
display: flex !important;
visibility: visible !important;
}

#logoutview span{
text-align: left;
padding: 0 5px;
}
}
Loading

0 comments on commit e66055d

Please sign in to comment.