Browse Source

Package the BioTorrents.de default theme

pjc 5 years ago
parent
commit
09c426cde0
42 changed files with 1344 additions and 3 deletions
  1. 3
    0
      _packages/matcha-theme/gazelle.sql
  2. BIN
      _packages/matcha-theme/static/common/bioicons/dna.png
  3. BIN
      _packages/matcha-theme/static/common/bioicons/extras.png
  4. BIN
      _packages/matcha-theme/static/common/bioicons/imaging.png
  5. BIN
      _packages/matcha-theme/static/common/bioicons/orcid.png
  6. BIN
      _packages/matcha-theme/static/common/bioicons/plasmid.png
  7. BIN
      _packages/matcha-theme/static/common/bioicons/proteins.png
  8. BIN
      _packages/matcha-theme/static/common/bioicons/rna.png
  9. BIN
      _packages/matcha-theme/static/common/hiware.png
  10. 0
    0
      _packages/matcha-theme/static/common/logo-black.png
  11. BIN
      _packages/matcha-theme/static/common/sam-komon.png
  12. BIN
      _packages/matcha-theme/static/styles/matcha/images/auto.png
  13. BIN
      _packages/matcha-theme/static/styles/matcha/images/bar.gif
  14. BIN
      _packages/matcha-theme/static/styles/matcha/images/bar_left.gif
  15. BIN
      _packages/matcha-theme/static/styles/matcha/images/bar_right.gif
  16. BIN
      _packages/matcha-theme/static/styles/matcha/images/go_last_read.png
  17. BIN
      _packages/matcha-theme/static/styles/matcha/images/grayarrow_close.png
  18. BIN
      _packages/matcha-theme/static/styles/matcha/images/grayarrow_open.png
  19. BIN
      _packages/matcha-theme/static/styles/matcha/images/headerbg.png
  20. BIN
      _packages/matcha-theme/static/styles/matcha/images/hide.png
  21. BIN
      _packages/matcha-theme/static/styles/matcha/images/hide2.png
  22. BIN
      _packages/matcha-theme/static/styles/matcha/images/locked_read.png
  23. BIN
      _packages/matcha-theme/static/styles/matcha/images/locked_sticky_read.png
  24. BIN
      _packages/matcha-theme/static/styles/matcha/images/locked_sticky_unread.png
  25. BIN
      _packages/matcha-theme/static/styles/matcha/images/locked_unread.png
  26. BIN
      _packages/matcha-theme/static/styles/matcha/images/messages.gif
  27. BIN
      _packages/matcha-theme/static/styles/matcha/images/newmessages.gif
  28. BIN
      _packages/matcha-theme/static/styles/matcha/images/other.png
  29. BIN
      _packages/matcha-theme/static/styles/matcha/images/read.png
  30. BIN
      _packages/matcha-theme/static/styles/matcha/images/show.png
  31. BIN
      _packages/matcha-theme/static/styles/matcha/images/show2.png
  32. BIN
      _packages/matcha-theme/static/styles/matcha/images/sticky_read.png
  33. BIN
      _packages/matcha-theme/static/styles/matcha/images/sticky_unread.png
  34. BIN
      _packages/matcha-theme/static/styles/matcha/images/unread.png
  35. 1169
    0
      _packages/matcha-theme/static/styles/matcha/style.css
  36. 169
    0
      _packages/matcha-theme/static/styles/public/style.css
  37. BIN
      _packages/matcha-theme/static/stylespreview/thumb_matcha.png
  38. BIN
      static/common/logo-black.png
  39. 0
    0
      static/common/logo-purple.png
  40. 1
    1
      static/styles/matcha/style.css
  41. 1
    1
      static/styles/oppai/style.css
  42. 1
    1
      static/styles/public/style.css

+ 3
- 0
_packages/matcha-theme/gazelle.sql View File

@@ -0,0 +1,3 @@
1
+-- Line 1791
2
+INSERT INTO stylesheets (ID, Name, Description, `Default`, Additions, Color) VALUES (1, 'Matcha', 'BioTorrents.de Stylesheet', '1', NULL, '#000000'), (2, 'Oppai', 'Oppaitime Stylesheet', '0', NULL, '#FBC2E5'), (3, 'Beluga', 'Beluga Stylesheet', '0', 'Pink|Haze', '#23252A'), (4, 'Genaviv', 'Genaviv Stylesheet', '0', 'Fixed Header', '#0A0A0A');
3
+-- Line 1791

BIN
_packages/matcha-theme/static/common/bioicons/dna.png View File


BIN
_packages/matcha-theme/static/common/bioicons/extras.png View File


BIN
_packages/matcha-theme/static/common/bioicons/imaging.png View File


BIN
_packages/matcha-theme/static/common/bioicons/orcid.png View File


BIN
_packages/matcha-theme/static/common/bioicons/plasmid.png View File


BIN
_packages/matcha-theme/static/common/bioicons/proteins.png View File


BIN
_packages/matcha-theme/static/common/bioicons/rna.png View File


BIN
_packages/matcha-theme/static/common/hiware.png View File


static/common/logo.black.png → _packages/matcha-theme/static/common/logo-black.png View File


BIN
_packages/matcha-theme/static/common/sam-komon.png View File


BIN
_packages/matcha-theme/static/styles/matcha/images/auto.png View File


BIN
_packages/matcha-theme/static/styles/matcha/images/bar.gif View File


BIN
_packages/matcha-theme/static/styles/matcha/images/bar_left.gif View File


BIN
_packages/matcha-theme/static/styles/matcha/images/bar_right.gif View File


BIN
_packages/matcha-theme/static/styles/matcha/images/go_last_read.png View File


BIN
_packages/matcha-theme/static/styles/matcha/images/grayarrow_close.png View File


BIN
_packages/matcha-theme/static/styles/matcha/images/grayarrow_open.png View File


BIN
_packages/matcha-theme/static/styles/matcha/images/headerbg.png View File


BIN
_packages/matcha-theme/static/styles/matcha/images/hide.png View File


BIN
_packages/matcha-theme/static/styles/matcha/images/hide2.png View File


BIN
_packages/matcha-theme/static/styles/matcha/images/locked_read.png View File


BIN
_packages/matcha-theme/static/styles/matcha/images/locked_sticky_read.png View File


BIN
_packages/matcha-theme/static/styles/matcha/images/locked_sticky_unread.png View File


BIN
_packages/matcha-theme/static/styles/matcha/images/locked_unread.png View File


BIN
_packages/matcha-theme/static/styles/matcha/images/messages.gif View File


BIN
_packages/matcha-theme/static/styles/matcha/images/newmessages.gif View File


BIN
_packages/matcha-theme/static/styles/matcha/images/other.png View File


BIN
_packages/matcha-theme/static/styles/matcha/images/read.png View File


BIN
_packages/matcha-theme/static/styles/matcha/images/show.png View File


BIN
_packages/matcha-theme/static/styles/matcha/images/show2.png View File


BIN
_packages/matcha-theme/static/styles/matcha/images/sticky_read.png View File


BIN
_packages/matcha-theme/static/styles/matcha/images/sticky_unread.png View File


BIN
_packages/matcha-theme/static/styles/matcha/images/unread.png View File


+ 1169
- 0
_packages/matcha-theme/static/styles/matcha/style.css
File diff suppressed because it is too large
View File


+ 169
- 0
_packages/matcha-theme/static/styles/public/style.css View File

@@ -0,0 +1,169 @@
1
+@media all and (orientation: portrait) {
2
+  #content {
3
+    background: none !important;
4
+  }
5
+  table#maincontent {
6
+    margin: auto;
7
+  }
8
+}
9
+
10
+* {
11
+  margin: 0;
12
+  padding: 0;
13
+}
14
+
15
+html, body {
16
+  height: 100%;
17
+}
18
+
19
+body {
20
+  font-family: Bitstream Vera Sans, Tahoma, sans-serif;
21
+  font-size: 11px;
22
+  color: black;
23
+  background: url('/static/common/hiware.png');
24
+}
25
+
26
+table {
27
+  font-size: inherit;
28
+}
29
+
30
+a {
31
+  color: #016670;
32
+  text-decoration: none;
33
+}
34
+
35
+a:hover {
36
+  color: black;
37
+  text-decoration: underline;
38
+}
39
+
40
+p {
41
+  margin: 1em 0;
42
+}
43
+
44
+input[type="text"], input[type="password"], input[type="email"] {
45
+  color: black;
46
+  background-color: white;
47
+  padding: 0 0 0 6px;
48
+  font: 500 14px/29px Helvetica, Arial, sans-serif;
49
+  width: 100%;
50
+  box-sizing: border-box;
51
+}
52
+
53
+input[type="text"]:valid, input[type="password"]:valid, input[type="email"] {
54
+  border-style: none;
55
+}
56
+
57
+input[type="text"]:invalid, input[type="password"]:invalid {
58
+  border: none;
59
+  border-right: 2px solid red;
60
+}
61
+
62
+#loginform > table, #recoverform > div > table {
63
+  border-spacing: 1px;
64
+}
65
+
66
+#loginform #username, #recoverform #new_pass_1 {
67
+  border-radius: 5px 5px 0 0;
68
+}
69
+
70
+#loginform input[type="submit"], #recoverform input[type="submit"], input[type="submit"] {
71
+  width: 100%;
72
+  background-color: #fbe180;
73
+  font: 500 14px/29px Helvetica, Arial, sans-serif;
74
+  border: none;
75
+  border-radius: 0 0 5px 5px;
76
+  cursor: pointer;
77
+}
78
+#loginform input[type="submit"]:hover, #recoverform input[type="submit"]:hover, input[type="submit"]:hover {
79
+  background-color: #fff9c7;
80
+}
81
+
82
+#recoverform .layout td:first-child {
83
+  width: 100%;
84
+  text-align: right;
85
+  padding-right: 5px;
86
+}
87
+
88
+#head, #foot {
89
+  height: 30px;
90
+  width: 100%;
91
+  background: #016670;
92
+  overflow: hidden;
93
+}
94
+
95
+#head {
96
+  text-align: right;
97
+}
98
+
99
+#foot {
100
+  text-align: center;
101
+  bottom: 0;
102
+  position: absolute;
103
+}
104
+
105
+#foot > span, #head > span {
106
+  line-height: 30px;
107
+  margin: 1em;
108
+}
109
+
110
+#foot > span, #head > span {
111
+  color: white;
112
+}
113
+
114
+#foot a, #head a {
115
+  color: white;
116
+}
117
+
118
+#foot a:hover, #head a:hover {
119
+  color: white;
120
+}
121
+
122
+#content {
123
+  height: calc(100% - 60px);
124
+  overflow-y: auto;
125
+  box-sizing: border-box;
126
+  background-repeat: no-repeat;
127
+  background-size: contain;
128
+  display: flex;
129
+  align-items: center;
130
+  padding: 0 25%;
131
+}
132
+
133
+#maincontent {
134
+  margin: auto 0 auto auto;
135
+  background-color: transparent;
136
+}
137
+
138
+#logo {
139
+  width: 250px;
140
+  height: 50px;
141
+  background-image: url('/static/common/logo-black.png');
142
+  background-repeat: no-repeat;
143
+  background-position: center;
144
+  background-size: contain;
145
+  margin: 1em 0;
146
+}
147
+
148
+.centered {
149
+  /* text-align: center; */
150
+  vertical-align: middle;
151
+}
152
+
153
+.hidden {
154
+  display: none;
155
+}
156
+
157
+.info {
158
+  color: green;
159
+  font-weight: bold;
160
+}
161
+
162
+.warning {
163
+  color: red;
164
+  font-weight: bold;
165
+}
166
+
167
+.notice {
168
+  width: 250px;
169
+}

BIN
_packages/matcha-theme/static/stylespreview/thumb_matcha.png View File


BIN
static/common/logo-black.png View File


static/common/logo.purple.png → static/common/logo-purple.png View File


+ 1
- 1
static/styles/matcha/style.css View File

@@ -157,7 +157,7 @@ ul.thin li { margin:0px 0px; padding:0px; }
157 157
 #logo {
158 158
   width: 250px;
159 159
   height: 50px;
160
-  background: url('/static/common/logo.black.png') no-repeat center center;
160
+  background: url('/static/common/logo-black.png') no-repeat center center;
161 161
   margin: 0 0 0 10%;
162 162
 }
163 163
 

+ 1
- 1
static/styles/oppai/style.css View File

@@ -147,7 +147,7 @@ ul.thin li { margin:0px 0px; padding:0px; }
147 147
 #logo {
148 148
   width: 250px;
149 149
   height: 50px;
150
-  background: url('/static/common/logo.purple.png') no-repeat center center;
150
+  background: url('/static/common/logo-purple.png') no-repeat center center;
151 151
   margin: 0 0 0 10%;
152 152
 }
153 153
 

+ 1
- 1
static/styles/public/style.css View File

@@ -138,7 +138,7 @@ input[type="text"]:invalid, input[type="password"]:invalid {
138 138
 #logo {
139 139
   width: 250px;
140 140
   height: 50px;
141
-  background-image: url('/static/common/logo.black.png');
141
+  background-image: url('/static/common/logo-black.png');
142 142
   background-repeat: no-repeat;
143 143
   background-position: center;
144 144
   background-size: contain;

Loading…
Cancel
Save