Style updates

This commit is contained in:
Matthew Ross 2020-05-11 19:13:20 -04:00
parent 8e733aa12c
commit cf7eb5b0fc
3 changed files with 61 additions and 2 deletions

View File

@ -325,8 +325,15 @@
cursor: pointer;
}
[type="file"] {
width: 80%;
.file-upload {
input {
margin-right: 7px;
width: 84.7%;
}
button {
margin-right: 0;
}
}
.details {
@ -392,6 +399,10 @@
margin-left: 7px;
}
a {
text-decoration: none;
}
.pull-right {
color: $color-primary;
float: right;

47
src/scss/_files.scss Normal file
View File

@ -0,0 +1,47 @@
.file-viewer {
@include shadow-low;
background-color: $white;
bottom: 2rem;
left: 2rem;
position: absolute;
right: 2rem;
top: 5rem;
.header {
background-color: $color-heading-bg;
border-bottom: 1px solid lighten($color-border, 18%);
font-family: Raleway;
font-size: 24px;
font-weight: 500;
padding: 7px;
.right {
font-size: 1rem;
}
a {
background: none;
color: $color-primary;
text-shadow: none;
&:hover {
text-decoration: underline;
}
}
}
.content {
bottom: 0;
left: 0;
position: absolute;
right: 0;
top: 2.45rem;
iframe {
border: none;
border-radius: 0;
height: 100%;
}
}
}

View File

@ -24,4 +24,5 @@
@import 'notifications';
@import 'modal';
@import 'context-menu';
@import 'files';