add content wip

This commit is contained in:
jr-k 2024-07-11 00:48:36 +02:00
parent 6db3d0896a
commit 10ce5ebcc9
4 changed files with 21 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -8,17 +8,25 @@
} }
.tac { .tac {
text-align: center; text-align: center !important;
} }
.tar { .tar {
text-align: right; text-align: right !important;
} }
a { a {
text-decoration: none; text-decoration: none;
} }
.normal {
font-weight: normal !important;
}
.bold {
font-weight: bold !important;
}
.col { .col {
display: flex; display: flex;
flex: 1; flex: 1;

View File

@ -4,7 +4,7 @@ button,
$shadowOffset: 2px; $shadowOffset: 2px;
position: relative; position: relative;
padding: 10px 10px 8px 10px; padding: 10px 13px 8px 10px;
font-size: 14px; font-size: 14px;
color: #fff; color: #fff;
cursor: pointer; cursor: pointer;
@ -31,6 +31,14 @@ button,
box-shadow: none; box-shadow: none;
} }
&.btn-neutral {
color: #AAA;
background: $neutralGrey;
box-shadow: 0 $shadowOffset 0 0 darken($neutralGrey, 10%);
&:hover { box-shadow: 0 $shadowOffset 0 1px #222 inset; background: darken($neutralGrey, 10%); }
&:focus { background: darken($neutralGrey, 20%); }
}
&.btn-info { &.btn-info {
background: $info; background: $info;
box-shadow: 0 $shadowOffset 0 0 darken($info, 20%); box-shadow: 0 $shadowOffset 0 0 darken($info, 20%);

View File

@ -33,7 +33,7 @@
<label for="content-add-object-input-upload" class="btn-upload hidden"> <label for="content-add-object-input-upload" class="btn-upload hidden">
<input type="file" name="object" id="content-add-object-input-upload" class="content-add-object-input" disabled="disabled"/> <input type="file" name="object" id="content-add-object-input-upload" class="content-add-object-input" disabled="disabled"/>
<span class="btn btn-info"> <span class="btn btn-neutral normal">
<i class="fa fa-file-import"></i> <i class="fa fa-file-import"></i>
{{ l.slideshow_content_form_button_upload }} {{ l.slideshow_content_form_button_upload }}
</span> </span>