ui progress
This commit is contained in:
parent
42c99aaece
commit
1fadea7a6b
37 changed files with 773 additions and 788 deletions
14
src/scss/ui/button.scss
Normal file
14
src/scss/ui/button.scss
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
.btn {
|
||||
background: var(--color-foreground);
|
||||
display: block;
|
||||
padding:15rem;
|
||||
position: relative;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
&.disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.5;
|
||||
}
|
||||
}
|
||||
97
src/scss/ui/filebrowser.scss
Normal file
97
src/scss/ui/filebrowser.scss
Normal file
|
|
@ -0,0 +1,97 @@
|
|||
|
||||
.file-browser {
|
||||
|
||||
width: 540rem;
|
||||
height: 360rem;
|
||||
max-width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
padding: 2rem 8rem 8rem;
|
||||
background: var(--color-background);
|
||||
|
||||
.ariane {
|
||||
height: 40rem;
|
||||
flex-shrink: 0;
|
||||
line-height: 40rem;
|
||||
padding-left: 10rem;
|
||||
background: var(--color-foreground);
|
||||
margin-bottom: 2rem;
|
||||
|
||||
}
|
||||
.file-list {
|
||||
overflow-y: auto;
|
||||
flex:1;
|
||||
background: var(--color-foreground);
|
||||
padding: 0 10rem;
|
||||
}
|
||||
.file {
|
||||
position: relative;
|
||||
height: 40rem;
|
||||
line-height: 40rem;
|
||||
input {
|
||||
position: absolute;
|
||||
width:100%;
|
||||
height: 100%;
|
||||
opacity: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
.label {
|
||||
position: absolute;
|
||||
width:100%;
|
||||
height: 100%;
|
||||
pointer-events: none;
|
||||
white-space: nowrap;
|
||||
span {
|
||||
display: block;
|
||||
width: 100%;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
input:checked + .label {
|
||||
color: var(--color-widget);
|
||||
&:before {
|
||||
content:"";
|
||||
position: absolute;
|
||||
left:-10rem;
|
||||
right:-10rem;
|
||||
height: 100%;
|
||||
background: var(--color-widget);
|
||||
opacity: 0.1;
|
||||
}
|
||||
}
|
||||
}
|
||||
.file-actions {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: flex-end;
|
||||
justify-content: flex-end;
|
||||
height: 40rem;
|
||||
flex-shrink: 0;
|
||||
margin-top: 10rem;
|
||||
div {
|
||||
margin-left: 10rem;
|
||||
text-overflow: clip;
|
||||
min-width: 0;
|
||||
}
|
||||
i {
|
||||
pointer-events: none;
|
||||
}
|
||||
.save-as {
|
||||
flex:1;
|
||||
height: 40rem;
|
||||
line-height: 40rem;
|
||||
border: 0;
|
||||
padding: 0 10rem;
|
||||
font-size: 120%;
|
||||
top: -1rem;
|
||||
position: relative;
|
||||
background: var(--color-foreground);
|
||||
min-width: 0;
|
||||
&[disabled] {
|
||||
display: none
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -40,10 +40,6 @@ osc-inspector-field {
|
|||
background: var(--color-foreground);
|
||||
cursor: text;
|
||||
|
||||
-webkit-appearance:none;
|
||||
-moz-appearance:none;
|
||||
appearance:none;
|
||||
|
||||
--scrollbar-size: 6rem;
|
||||
|
||||
&::-webkit-scrollbar-thumb:horizontal {
|
||||
|
|
@ -181,9 +177,7 @@ osc-inspector-select {
|
|||
// width: 100%;
|
||||
line-height: $field-height - 8rem;
|
||||
padding: 4rem 6rem;
|
||||
-webkit-appearance:none;
|
||||
-moz-appearance:none;
|
||||
appearance:none;
|
||||
|
||||
position: absolute;
|
||||
left:0;
|
||||
opacity: 0;
|
||||
|
|
@ -217,7 +211,6 @@ osc-inspector-select {
|
|||
|
||||
|
||||
.osc-inspector-color {
|
||||
appearance: none;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
box-shadow: 0;
|
||||
|
|
@ -234,9 +227,7 @@ osc-inspector-select {
|
|||
|
||||
cursor: pointer;
|
||||
|
||||
-webkit-appearance:none;
|
||||
-moz-appearance:none;
|
||||
appearance:none;
|
||||
|
||||
|
||||
&::-webkit-color-swatch {
|
||||
border: none;
|
||||
|
|
|
|||
71
src/scss/ui/lobby.scss
Normal file
71
src/scss/ui/lobby.scss
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
|
||||
.lobby {
|
||||
|
||||
width: 540rem;
|
||||
height: 360rem;
|
||||
max-width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
background: var(--color-background);
|
||||
padding: 2rem 8rem 8rem;
|
||||
|
||||
.list {
|
||||
overflow: auto;
|
||||
text-transform: none;
|
||||
flex: 1;
|
||||
background: var(--color-foreground);
|
||||
padding: 0 10rem;
|
||||
a {
|
||||
padding-right: 30rem;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.footer {
|
||||
margin-top: 10rem;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
flex-grow: 0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
a {
|
||||
margin-left: 10rem;
|
||||
text-align: center;
|
||||
background: var(--color-foreground);
|
||||
&:first-child {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
a {
|
||||
padding: 0;
|
||||
position: relative;
|
||||
height: 40rem;
|
||||
line-height: 40rem;
|
||||
width: 100%;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
background: none;
|
||||
em, i {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
span {
|
||||
position: absolute;
|
||||
right:0rem;
|
||||
top:0rem;
|
||||
z-index: 1;
|
||||
height: 40rem;
|
||||
line-height: 40rem;
|
||||
opacity: 0.5;
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -27,6 +27,7 @@
|
|||
}
|
||||
.popup-title {
|
||||
position: relative;
|
||||
min-height: var(--nav-height);
|
||||
height: var(--nav-height);
|
||||
display: flex;
|
||||
padding:0 15rem;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue