nfp_sites/app/admin/articles.scss

132 lines
1.9 KiB
SCSS
Raw Normal View History

2019-09-13 13:33:10 +00:00
article.editarticle {
background: white;
padding: 0 0 20px;
header {
2022-07-21 07:06:16 +00:00
text-align: center;
2019-09-13 13:33:10 +00:00
padding: 10px;
background: $secondary-bg;
h1 {
color: $secondary-fg;
}
a {
font-size: 14px;
text-decoration: none;
margin-left: 10px;
color: $secondary-light-fg;
}
}
fileupload {
margin: 0 0 20px;
.inside {
2019-09-14 19:03:38 +00:00
height: 150px;
2019-09-13 13:33:10 +00:00
}
}
fileupload.cover {
align-self: center;
min-width: 178px;
}
form {
2022-07-22 11:18:33 +00:00
padding: 0 2rem 1rem;
2019-09-13 13:33:10 +00:00
textarea {
height: 300px;
}
2019-10-02 18:47:20 +00:00
label.slim {
font-size: 0.7em;
}
input.slim {
font-size: 0.8em;
padding: 2px 5px;
}
2019-09-13 13:33:10 +00:00
.loading-spinner {
height: 300px;
position: relative;
}
button.submit {
margin-left: 20px;
}
2019-09-13 13:33:10 +00:00
}
2019-10-02 00:16:11 +00:00
table {
tr.rowhidden td {
background: #e6e6e6;
}
tr.rowfeatured td {
background: hsl(120, 60%, 85%);
}
}
2019-09-13 13:33:10 +00:00
h5 {
margin-bottom: 20px;
}
& > .loading-spinner {
width: 240px;
height: 50px;
position: relative;
2019-09-14 19:03:38 +00:00
&.full {
width: 100%;
}
2019-09-13 13:33:10 +00:00
}
.fileupload {
2022-07-22 11:18:33 +00:00
align-self: flex-start;
padding: 0.5rem;
margin: 0.5rem 0 0.5rem 2rem;
min-width: 150px;
2019-09-13 13:33:10 +00:00
border: none;
border: 1px solid $secondary-bg;
background: $secondary-light-bg;
color: $secondary-light-fg;
position: relative;
2022-07-22 11:18:33 +00:00
text-align: center;
2019-09-13 13:33:10 +00:00
input {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
opacity: 0.01;
width: 100%;
cursor: pointer;
text-indent: -9999px;
z-index: 2;
}
}
2019-09-14 19:03:38 +00:00
files {
align-items: stretch;
width: 100%;
display: flex;
flex-direction: column;
2022-07-22 11:18:33 +00:00
padding: 1rem 2rem 0;
2019-09-14 19:03:38 +00:00
text-align: left;
h4 {
font-size: 1.1em;
font-weight: bold;
padding: 0 5px 5px;
margin-bottom: 10px;
border-bottom: 1px solid $border;
}
}
2019-09-13 13:33:10 +00:00
}
table span.subarticle {
padding: 0 5px;
}