Skip to content

Commit

Permalink
button datei hochladen
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzwindmann committed Feb 2, 2021
1 parent 932ed5e commit a549595
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pages/single-angebote.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
if ( ( is_user_logged_in() && $current_user->ID == $post->post_author ) ) {
?>
<a class="button is-style-outline" href="<?php get_permalink(); ?>?action=edit">Angebot bearbeiten</a>
<a class="button is-style-outline" onclick="return confirm('Angebot permanent löschen?')" href="<?php get_permalink(); ?>?action=delete">Angebot löschen</a>
<a class="button is-style-outline button-red" onclick="return confirm('Dieses Angebot entgültig löschen?')" href="<?php get_permalink(); ?>?action=delete">Angebot löschen</a>
<?php
}

Expand Down
2 changes: 1 addition & 1 deletion pages/single-fragen.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
if ( ( is_user_logged_in() && $current_user->ID == $post->post_author ) ) {
?>
<a class="button is-style-outline" href="<?php get_permalink(); ?>?action=edit">Frage bearbeiten</a>
<a class="button is-style-outline" onclick="return confirm('Frage permanent löschen?')" href="<?php get_permalink(); ?>?action=delete">Frage löschen</a>
<a class="button is-style-outline button-red" onclick="return confirm('Diese Frage entgültig löschen?')" href="<?php get_permalink(); ?>?action=delete">Frage löschen</a>
<?php
}
?>
Expand Down
2 changes: 1 addition & 1 deletion pages/single-nachrichten.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class="date"><?php echo get_the_date('j. F'); ?></span></h3>
if ( ( is_user_logged_in() && $current_user->ID == $post->post_author ) ) {
?>
<a class="button is-style-outline" href="<?php get_permalink(); ?>?action=edit">Nachricht bearbeiten</a>
<a class="button is-style-outline" onclick="return confirm('Nachricht permanent löschen?')"
<a class="button is-style-outline button-red" onclick="return confirm('Dieses Angebot entgültig löschen?')"
href="<?php get_permalink(); ?>?action=delete">Nachricht löschen</a>
<?php
}
Expand Down
21 changes: 21 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,7 @@ input[type="reset"],
input[type="submit"],
input[type="submit" i],
/* input:matches([type="button"], [type="submit"], [type="reset"]), */
input:matches([type="button"], [type="submit"], [type="reset"]), input[type="file"]::-webkit-file-upload-button,
input[type="file"]::-webkit-file-upload-button {
-webkit-appearance: none;
-moz-appearance: none;
Expand Down Expand Up @@ -4740,6 +4741,26 @@ figure.wp-block-table.is-style-stripes {
position: relative;
}

.button-red{
color: rgba(194, 12, 61, 1);
box-shadow: 0 1px 2px rgba(194, 12, 61, 0.07),
0 2px 4px rgba(194, 12, 61, 0.07), 0 4px 8px rgba(194, 12, 61, 0.07),
0 8px 16px rgba(194, 12, 61, 0.07), 0 16px 32px rgba(194, 12, 61, 0.07),
0 32px 64px rgba(194, 12, 61, 0.07);
}




.button-red:hover{
color: rgba(194, 12, 61, 1);
box-shadow: 0 1px 2px rgba(194, 12, 61, 0.15),
0 2px 4px rgba(194, 12, 61, 0.15), 0 4px 8px rgba(194, 12, 61, 0.15),
0 8px 16px rgba(194, 12, 61, 0.15), 0 16px 32px rgba(194, 12, 61, 0.15),
0 32px 64px rgba(194, 12, 61, 0.15);


}
/* Shadow */

/* nur bei gardent */
Expand Down

0 comments on commit a549595

Please sign in to comment.