Skip to content

Commit d07547a

Browse files
committed
Stub out new docs layout. Add full logomark to icon font.
1 parent cedb96d commit d07547a

File tree

8 files changed

+44
-13
lines changed

8 files changed

+44
-13
lines changed
1.74 KB
Binary file not shown.

src/sentry/static/sentry/fonts/sentry-simple.svg

Lines changed: 1 addition & 0 deletions
Loading
1.74 KB
Binary file not shown.
872 Bytes
Binary file not shown.

src/sentry/static/sentry/less/fonts.less

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
-moz-osx-font-smoothing: grayscale;
2424
}
2525

26+
.icon-sentry-logo-full:before {
27+
content: "\e61a";
28+
}
2629
.icon-eye:before {
2730
content: "\e60b";
2831
}

src/sentry/static/sentry/less/sentry.less

Lines changed: 35 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2360,7 +2360,7 @@ table.integrations {
23602360

23612361
.narrow {
23622362
.container {
2363-
max-width: 800px;
2363+
max-width: 960px;
23642364
}
23652365
}
23662366

@@ -2428,18 +2428,43 @@ table.integrations {
24282428
// Help
24292429

24302430
.help {
2431-
font-size: 18px;
2432-
line-height: 1.8;
2433-
padding-top: 5px;
2431+
header {
2432+
background: none;
2433+
color: @gray-dark;
2434+
padding: 30px 0;
2435+
margin-bottom: 0;
24342436

2435-
p, ul, ol {
2436-
margin: 20px 0;
2437-
line-height: 1.7;
2437+
#logo {
2438+
font-size: 30px;
2439+
}
2440+
.user-nav {
2441+
margin-top: 9px;
2442+
}
2443+
2444+
a {
2445+
color: @gray-dark;
2446+
}
2447+
2448+
h1 {
2449+
font-size: 20px;
2450+
}
24382451
}
24392452

2440-
ul, ol {
2441-
li {
2442-
margin-bottom: 5px;
2453+
.content {
2454+
border-top: 3px solid #f1f2f3;
2455+
font-size: 18px;
2456+
line-height: 1.8;
2457+
padding-top: 5px;
2458+
2459+
p, ul, ol {
2460+
margin: 20px 0;
2461+
line-height: 1.7;
2462+
}
2463+
2464+
ul, ol {
2465+
li {
2466+
margin-bottom: 5px;
2467+
}
24432468
}
24442469
}
24452470

src/sentry/templates/sentry/help/index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
{% load i18n %}
44
{% load sentry_helpers %}
55

6-
{% block heading %}Sentry{% endblock %}
7-
{% block bodyclass %}help{% endblock %}
6+
{% block heading %}{% endblock %}
7+
{% block wrapperclass %}help narrow{% endblock %}
8+
9+
{% block logo %}<a id="logo" href="{% url 'sentry' %}"><span class="icon-sentry-logo-full"></span></a>{% endblock %}
810

911
{% block content %}
1012
{% block helpcontent %}

src/sentry/templates/sentry/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
{% block header %}
6666
<header>
6767
<div class="container">
68-
<a id="logo" href="{% url 'sentry' %}"><span class="icon-sentry-logo"></span></a>
68+
{% block logo %}<a id="logo" href="{% url 'sentry' %}"><span class="icon-sentry-logo"></span></a>{% endblock %}
6969
<ul class="pull-right user-nav">
7070
{% block account_nav %}
7171
{% if request.user.is_authenticated %}

0 commit comments

Comments
 (0)