aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-04-16 21:48:49 +0200
committerDennis Eriksen <dennis.se@gmail.com>2013-04-16 21:48:49 +0200
commit5999bfc7c81ccab7bc3960ea258aa43e30acaaca (patch)
tree5ebb092dfbcdf6b54ddd3463ce227074d2fb0f73
parentReverted to invisible orbits (diff)
downloadDivid-5999bfc7c81ccab7bc3960ea258aa43e30acaaca.tar.gz
been working on the dashboard design
-rw-r--r--public/css/styles.less47
-rw-r--r--views/dashboard.ejs19
2 files changed, 63 insertions, 3 deletions
diff --git a/public/css/styles.less b/public/css/styles.less
index 9c60ca7..cd3caec 100644
--- a/public/css/styles.less
+++ b/public/css/styles.less
@@ -98,6 +98,53 @@ section.content {
}
+section.projects section.project {
+ margin: 10px 0;
+ padding: 0;
+
+ border: 2px solid @grayLight;
+ -webkit-border-radius: @borderRadiusLarge;
+ -moz-border-radius: @borderRadiusLarge;
+ border-radius: @borderRadiusLarge;
+}
+
+section.projects section.project h1 {
+ font-size: @fontSizeLarge;
+ padding: 0;
+ margin: 0;
+ font-weight: normal;
+ line-height: @baseLineHeight;
+}
+section.projects section.project .row-fluid {
+ min-height: 50px;
+}
+section.projects section.project .span11 {
+ padding: 5px;
+ border-right: 2px solid @grayLight;
+}
+section.projects section.project .span1 {
+ display: inline-block;
+ height: 100%;
+ background-color: blue;
+ min-height: inherit;
+}
+section.projects a.btn-large {
+ font-weight: bold;
+ font-size: 3em;
+ border: 2px solid @grayLight;
+}
+
+section.projects section.project h1 .username {
+ color: @grayLight;
+}
+section.projects section.project .participants {
+ font-size: @fontSizeSmall;
+}
+
+
+
+
+
diff --git a/views/dashboard.ejs b/views/dashboard.ejs
index fe29166..7b9e6b0 100644
--- a/views/dashboard.ejs
+++ b/views/dashboard.ejs
@@ -8,17 +8,30 @@
<div class="container" id="wrapper">
<div class="row-fluid row" style="background-color: #f99">
- <div class="span5" style="background-color: #99f">
+ <div class="span5 pid22" style="background-color: #fff">
<h1>Prosjekter</h1>
<section class="projects">
<section class="project">
- <h1>Hyttetur</h1>
- Dennis, Robert, Turid-Laila
+ <div class="row-fluid">
+ <div class="span11">
+ <h1><a href="/dennisse/hyttetur">dennisse/<strong>hyttetur</strong></a></h1>
+ <span class="participants">Meg, Robert, Turid-Laila</span>
+ </div>
+ <div class="span1">
+ <p>+</p>
+ </div>
+ </div>
</section>
<section class="project">
+ <h1><a href="/kurt/Kollektivet">kurt/<strong>Kollektivet</strong></a></h1>
+ <span class="participants">Meg, Kurt, Stian</span>
</section>
<section class="project">
+ <h1><a href="/turidl/Kosekveldene">turidl/<strong>Kosekveldene</strong></a></h1>
+ <span class="participants">Meg, Turid-Laila</span>
+ <a class="btn" type="button">+</a>
</section>
+ <a class="btn btn-large btn-block" type="button">+</a>
</section>
</div><!-- /div.span5 -->
<div class="span7">