summaryrefslogtreecommitdiff
path: root/res/css/partials
diff options
context:
space:
mode:
authorOfer Lehr <ofer@oferlehr.com>2014-12-04 00:36:33 +0200
committerOfer Lehr <ofer@oferlehr.com>2014-12-04 00:36:33 +0200
commitde6f766ec27040f402af5c2b16cb298181e622c1 (patch)
tree875a322d85e5fd3d68c778004863f7c50ec065ad /res/css/partials
parentb5653a2fc4d2378ceea7af4a9224aa041bb4e091 (diff)
fixed search bar positioning, scroll bug and moved export button to search bar
Diffstat (limited to 'res/css/partials')
-rw-r--r--res/css/partials/base.scss11
-rw-r--r--res/css/partials/graph-view.scss2
-rw-r--r--res/css/partials/search-bar.scss40
3 files changed, 38 insertions, 15 deletions
diff --git a/res/css/partials/base.scss b/res/css/partials/base.scss
index 35afb28c..bd9eba9e 100644
--- a/res/css/partials/base.scss
+++ b/res/css/partials/base.scss
@@ -7,6 +7,7 @@
html, body {
height: 100%;
font-family: $base-font-family;
+ overflow-y: hidden;
}
body {
@@ -22,23 +23,23 @@ body {
a{
text-decoration: none;
- font-style: italic;
+ color: $mid-grey;
}
a:link {
- color: #FFF;
+ color: $mid-grey;
}
a:visited {
- color: #FFF;
+ color: $mid-grey;
}
a:hover {
- color: #EDE275;
+ color: $dark-grey;
}
a:active {
- color: #FFF;
+ color: $mid-grey;
}
//input box stuff
diff --git a/res/css/partials/graph-view.scss b/res/css/partials/graph-view.scss
index f4854998..95f7bdbb 100644
--- a/res/css/partials/graph-view.scss
+++ b/res/css/partials/graph-view.scss
@@ -132,6 +132,7 @@
stroke: #EDE275;
stroke-width: 2px;
z-index:1;
+ pointer-events: none;
}
.link.enter, .link.exit, .link.selected {
@@ -139,6 +140,7 @@
stroke: #EDE275;
stroke-width: 4px;
z-index:1;
+ pointer-events: none;
}
#editbox input{
diff --git a/res/css/partials/search-bar.scss b/res/css/partials/search-bar.scss
index 1da42796..3fcbe378 100644
--- a/res/css/partials/search-bar.scss
+++ b/res/css/partials/search-bar.scss
@@ -5,24 +5,44 @@
-webkit-box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.3);
box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.3);
+ z-index: 100;
}
.search-input{
- position: absolute;
- width: 100%;
- top: $three-baselines+($four-baselines - $icon-height)/2;
+ width: 70%;
height:$icon-height;
- left: $doc-margin + 40px;
+ float: left;
+ margin: 8px 12px 12px $doc-margin;
}
-.search-icon {
- position:absolute;
- width:20px;
- height:$icon-height;
- left: $doc-margin;
- top: $three-baselines+($four-baselines - $icon-height)/2;
+
+.search-input:before {
+ content: "";
+ background: url(../img/search-icon.png);
+ padding: 0px 10px 0px 10px;
+ background-position: center;
+ background-repeat: no-repeat;
}
input {
font-family: $base-font-family;
font-size: $h3-size;
+ width: 80%;
+}
+
+.export {
+ cursor: pointer;
+ text-align: right;
+ width: 60px;
+ float: right;
+ color: $dark-grey;
+ font-size: $h5-size;
+ margin: 14px $doc-margin 12px 12px ;
+}
+
+.export:before {
+ content: "";
+ background: url(../img/export.png);
+ padding: 0px 9px 0px 9px;
+ background-position: center;
+ background-repeat: no-repeat;
} \ No newline at end of file