diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-12-22 23:14:59 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-12-22 23:14:59 +0100 |
commit | c8691b220c882b47cdae460131c863cec5aa7fde (patch) | |
tree | 5eeb3a7cdbbbb212ea2e9659cd75e29ce60ad0fb /module/web/static/css | |
parent | improved modal dialogs, added one for link grabber (diff) | |
download | pyload-c8691b220c882b47cdae460131c863cec5aa7fde.tar.xz |
improved dashboard a little
Diffstat (limited to 'module/web/static/css')
-rw-r--r-- | module/web/static/css/default/dashboard.less | 47 | ||||
-rw-r--r-- | module/web/static/css/default/style.less | 6 |
2 files changed, 49 insertions, 4 deletions
diff --git a/module/web/static/css/default/dashboard.less b/module/web/static/css/default/dashboard.less index ab62cc657..4f82eb82e 100644 --- a/module/web/static/css/default/dashboard.less +++ b/module/web/static/css/default/dashboard.less @@ -60,10 +60,8 @@ .package-view > div {
color: @light;
.gradient(top, @blue, @blueLight); // background-color: @blue;
- font-weight: bold;
border-radius: 5px;
line-height: 28px;
- cursor: pointer;
}
.package-view > div:hover {
@@ -75,10 +73,25 @@ height: 100%;
padding-left: 8px;
padding-right: 8px;
+
+ i {
+ margin-top: 3px;
+ }
+
+ i.pull-right {
+ margin-top: 8px;
+ }
+
+ .badge {
+ margin-right: 4px;
+ }
+
}
.package-row.first {
width: 50%;
+ font-weight: bold;
+ cursor: pointer;
}
.package-row.second {
@@ -87,10 +100,19 @@ font-size: smaller;
}
+.package-row.third {
+ line-height: 26px;
+}
+
.package-view a {
color: @light;
}
+// Box containing the files
+.package-view > ul {
+ .gradient(left, @yellowLighter, @yellowLightest);
+// box-shadow: 0 0 5px black;
+}
/*
File view
*/
@@ -101,7 +123,7 @@ .file-view > div {
border-radius: 5px;
- .gradient(top, @blueLighter, @blueLightest);
+// .gradient(top, @blueLighter, @blueLightest);
line-height: 26px;
}
@@ -119,6 +141,23 @@ .file-row.first {
width: 50%;
}
+
.file-row.second {
width: 30%;
-}
\ No newline at end of file +}
+/*
+FANCY CHECKBOXES
+*/
+.checkbox {
+ display: inline;
+ width: 20px;
+ height: 21px;
+ margin: -1px 4px 0 0;
+ vertical-align: middle;
+ background: url(../../img/default/checks_sheet.png) left top no-repeat;
+ cursor: pointer;
+}
+
+.checkbox .checked {
+ background: url(../../img/default/checks_sheet.png) -21px top no-repeat;
+}
diff --git a/module/web/static/css/default/style.less b/module/web/static/css/default/style.less index 8fe9aeb0e..f0628b45a 100644 --- a/module/web/static/css/default/style.less +++ b/module/web/static/css/default/style.less @@ -36,6 +36,12 @@ @blueDark: darken(spin(@blue, -5), 10%);
@blueDarker: darken(spin(@blue, -10), 20%);
+@green: #468847;
+@greenLight: lighten(spin(@green, 5), 10%);
+
+@red: #b94a48;
+@redLight: lighten(spin(@red, 5), 10%);
+
@emph: #FF7637;
/*
|