Browse Source

Add 'Blitz, No Logo, Orzech' and 'Shadow Boxex & Rounded Corners, Orzech' skins

Piotr Orzechowski 10 months ago
parent
commit
658f4c06de

+ 18
- 0
Makefile View File

@@ -0,0 +1,18 @@
1
+src = src
2
+dst = dist
3
+
4
+skins := $(shell find ${src} -mindepth 1 -maxdepth 1 -type d -printf '%f\n')
5
+
6
+${skins}:
7
+	mkdir -p ${dst}/${@}
8
+	cp ${src}/${@}/header.html ${dst}/${@}/header.txt
9
+	cp ${src}/${@}/footer.html ${dst}/${@}/footer.txt
10
+	cp ${src}/${@}/style.css ${dst}/${@}/css.txt
11
+	cp ${src}/${@}/details.txt ${dst}/${@}/details.txt
12
+
13
+build: ${skins}
14
+
15
+rebuild: clean build
16
+
17
+clean:
18
+	rm -rf dist

+ 9
- 0
README.md View File

@@ -0,0 +1,9 @@
1
+## Fossil skins
2
+
3
+* [Blitz, No Logo, Orzech](/xfer/dir?ci=tip&name=src/skins/blitz_nologo_orzech)
4
+  Skin based on [Blitz, No Logo](https://fossil-scm.org/xfer/dir?ci=tip&name=skins/blitz_no_logo).
5
+  Color scheme based on [Slate](https://github.com/pages-themes/slate).
6
+
7
+* [Shadow boxes & Rounded Corners, Orzech](/xfer/dir?ci=tip&name=src/skins/shadow_boxes_rounded_corners_orzech)
8
+  Skin based on [Shadow boxes & Rounded Corners](https://fossil-scm.org/xfer/dir?ci=tip&name=skins/rounded1).
9
+  Color scheme based on [Slate](https://github.com/pages-themes/slate).

+ 5
- 0
src/blitz_nologo_orzech/details.txt View File

@@ -0,0 +1,5 @@
1
+timeline-arrowheads:        0
2
+timeline-circle-nodes:      1
3
+timeline-color-graph-lines: 1
4
+white-foreground:           0
5
+

+ 15
- 0
src/blitz_nologo_orzech/footer.html View File

@@ -0,0 +1,15 @@
1
+      </div> <!-- end div container -->
2
+    </div> <!-- end div middle max-full-width -->
3
+    <div class="footer">
4
+      <div class="container">
5
+        <div class="pull-right">
6
+          Piotr Orzechowski &#91;<a href="//orzechowski.tech">orzechowski.tech</a>&#93;
7
+        </div>
8
+        This page was generated in about
9
+        <th1>puts [expr {([utime]+[stime]+1000)/1000*0.001}]</th1>s
10
+        by <a href="http://www.fossil-scm.org" rel="noopener noreferrer">Fossil</a>.
11
+      </div>
12
+    </div>
13
+  </body>
14
+</html>
15
+

+ 93
- 0
src/blitz_nologo_orzech/header.html View File

@@ -0,0 +1,93 @@
1
+<html>
2
+  <head>
3
+    <meta charset="UTF-8" />
4
+    <meta name="viewport" content="width=700, initial-scale=1" />
5
+    <base href="$baseurl/$current_page" />
6
+    <title>
7
+      <th1>
8
+        if {$title eq $project_name} {
9
+          html "$project_name: Home"
10
+        } else {
11
+          html "$project_name: $title"
12
+        }
13
+      </th1>
14
+    </title>
15
+      <link rel="alternate" type="application/rss+xml" title="RSS Feed" href="$home/timeline.rss" />
16
+      <link rel="stylesheet" href="$stylesheet_url" type="text/css" media="screen" />
17
+  </head>
18
+
19
+  <body>
20
+    <div class="header">
21
+      <div class="container">
22
+
23
+        <div class="login pull-right">
24
+          <th1>
25
+            if {[info exists login]} {
26
+              html "<b>$login</b> — <a class='button' href='$home/login'>Logout</a>\n"
27
+            } else {
28
+              html "<a class='button' href='$home/login'>Login</a>\n"
29
+            }
30
+          </th1>
31
+        </div>
32
+        <div class='title'>
33
+          <h1>$<project_name>
34
+          <th1>
35
+          if {[anycap jor]} {
36
+            html "<a class='rss' href='$home/timeline.rss'></a>"
37
+          }
38
+          
39
+          if {$title eq $project_name} {
40
+            html "</h1>"
41
+          } else {
42
+            html "<small> &nbsp;$title</small></h1>"
43
+          }
44
+          </th1>
45
+        </div>
46
+
47
+        <!-- Main Menu -->
48
+        <div class="mainmenu">
49
+          <ul>
50
+            <th1>
51
+proc menulink {url name} {
52
+  upvar current_page current
53
+  upvar home home
54
+  if {[string range $url 0 [string length $current]] eq "/$current"} {
55
+    html "<li class='active'>"
56
+  } else {
57
+    html "<li>"
58
+  }
59
+  html "<a href='$home$url'>$name</a></li>\n"
60
+}
61
+menulink $index_page Home
62
+if {[anycap jor]} {
63
+  menulink /timeline Timeline
64
+}
65
+if {[hascap oh]} {
66
+  menulink /dir?ci=tip Files
67
+}
68
+if {[hascap o]} {
69
+  menulink  /brlist Branches
70
+  menulink  /taglist Tags
71
+}
72
+if {[hascap r]} {
73
+  menulink /ticket Tickets
74
+}
75
+if {[hascap j]} {
76
+  menulink /wiki Wiki
77
+}
78
+if {[hascap o]} {
79
+  menulink /help Help
80
+  }
81
+if {[hascap s]} {
82
+  menulink /setup Admin
83
+} elseif {[hascap a]} {
84
+  menulink /setup_ulist Users
85
+}
86
+            </th1>
87
+          </ul>
88
+        </div> <!-- end div mainmenu -->
89
+      </div> <!-- end div container -->
90
+    </div> <!-- end div header -->
91
+    <div class="middle max-full-width">
92
+      <div class="container">
93
+

+ 1259
- 0
src/blitz_nologo_orzech/style.css
File diff suppressed because it is too large
View File


+ 5
- 0
src/shadow_boxes_rounded_corners_orzech/details.txt View File

@@ -0,0 +1,5 @@
1
+timeline-arrowheads:        1
2
+timeline-circle-nodes:      1
3
+timeline-color-graph-lines: 1
4
+white-foreground:           0
5
+

+ 8
- 0
src/shadow_boxes_rounded_corners_orzech/footer.html View File

@@ -0,0 +1,8 @@
1
+<div class="footer">
2
+Piotr Orzechowski &#91;<a href="//orzechowski.tech">orzechowski.tech</a>&#93;.<br>
3
+This page was generated in about
4
+<th1>puts [expr {([utime]+[stime]+1000)/1000*0.001}]</th1>s by
5
+<a href="http://www.fossil-scm.org">Fossil</a>.
6
+</div>
7
+</body></html>
8
+

+ 56
- 0
src/shadow_boxes_rounded_corners_orzech/header.html View File

@@ -0,0 +1,56 @@
1
+<html>
2
+<head>
3
+<meta name="viewport" content="width=device-width, initial-scale=1" />
4
+<base href="$baseurl/$current_page" />
5
+<title>$<project_name>: $<title></title>
6
+<link rel="alternate" type="application/rss+xml" title="RSS Feed"
7
+      href="$home/timeline.rss">
8
+<link rel="stylesheet" href="$stylesheet_url" type="text/css"
9
+      media="screen">
10
+</head>
11
+<body>
12
+<div class="header">
13
+  <div class="logo">
14
+    <br />$<project_name>
15
+  </div>
16
+  <div class="title">$<title></div>
17
+  <div class="status"><th1>
18
+     if {[info exists login]} {
19
+       puts "Logged in as $login"
20
+     } else {
21
+       puts "Not logged in"
22
+     }
23
+  </th1></div>
24
+</div>
25
+<div class="mainmenu">
26
+<th1>
27
+html "<a href='$home$index_page'>Home</a>\n"
28
+if {[anycap jor]} {
29
+  html "<a href='$home/timeline'>Timeline</a>\n"
30
+}
31
+if {[hascap oh]} {
32
+  html "<a href='$home/dir?ci=tip'>Files</a>\n"
33
+}
34
+if {[hascap o]} {
35
+  html "<a href='$home/brlist'>Branches</a>\n"
36
+  html "<a href='$home/taglist'>Tags</a>\n"
37
+}
38
+if {[hascap r]} {
39
+  html "<a href='$home/reportlist'>Tickets</a>\n"
40
+}
41
+if {[hascap j]} {
42
+  html "<a href='$home/wiki'>Wiki</a>\n"
43
+}
44
+html "<a href='$home/help'>Help</a>\n"
45
+if {[hascap s]} {
46
+  html "<a href='$home/setup'>Admin</a>\n"
47
+} elseif {[hascap a]} {
48
+  html "<a href='$home/setup_ulist'>Users</a>\n"
49
+}
50
+if {[info exists login]} {
51
+  html "<a href='$home/login'>Logout</a>\n"
52
+} else {
53
+  html "<a href='$home/login'>Login</a>\n"
54
+}
55
+</th1></div>
56
+

+ 198
- 0
src/shadow_boxes_rounded_corners_orzech/style.css View File

@@ -0,0 +1,198 @@
1
+/* General settings for the entire page */
2
+html {
3
+  min-height: 100%;
4
+}
5
+body {
6
+  margin: 0ex 1ex;
7
+  padding: 0px;
8
+  background-color: #373737;
9
+  color: black;
10
+  font-family: Verdana, sans-serif;
11
+  font-size: 0.8em;
12
+  -moz-text-size-adjust: none;
13
+  -webkit-text-size-adjust: none;
14
+  -mx-text-size-adjust: none;
15
+}
16
+
17
+/* The project logo in the upper left-hand corner of each page */
18
+div.logo {
19
+  color: white;
20
+  display: table-cell;
21
+  text-align: right;
22
+  vertical-align: bottom;
23
+  font-weight: normal;
24
+  white-space: nowrap;
25
+}
26
+
27
+/* Widths */
28
+div.header, div.mainmenu, div.submenu, div.content, div.footer {
29
+  max-width: 900px;
30
+  margin: auto;
31
+  padding: 3px 20px 3px 20px;
32
+  clear: both;
33
+}
34
+
35
+/* The page title at the top of each page */
36
+div.title {
37
+  display: table-cell;
38
+  padding-top: 50px;
39
+  padding-left: 10px;
40
+  font-size: 2em;
41
+  margin: 10px 0 10px -20px;
42
+  vertical-align: bottom;
43
+  text-align: left;
44
+  width: 80%;
45
+  font-family: Verdana, sans-serif;
46
+  font-weight: bold;
47
+  color: white;
48
+  text-shadow: 0px 2px 2px black;
49
+}
50
+
51
+/* The login status message in the top right-hand corner */
52
+div.status {
53
+  display: table-cell;
54
+  text-align: right;
55
+  vertical-align: bottom;
56
+  color: #f2f2f2;
57
+  margin-right: -20px;
58
+  white-space: nowrap;
59
+}
60
+
61
+/* The main menu bar that appears at the top of the page beneath
62
+ ** the header */
63
+div.mainmenu {
64
+  text-align: center;
65
+  color: white;
66
+  border-top-left-radius: 5px;
67
+  border-top-right-radius: 5px;
68
+  vertical-align: middle;
69
+  padding-top: 8px;
70
+  padding-bottom: 8px;
71
+  background-color: #0090ff;
72
+  box-shadow: 0px 3px 4px black;
73
+}
74
+
75
+/* The submenu bar that *sometimes* appears below the main menu */
76
+div.submenu {
77
+  padding-top:10px;
78
+  padding-bottom:0;
79
+  text-align: right;
80
+  color: #000;
81
+  background-color: #f2f2f2;
82
+  height: 1.5em;
83
+  vertical-align:middle;
84
+  box-shadow: 0px 3px 4px #999;
85
+}
86
+div.mainmenu a, div.mainmenu a:visited {
87
+  padding: 3px 10px 3px 10px;
88
+  color: white;
89
+  text-decoration: none;
90
+}
91
+div.submenu a, div.submenu a:visited, a.button, div.submenu label,
92
+div.sectionmenu>a.button:link, div.sectionmenu>a.button:visited {
93
+  padding: 2px 8px;
94
+  color: #000;
95
+  font-family: Arial;
96
+  text-decoration: none;
97
+  margin:auto;
98
+  border-radius: 5px;
99
+  background-color: #e0e0e0;
100
+  text-shadow: 0px -1px 0px #eee;
101
+  border: 1px solid #000;
102
+}
103
+
104
+div.mainmenu a:hover {
105
+  color: #000;
106
+  background-color: white;
107
+}
108
+
109
+div.submenu a:hover, div.sectionmenu>a.button:hover, div.submenu label:hover {
110
+  background-color: #c0c0c0;
111
+}
112
+
113
+/* All page content from the bottom of the menu or submenu down to
114
+ ** the footer */
115
+div.content {
116
+  background-color: #f2f2f2;
117
+  box-shadow: 0px 3px 4px #9b9b9b;
118
+  border-bottom-right-radius: 5px;
119
+  border-bottom-left-radius: 5px;
120
+  padding-bottom: 1em;
121
+  min-height:40%;
122
+}
123
+
124
+/* Some pages have section dividers */
125
+div.section {
126
+  margin-bottom: 0.5em;
127
+  margin-top: 1em;
128
+  margin-right: auto;
129
+  padding: 1px 1px 1px 1px;
130
+  font-size: 1.2em;
131
+  font-weight: bold;
132
+  text-align: center;
133
+  color: white;
134
+  border-radius: 5px;
135
+  background-color: #0073cc;
136
+  box-shadow: 0px 3px 4px #0082e6;
137
+  white-space: nowrap;
138
+}
139
+
140
+/* The "Date" that occurs on the left hand side of timelines */
141
+div.divider {
142
+  font-size: 1.2em;
143
+  font-family: Georgia, serif;
144
+  font-weight: bold;
145
+  margin-top: 1em;
146
+  white-space: nowrap;
147
+}
148
+
149
+/* The footer at the very bottom of the page */
150
+div.footer {
151
+  font-size: 0.9em;
152
+  text-align: right;
153
+  margin-bottom: 1em;
154
+  color: #f2f2f2;
155
+}
156
+
157
+/* Hyperlink colors in the footer */
158
+div.footer a { color: white; }
159
+div.footer a:link { color: white; }
160
+div.footer a:visited { color: white; }
161
+div.footer a:hover { background-color: white; color: #558195; }
162
+
163
+/* <verbatim> blocks */
164
+pre.verbatim, blockquote pre {
165
+  font-family: Dejavu Sans Mono, Monaco, Lucida Console, monospace;
166
+  background-color: #f3f3f3;
167
+  padding: 0.5em;
168
+  white-space: pre-wrap;
169
+}
170
+
171
+blockquote pre {
172
+  border: 1px #000 dashed;
173
+}
174
+
175
+/* The label/value pairs on (for example) the ci page */
176
+table.label-value th {
177
+  vertical-align: top;
178
+  text-align: right;
179
+  padding: 0.2ex 2ex;
180
+}
181
+
182
+table.report tr th {
183
+  padding: 3px 5px;
184
+  text-transform: capitalize;
185
+  cursor: pointer;
186
+}
187
+
188
+table.report tr td {
189
+  padding: 3px 5px;
190
+}
191
+
192
+textarea {
193
+  font-size: 1em;
194
+}
195
+
196
+.fullsize-text {
197
+  font-size: 1.25em;
198
+}