css
This commit is contained in:
@@ -62,7 +62,7 @@ if (!isset($_SESSION["user"])) {
|
|||||||
<aside class="editor-sidebar">
|
<aside class="editor-sidebar">
|
||||||
|
|
||||||
<div class="sidebar-block">
|
<div class="sidebar-block">
|
||||||
<button type="submit" class="login-button">Veröffentlichen</button>
|
<button type="submit" id="editor-button" class="button">Veröffentlichen</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="sidebar-block">
|
<div class="sidebar-block">
|
||||||
|
|||||||
+1
-1
@@ -37,7 +37,7 @@ $error = $error ?? null;
|
|||||||
<button type="submit"
|
<button type="submit"
|
||||||
value="anmelden"
|
value="anmelden"
|
||||||
name="loginSubmit"
|
name="loginSubmit"
|
||||||
class="login-button">
|
class="button">
|
||||||
anmelden
|
anmelden
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -33,13 +33,13 @@ $user = $user ?? null;
|
|||||||
</form>
|
</form>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
<a href="index.php?pfad=deleteAccount" class="login-button">
|
<a href="index.php?pfad=deleteAccount" class="button">
|
||||||
Account löschen
|
Account löschen
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<br><br>
|
<br><br>
|
||||||
|
|
||||||
<a href="index.php?pfad=logout" class="login-button">
|
<a href="index.php?pfad=logout" class="button">
|
||||||
Abmelden
|
Abmelden
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@@ -86,7 +86,7 @@ $user = $user ?? null;
|
|||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<p>Du hast noch keine Beiträge erstellt.</p>
|
<p>Du hast noch keine Beiträge erstellt.</p>
|
||||||
<button type="button" class="login-button" onclick="window.location.href='index.php?pfad=createArticle';">
|
<button type="button" class="button" onclick="window.location.href='index.php?pfad=createArticle';">
|
||||||
Beitrag erstellen!
|
Beitrag erstellen!
|
||||||
</button>
|
</button>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ $error = $error ?? null;
|
|||||||
<button type="submit"
|
<button type="submit"
|
||||||
value="register"
|
value="register"
|
||||||
name="registerSubmit"
|
name="registerSubmit"
|
||||||
class="login-button">
|
class="button">
|
||||||
kostenlos registrieren
|
kostenlos registrieren
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ include_once 'php/controller/showArticle-controller.php';
|
|||||||
<aside class="editor-sidebar">
|
<aside class="editor-sidebar">
|
||||||
|
|
||||||
<div class="sidebar-block">
|
<div class="sidebar-block">
|
||||||
<button type="submit" class="login-button">Änderungen speichern</button>
|
<button type="submit" class="button">Änderungen speichern</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="sidebar-block">
|
<div class="sidebar-block">
|
||||||
|
|||||||
+2
-2
@@ -155,7 +155,7 @@ a, button, input, select, textarea, label, main{
|
|||||||
color: #1f2937;
|
color: #1f2937;
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-button {
|
.button {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
background-color: #2563eb;
|
background-color: #2563eb;
|
||||||
@@ -168,7 +168,7 @@ a, button, input, select, textarea, label, main{
|
|||||||
transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
|
transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-button:hover {
|
.button:hover {
|
||||||
background-color: #1d4ed8;
|
background-color: #1d4ed8;
|
||||||
transform: translateY(-2px);
|
transform: translateY(-2px);
|
||||||
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
|
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
|
||||||
|
|||||||
Reference in New Issue
Block a user