diff --git a/frontend/templates/503.html b/frontend/templates/503.html
index 3f693ae1..ac436a2d 100644
--- a/frontend/templates/503.html
+++ b/frontend/templates/503.html
@@ -1,5 +1,11 @@
{% extends "base.html" %}
+{% block news %}
+
+ Amazon database connectivity outages are keeping us from being able to unglue with you right now. See
Amazon's status page for more. We're doing what we can from our end. Do come back later.
+
+{% endblock %}
+
{% block content %}
Unglue.it is currently undergoing maintenance
diff --git a/frontend/templates/base.html b/frontend/templates/base.html
index 8ebd74b3..66399948 100644
--- a/frontend/templates/base.html
+++ b/frontend/templates/base.html
@@ -37,6 +37,15 @@
});
{% endif %}
+
{% block extra_head %}
{% endblock %}
@@ -72,40 +81,53 @@
{% endif %}
-
+ {% if user.is_authenticated %}
+
+ {% else %}
+
+ {% endif %}
{% block news %}
{% endblock %}
@@ -118,43 +140,44 @@
diff --git a/frontend/templates/supporter.html b/frontend/templates/supporter.html
index d89b2c06..892ed502 100644
--- a/frontend/templates/supporter.html
+++ b/frontend/templates/supporter.html
@@ -21,9 +21,18 @@
diff --git a/static/css/sitewide.css b/static/css/sitewide.css
index 05b2aa32..f754af13 100644
--- a/static/css/sitewide.css
+++ b/static/css/sitewide.css
@@ -610,11 +610,52 @@ ul.menu {
}
.js-topmenu {
float: right;
- padding-top: 25px;
+ margin-top: 25px;
+}
+.js-topmenu#authenticated {
+ -moz-border-radius: 5px;
+ -webkit-border-radius: 5px;
+ border-radius: 5px;
+ -moz-border-radius: 5px;
+ -webkit-border-radius: 5px;
+ border-radius: 5px;
+ height: 36px;
+}
+.js-topmenu#authenticated:hover,
+.js-topmenu#authenticated.highlight {
+ background: #d6dde0;
+ cursor: pointer;
+ position: relative;
+}
+.js-topmenu ul#user_menu {
+ display: none;
+ z-index: 100;
+ position: absolute;
+ top: 36px;
+ left: 0;
+ padding: 0;
+ overflow: visible;
+}
+.js-topmenu ul#user_menu li {
+ border-top: 1px solid white;
+ list-style-type: none;
+ float: none;
+ background: #d6dde0;
+ padding: 0 10px;
+}
+.js-topmenu ul#user_menu li:hover {
+ background: #8dc63f;
+}
+.js-topmenu ul#user_menu li:hover a {
+ color: white;
+}
+.js-topmenu ul#user_menu li:hover #i_haz_notifications {
+ border-color: white;
+ background-color: white;
+ color: #3d4e53;
}
.js-topmenu ul li {
float: left;
- padding: 0 10px;
position: relative;
z-index: 50;
}
@@ -651,33 +692,18 @@ ul.menu {
font-weight: bold;
font-size: 13px;
letter-spacing: -0.05em;
- overflow: auto;
- max-width: 240px;
+ padding: 0 10px;
+ margin-right: 5px;
}
-.js-topmenu ul li #unseen_count div {
- border: solid 2px;
- -moz-border-radius: 5px;
- -webkit-border-radius: 5px;
- border-radius: 5px;
- -moz-border-radius: 5px;
- -webkit-border-radius: 5px;
- border-radius: 5px;
- padding: 3px;
- line-height: 16px;
- width: 16px;
- cursor: pointer;
- text-align: center;
- margin-left: -10px;
+.js-topmenu ul li span#welcome img {
+ vertical-align: middle;
}
-.js-topmenu ul li #unseen_count div#i_haz_notifications {
- background-color: #8dc63f;
- color: white;
- border-color: #8dc63f;
+.js-topmenu ul li img {
+ padding: 0;
+ margin: 0;
}
-.js-topmenu ul li #unseen_count div#no_notifications_for_you {
- border-color: #d6dde0;
- background-color: #d6dde0;
- color: #edf3f4;
+.js-topmenu ul li.last {
+ padding-left: 20px;
}
.js-topmenu ul li.last a {
background: url("/static/images/bg.png") right top no-repeat;
@@ -695,6 +721,31 @@ ul.menu {
padding: 0 5px 0 15px;
color: white;
}
+.js-topmenu ul .unseen_count {
+ border: solid 2px;
+ -moz-border-radius: 5px;
+ -webkit-border-radius: 5px;
+ border-radius: 5px;
+ -moz-border-radius: 5px;
+ -webkit-border-radius: 5px;
+ border-radius: 5px;
+ padding: 3px;
+ line-height: 16px;
+ width: 16px;
+ cursor: pointer;
+ text-align: center;
+ margin-left: 10px;
+}
+.js-topmenu ul .unseen_count#i_haz_notifications {
+ background-color: #8dc63f;
+ color: white;
+ border-color: #8dc63f;
+}
+.js-topmenu ul .unseen_count#no_notifications_for_you {
+ border-color: #edf3f4;
+ background-color: #edf3f4;
+ color: #3d4e53;
+}
.js-search {
float: left;
padding-top: 25px;
diff --git a/static/css/supporter_layout.css b/static/css/supporter_layout.css
index 1c32475d..e12f0fb1 100644
--- a/static/css/supporter_layout.css
+++ b/static/css/supporter_layout.css
@@ -203,7 +203,7 @@ img.user-avatar {
}
.user-badges img {
vertical-align: text-bottom;
- border: 1px solid #D4D4D4;
+ border: 1px solid #d4d4d4;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
diff --git a/static/images/menu_bar_down_arrow.png b/static/images/menu_bar_down_arrow.png
new file mode 100644
index 00000000..51e11361
Binary files /dev/null and b/static/images/menu_bar_down_arrow.png differ
diff --git a/static/images/menu_bar_up_arrow.png b/static/images/menu_bar_up_arrow.png
new file mode 100644
index 00000000..5f29c135
Binary files /dev/null and b/static/images/menu_bar_up_arrow.png differ
diff --git a/static/less/sitewide.less b/static/less/sitewide.less
index c03259f0..42c558e9 100644
--- a/static/less/sitewide.less
+++ b/static/less/sitewide.less
@@ -265,12 +265,54 @@ ul.menu{
.js-topmenu {
float:right;
- padding-top:25px;
+ margin-top:25px;
+ authenticated {
+ .one-border-radius(5px);
+ height: 36px;
+ }
+
+ authenticated:hover, authenticated.highlight {
+ background: @blue-grey;
+ cursor: pointer;
+ position: relative;
+ }
+
ul {
+ user_menu {
+ display: none;
+ z-index: 100;
+ position: absolute;
+ top: 36px;
+ left: 0;
+ padding: 0;
+ overflow: visible;
+
+ li {
+ border-top: 1px solid white;
+ list-style-type: none;
+ float: none;
+ background: @blue-grey;
+ padding: 0 10px;
+
+ &:hover {
+ background: @call-to-action;
+ a {
+ color: white;
+ }
+
+ #i_haz_notifications {
+ border-color: white;
+ background-color: white;
+ color: @text-blue;
+ }
+
+ }
+ }
+ }
+
li {
float:left;
- padding:0 10px;
position: relative;
z-index: 50;
@@ -282,43 +324,26 @@ ul.menu{
span#welcome {
color:@green;
.header-text;
- overflow:auto;
- //emergency backstop to prevent usernames too long for truncate filter to force header into content area
- max-width: 240px;
+ padding: 0 10px;
+ margin-right: 5px;
+
+ img {
+ vertical-align: middle;
+ }
}
- #unseen_count {
-
- div {
- border: solid 2px;
- .one-border-radius(5px);
- padding: 3px;
- line-height: 16px;
- width: 16px;
- cursor: pointer;
- text-align: center;
- margin-left: -10px;
-
- i_haz_notifications {
- background-color: @call-to-action;
- color: white;
- border-color: @call-to-action;
- }
-
- no_notifications_for_you {
- border-color: @blue-grey;
- background-color: @blue-grey;
- color: @pale-blue;
- }
- }
+ img {
+ padding: 0;
+ margin: 0;
}
-
+
&.last {
+ padding-left: 20px;
+
a {
background: url(@background-header) right top no-repeat;
span {
- //background:url(@background-header) -770px -36px no-repeat;
.border-radius(32px, 0, 0, 32px);
background-color: @call-to-action;
margin-right:29px;
@@ -329,6 +354,29 @@ ul.menu{
}
}
}
+
+ .unseen_count {
+ border: solid 2px;
+ .one-border-radius(5px);
+ padding: 3px;
+ line-height: 16px;
+ width: 16px;
+ cursor: pointer;
+ text-align: center;
+ margin-left: 10px;
+
+ i_haz_notifications {
+ background-color: @call-to-action;
+ color: white;
+ border-color: @call-to-action;
+ }
+
+ no_notifications_for_you {
+ border-color: @pale-blue;
+ background-color: @pale-blue;
+ color: @text-blue;
+ }
+ }
}
}
diff --git a/static/less/supporter_layout.less b/static/less/supporter_layout.less
index 1c2132a3..bb8b59d7 100644
--- a/static/less/supporter_layout.less
+++ b/static/less/supporter_layout.less
@@ -131,7 +131,6 @@ img.user-avatar {
vertical-align:text-bottom;
border:1px solid #d4d4d4;
.one-border-radius(5px);
- }
}
}