sovereign 1.0.0b125__py3-none-any.whl → 1.0.0b127__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of sovereign might be problematic. Click here for more details.

@@ -1,27 +1,33 @@
1
- @charset "utf-8";
2
-
3
- // Import a Google Font
4
- @import url('https://fonts.googleapis.com/css?family=Nunito:400,700');
1
+ @use "bulma/sass/utilities" with (
2
+ $family-primary: '"Nunito", sans-serif',
3
+ $primary: #433fca,
4
+ $link: #6c90ec,
5
+ );
5
6
 
6
7
  // Update Bulma's global variables
7
8
  $family-sans-serif: "Nunito", sans-serif;
8
- $primary: #433fca;
9
- $link: #6c90ec;
10
9
 
11
10
  // Force the navbar menu to not collapse
12
11
  $desktop: 1px;
13
12
  $body-background-color: rgb(250, 250, 250);
14
13
 
15
14
  // Import only what you need from Bulma
16
- @import "../../../../node_modules/bulma/sass/base/_all.sass";
17
- @import "../../../../node_modules/bulma/sass/form/_all.sass";
18
- @import "../../../../node_modules/bulma/sass/utilities/_all.sass";
19
- @import "../../../../node_modules/bulma/sass/helpers/_all.sass";
20
- @import "../../../../node_modules/bulma/sass/elements/button.sass";
21
- @import "../../../../node_modules/bulma/sass/elements/title.sass";
22
- @import "../../../../node_modules/bulma/sass/elements/content.sass";
23
- @import "../../../../node_modules/bulma/sass/components/navbar.sass";
24
- @import "../../../../node_modules/bulma/sass/components/dropdown.sass";
25
- @import "../../../../node_modules/bulma/sass/components/panel.sass";
26
- @import "../../../../node_modules/bulma/sass/grid/columns.sass";
27
- @import "../../../../node_modules/bulma/bulma.sass";
15
+ @forward "bulma/sass/base";
16
+ @forward "bulma/sass/elements/tag";
17
+ @forward "bulma/sass/elements/notification";
18
+ @forward "bulma/sass/elements/button";
19
+ @forward "bulma/sass/elements/content";
20
+ @forward "bulma/sass/elements/title";
21
+ @forward "bulma/sass/components/navbar";
22
+ @forward "bulma/sass/components/panel";
23
+ @forward "bulma/sass/components/pagination";
24
+ @forward "bulma/sass/components/dropdown";
25
+ @forward "bulma/sass/grid/columns";
26
+ @forward "bulma/sass/form";
27
+ @forward "bulma/sass/helpers";
28
+ @forward "bulma/sass/utilities";
29
+
30
+ @forward "bulma/sass/themes";
31
+
32
+ // Import a Google Font
33
+ @import url('https://fonts.googleapis.com/css?family=Nunito:400,700');
@@ -1,64 +1,77 @@
1
1
  <!DOCTYPE html>
2
- <html lang="en" class="has-navbar-fixed-top">
2
+ <html lang="en">
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
7
7
  <link rel="stylesheet" type="text/css" href="/static/style.css">
8
8
  <title>{% block title %}{% endblock %} - Sovereign</title>
9
+ <script src="/static/darkmode.js"></script>
9
10
  {%- block head %}{% endblock %}
10
11
  </head>
11
12
  <body>
12
- <div class="columns">
13
- <div class="column"></div>
14
13
  {%- block nav %}
15
- <div class="column is-two-thirds">
16
- {%- set active_page = resource_type|default('redirect_to_docs') -%}
17
- <nav class="navbar is-primary is-fixed-top" role="navigation" aria-label="main navigation">
18
- <div class="navbar-brand">
19
- <a class="navbar-item" href="/ui">
20
- <h4 class="title is-4" style="color: white">
21
- sovereign
22
- </h4>
23
- </a>
24
- </div>
25
- <div id="navbar" class="navbar-menu">
26
- <div class="navbar-start">
27
- <div class="navbar-item has-dropdown is-hoverable">
28
- <a class="navbar-link">
29
- Resources
30
- </a>
31
- <div class="navbar-dropdown">
32
- {%- for type in all_types %}
33
- <a class="navbar-item{% if type == active_page %} is-active{% endif %}"
34
- href="/ui/resources/{{ type }}">
35
- {{ type }}
14
+ <div class="hero">
15
+ <div class="hero-body p-4">
16
+ <a href="#">
17
+ <h3 class="title is-3" style="margin-bottom: 0px">sovereign</h3>
18
+ <h7 class="title is-7">version {{ sovereign_version }}</h7>
19
+ </a>
20
+ </div>
21
+ </div>
22
+
23
+ <div class="columns is-gapless" style="min-height: calc(100vh - 120px);">
24
+ <div class="column is-narrow" style="width: 250px;">
25
+ <aside class="menu p-4" style="height: 100%;">
26
+ <div class="mb-4">
27
+ <p class="menu-label">RESOURCES</p>
28
+ <ul class="menu-list">
29
+ {%- set active_page = resource_type|default('redirect_to_docs') -%}
30
+ {%- for type in all_types %}
31
+ <li style="padding: 2px">
32
+ <a href="/ui/resources/{{ type }}"
33
+ style="padding: 3px; border-radius: 4px"
34
+ {% if type == active_page %}class="is-active has-background-primary has-text-white"{% endif %}>
35
+ {{ type|capitalize }}
36
36
  </a>
37
- {%- endfor %}
38
- </div>
39
- </div>
37
+ </li>
38
+ {%- endfor %}
39
+ </ul>
40
40
  </div>
41
- <div class="navbar-end">
42
- <div class="navbar-item">
43
- <a class="button is-dark" href="/docs">
44
- <span>OpenAPI</span>
45
- </a>
46
- </div>
41
+
42
+ <div class="mb-4">
43
+ <p class="menu-label">LINKS</p>
44
+ <ul class="menu-list">
45
+ <li>
46
+ <a href="/docs">OpenAPI Spec</a>
47
+ </li>
48
+ <li>
49
+ <a href="https://developer.atlassian.com/platform/sovereign/">Documentation</a>
50
+ </li>
51
+ <li>
52
+ <a href="https://bitbucket.org/atlassian/sovereign">Repository</a>
53
+ </li>
54
+ </ul>
47
55
  </div>
56
+
57
+ <p class="menu-label">THEME</p>
58
+ <button id="dark-mode-toggle" class="button is-small">
59
+ <span>🌘</span>
60
+ </button>
61
+ </aside>
62
+ </div>
63
+
64
+ <div class="column">
65
+ <div class="p-4" style="max-width: 1000px">
66
+ {%- endblock %}
67
+ {%- block body %}
68
+ {% endblock -%}
48
69
  </div>
49
- </nav>
50
- {%- endblock %}
51
-
52
- {%- block subnav %}
53
- {%- endblock %}
54
-
55
- {%- block body %}
56
- {% endblock -%}
70
+ </div>
57
71
  </div>
58
- <div class="column"></div>
59
- </div>
60
- <footer class="footer">
61
- {% block footer %}{% endblock %}
62
- </footer>
72
+
73
+ <footer class="footer">
74
+ {% block footer %}{% endblock %}
75
+ </footer>
63
76
  </body>
64
77
  </html>