summaryrefslogtreecommitdiff
path: root/src/web/_views/modal
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-12-20 04:15:58 -0500
committerFreya Murphy <freya@freyacat.org>2024-12-20 04:17:05 -0500
commit4334596d4bebc9a76f5ca8400813847eef5b3bb7 (patch)
tree4bd2229fd48715bcf4ae96bc3d070b7f3c29aa58 /src/web/_views/modal
parentadd lang column to user (diff)
downloadxssbook2-4334596d4bebc9a76f5ca8400813847eef5b3bb7.tar.gz
xssbook2-4334596d4bebc9a76f5ca8400813847eef5b3bb7.tar.bz2
xssbook2-4334596d4bebc9a76f5ca8400813847eef5b3bb7.zip
rework styles with scss
Diffstat (limited to '')
-rw-r--r--src/web/_views/modal/about.php4
-rw-r--r--src/web/_views/modal/new_post.php4
-rw-r--r--src/web/_views/modal/register.php6
3 files changed, 7 insertions, 7 deletions
diff --git a/src/web/_views/modal/about.php b/src/web/_views/modal/about.php
index d434908..55ea3f0 100644
--- a/src/web/_views/modal/about.php
+++ b/src/web/_views/modal/about.php
@@ -4,8 +4,8 @@
<span class="logo">xssbook</span>
<span class="mb"><?=ucfirst(lang('version'))?></span>
<span><?=ucfirst(lang('copyright'))?></span>
- <a class="btn btn-blue mt" href="https://g.freya.cat/freya/xssbook2">Source Code</a>
- <p>For reports of abuse, please email <a class="btn-blue" href="mailto:contact@freyacat.org">contact@freyacat.org</a></p>
+ <a class="btn btn-primary mt" href="https://g.freya.cat/freya/xssbook2">Source Code</a>
+ <p>For reports of abuse, please email <a class="btn-primary" href="mailto:contact@freyacat.org">contact@freyacat.org</a></p>
</div>
<style>
#about-modal-body {
diff --git a/src/web/_views/modal/new_post.php b/src/web/_views/modal/new_post.php
index c9e9c7f..66e6561 100644
--- a/src/web/_views/modal/new_post.php
+++ b/src/web/_views/modal/new_post.php
@@ -9,7 +9,7 @@
<?=pfp($user)?>
<div class="col ml">
<strong><?=$user['first_name'] . ' ' . $user['last_name']?></strong>
- <span class="dim"><?=ucfirst(lang('now'))?></span>
+ <span class="subtext"><?=ucfirst(lang('now'))?></span>
</div>
</div>
<textarea
@@ -22,7 +22,7 @@
<div class="modal-footer">
<?=ilang('action_submit',
id: 'new-post-submit',
- class: 'btn btn-wide btn-submit',
+ class: 'btn btn-submit btn-alt grow',
attrs: array('type' => 'submit'),
button: TRUE
)?>
diff --git a/src/web/_views/modal/register.php b/src/web/_views/modal/register.php
index a6a2f1f..9fa1fe2 100644
--- a/src/web/_views/modal/register.php
+++ b/src/web/_views/modal/register.php
@@ -7,7 +7,7 @@
<?=ucwords(lang('ph_basic_info'))?>
</label>
<div class="row mt">
- <div class="rel btn-wide">
+ <div class="rel grow">
<input
type="text"
name="first_name"
@@ -18,7 +18,7 @@
<?=ucwords(lang('ph_first_name'))?>
</label>
</div>
- <div class="rel ml btn-wide">
+ <div class="rel ml grow">
<input
type="text"
name="last_name"
@@ -123,7 +123,7 @@
<div class="modal-footer">
<?=ilang('action_register',
id: 'register-submit',
- class: 'btn btn-wide btn-success',
+ class: 'btn grow btn-success',
attrs: array('type' => 'submit'),
button: TRUE
)?>