aboutsummaryrefslogtreecommitdiff
path: root/petrichor.css
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2016-03-14 16:04:05 +1300
committerDavid Phillips <dbphillipsnz@gmail.com>2016-03-14 16:04:05 +1300
commit34e34f456cce4aabe3806f7dc6438d6e03f32b10 (patch)
tree7d1c0f79eaf3a786f56557c2535e4f59c6d32c8d /petrichor.css
parentb4607e0d51a1982272460e0ab9af359d92876f3f (diff)
parent1ffe28ca0ef8eab3dc1528d4f035377591935466 (diff)
downloadpetrichor-34e34f456cce4aabe3806f7dc6438d6e03f32b10.tar.xz
Merge branch 'develop' into release
Diffstat (limited to 'petrichor.css')
-rw-r--r--petrichor.css75
1 files changed, 72 insertions, 3 deletions
diff --git a/petrichor.css b/petrichor.css
index 72d1b6e..a8ef1ad 100644
--- a/petrichor.css
+++ b/petrichor.css
@@ -1,7 +1,7 @@
html
{
color: #FFF;
- background-image: url('bg.jpg');
+ background-image: url('image/bg.jpg');
background-size: cover;
font-family: "Roboto Condensed";
}
@@ -18,6 +18,75 @@ body,html
transition: opacity ease 0.3s;
}
+#mask
+{
+ text-align: center;
+ transition: visibility 0s linear 0.15s, opacity 0.15s linear;
+ position: absolute;
+ top: 0px;
+ left: 0px;
+ right: 0px;
+ bottom: 0px;
+ background-color: rgba(0,0,0,0.7);
+ visibility: hidden;
+ opacity: 0;
+}
+
+#power-confirm
+{
+ position: absolute;
+ left: 50%;
+ bottom: 50px;
+ visibility: hidden;
+ opacity: 0;
+}
+
+#power-confirm > ul
+{
+ display: inline-block;
+ margin: 0px 0px 0px -50%;
+}
+
+#power-confirm li
+{
+ text-align: center;
+ list-style: none;
+ display: inline-block;
+ margin-left: 2em;
+ margin-right: 2em;
+}
+
+#power-confirm li a
+{
+ text-decoration: none;
+ color: inherit;
+ font-size: 1.5em;
+ display: inline-block;
+}
+
+#power-confirm li div
+{
+ display: block;
+ height: 96px;
+ width: 96px;
+ border-radius: 48px;
+}
+
+#icon-shutdown
+{
+ background: url('image/shutdown.png') #C33;
+}
+
+#icon-reboot
+{
+ background: url('image/reboot.png') #33C;
+}
+
+#icon-cancel
+{
+ background: url('image/cancel.png') #3C3;
+}
+
#shutdown
{
position: absolute;
@@ -106,7 +175,7 @@ a.user
transition: visibility 0s linear 0.15s, opacity 0.15s linear;
}
-#password-container.shown, #message-container.shown
+#password-container.shown, #message-container.shown, #mask.shown, #power-confirm.shown
{
visibility: visible;
opacity: 1;
@@ -151,7 +220,7 @@ a.user
color: #333;
opacity: 0.5;
padding-right: 2em;
- background: url('drop-down.svg') no-repeat right #FFF;
+ background: url('image/drop-down.svg') no-repeat right #FFF;
-webkit-appearance: none;
-moz-appearance: none; /* only for when testing */
}