diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-12-23 21:12:23 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-12-23 21:12:23 +0100 |
commit | 2cf31d24c9ba07b0b36cea896dc13a9662051242 (patch) | |
tree | 994dd64d439ef57dc397e8cc5ee454ea11568940 | |
parent | proper selecting, expanding and rendering of packageViews (diff) | |
download | pyload-2cf31d24c9ba07b0b36cea896dc13a9662051242.tar.xz |
added border to header, removed background
-rw-r--r-- | module/web/static/css/default/style.less | 27 | ||||
-rw-r--r-- | module/web/static/img/default/main-wrapper-bg.png | bin | 114902 -> 0 bytes | |||
-rw-r--r-- | module/web/templates/default/base.html | 4 |
3 files changed, 26 insertions, 5 deletions
diff --git a/module/web/static/css/default/style.less b/module/web/static/css/default/style.less index f0628b45a..1c0a0cb48 100644 --- a/module/web/static/css/default/style.less +++ b/module/web/static/css/default/style.less @@ -180,7 +180,8 @@ a:hover { */
header {
- background: url("../../img/default/main-wrapper-bg.png") repeat-x;
+ background-color: @greyDark;
+// background: url("../../img/default/main-wrapper-bg.png") repeat-x;
height: @header-height;
position: fixed;
top: 0;
@@ -258,6 +259,24 @@ header .logo { }
+// Responsive Borders
+.header_block.left-border {
+ border-left: 1px solid @grey;
+ padding-left: 1%;
+}
+
+.header_block.right-border {
+ border-right: 1px solid @grey;
+ padding-right: 1%;
+}
+
+@media (max-width: @large-screen) {
+ .header_block {
+ border: none !important;
+ padding: 0 !important;
+ }
+}
+
#notification_div {
float: right;
width: 26%;
@@ -299,7 +318,8 @@ header .logo { float: right;
width: 14%;
height: 60px;
- margin-top: 8px;
+ // similiar as header_box
+ margin: 8px 8px 0 8px;
font-family: sans-serif
}
@@ -320,7 +340,8 @@ header .logo { Footer
*/
footer {
- background: url("../../img/default/main-wrapper-bg.png") repeat-x;
+ background-color: @greyDark;
+// background: url("../../img/default/main-wrapper-bg.png") repeat-x;
color: @grey;
height: @footer-height;
margin-top: -@footer-height;
diff --git a/module/web/static/img/default/main-wrapper-bg.png b/module/web/static/img/default/main-wrapper-bg.png Binary files differdeleted file mode 100644 index 68febb6a2..000000000 --- a/module/web/static/img/default/main-wrapper-bg.png +++ /dev/null diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html index c67ad82f6..a2f622095 100644 --- a/module/web/templates/default/base.html +++ b/module/web/templates/default/base.html @@ -61,14 +61,14 @@ <div id="speedgraph" class="visible-desktop"></div>
- <div class="header_block">
+ <div class="header_block right-border">
<span class="pull-right">8:15:01</span><br>
<span class="pull-right">Started</span><br>
<span class="pull-right"><span
style="font-weight:bold;color: #fff !important;">5</span> of 12</span>
</div>
- <div class="header_block">
+ <div class="header_block left-border">
<i class="icon-time icon-white"></i> Remaining:<br>
<i class="icon-retweet icon-white"></i> Status:<br>
<i class="icon-download-alt icon-white"></i> Downloads: <br>
|