diff options
author | Johannes Zellner <johannes@nebulon.de> | 2016-03-01 22:12:58 +0100 |
---|---|---|
committer | Johannes Zellner <johannes@nebulon.de> | 2016-03-01 22:12:58 +0100 |
commit | e807872bc4ebe09bf8f44033395e395bc26c0e5e (patch) | |
tree | 2224588d232149a4b76fc000d37d2c49cd87e69c | |
parent | 8db95047eb992b3d4799a626a47baf19bb6b3dae (diff) | |
download | Surfer-e807872bc4ebe09bf8f44033395e395bc26c0e5e.tar.gz Surfer-e807872bc4ebe09bf8f44033395e395bc26c0e5e.tar.zst Surfer-e807872bc4ebe09bf8f44033395e395bc26c0e5e.zip |
Add basic footer
-rw-r--r-- | app/css/style.css | 27 | ||||
-rw-r--r-- | app/index.html | 7 |
2 files changed, 33 insertions, 1 deletions
diff --git a/app/css/style.css b/app/css/style.css index 13c6533..26eada0 100644 --- a/app/css/style.css +++ b/app/css/style.css | |||
@@ -1,11 +1,16 @@ | |||
1 | 1 | ||
2 | html, body { | 2 | html, body { |
3 | min-height: 100%; | ||
3 | width: 100%; | 4 | width: 100%; |
4 | height: 100%; | 5 | height: 100%; |
5 | padding: 0; | 6 | padding: 0; |
6 | margin: 0; | 7 | margin: 0; |
7 | } | 8 | } |
8 | 9 | ||
10 | body { | ||
11 | padding-bottom: 70px; | ||
12 | } | ||
13 | |||
9 | .wrapper { | 14 | .wrapper { |
10 | display: table; | 15 | display: table; |
11 | width: 100%; | 16 | width: 100%; |
@@ -36,4 +41,26 @@ pre { | |||
36 | 41 | ||
37 | th { | 42 | th { |
38 | vertical-align: middle !important; | 43 | vertical-align: middle !important; |
44 | } | ||
45 | |||
46 | .main { | ||
47 | margin-bottom: 40px; | ||
48 | } | ||
49 | |||
50 | footer { | ||
51 | position: fixed; | ||
52 | background-color: #efefef; | ||
53 | bottom: 0; | ||
54 | width: 100%; | ||
55 | color: #555; | ||
56 | font-size: 14px; | ||
57 | padding: 5px; | ||
58 | z-index: 13; | ||
59 | opacity: .5; | ||
60 | -webkit-transition: all .25s; | ||
61 | transition: all .25s; | ||
62 | } | ||
63 | |||
64 | footer:hover { | ||
65 | opacity: 1; | ||
39 | } \ No newline at end of file | 66 | } \ No newline at end of file |
diff --git a/app/index.html b/app/index.html index 803568c..071803a 100644 --- a/app/index.html +++ b/app/index.html | |||
@@ -103,7 +103,7 @@ | |||
103 | </div> | 103 | </div> |
104 | </div> | 104 | </div> |
105 | 105 | ||
106 | <div class="container" v-show="session.valid && !busy" v-cloak> | 106 | <div class="container main" v-show="session.valid && !busy" v-cloak> |
107 | <div class="row"> | 107 | <div class="row"> |
108 | <div class="col-lg-12"> | 108 | <div class="col-lg-12"> |
109 | <center> | 109 | <center> |
@@ -157,6 +157,11 @@ | |||
157 | </div> | 157 | </div> |
158 | </div> | 158 | </div> |
159 | 159 | ||
160 | <!-- Footer --> | ||
161 | <footer class="text-center"> | ||
162 | <span class="text-muted">Created by the <a href="https://cloudron.io" target="_blank">Cloudron</a> team <a href="https://github.com/nebulade/surfer" target="_blank">hosted on Github</a></span> | ||
163 | </footer> | ||
164 | |||
160 | <script src="/_admin/js/jquery-1.12.1.min.js"></script> | 165 | <script src="/_admin/js/jquery-1.12.1.min.js"></script> |
161 | <script src="/_admin/js/bootstrap.min.js"></script> | 166 | <script src="/_admin/js/bootstrap.min.js"></script> |
162 | <script src="/_admin/js/vue.min.js"></script> | 167 | <script src="/_admin/js/vue.min.js"></script> |