diff options
| author | Ofer Lehr <ofer@oferlehr.com> | 2014-12-06 01:42:55 +0200 |
|---|---|---|
| committer | Ofer Lehr <ofer@oferlehr.com> | 2014-12-06 01:42:55 +0200 |
| commit | 296ff36fb375c1de1de32e9c0a9a23f949f79267 (patch) | |
| tree | 2a73990510a9cac2597be21dced183c66e2be2d0 /res/css/partials | |
| parent | 37aa73b88961f6188d6608dd32eee32080d6c409 (diff) | |
nicer looking autocomplete
added a class to the items inside the suggestion box so we could style
them.
Diffstat (limited to 'res/css/partials')
| -rw-r--r-- | res/css/partials/graph-view.scss | 35 | ||||
| -rw-r--r-- | res/css/partials/input-bar.scss | 20 |
2 files changed, 38 insertions, 17 deletions
diff --git a/res/css/partials/graph-view.scss b/res/css/partials/graph-view.scss index a129d41b..78765353 100644 --- a/res/css/partials/graph-view.scss +++ b/res/css/partials/graph-view.scss @@ -5,7 +5,7 @@ .node { stroke-width: 1px; - font-size: 16px; + font-size: $h3-size; z-index:100; } @@ -14,16 +14,13 @@ } .circle { - stroke: $light-grey; - stroke-width: 1.5px; z-index: 100; pointer-events:all; - box-shadow: 0 0 0px #FFFF8F; } .nodetext { - fill: $dark-grey; - font-size:17px; + fill: $mid-grey; + font-size: $h3-size; z-index:3; } @@ -40,7 +37,7 @@ .linklabel{ stroke: $dark-grey; - font-size:14px; + font-size: $h5-size; background-color: transparent; } @@ -68,7 +65,8 @@ } .circle.chosen { - stroke: #EDE275; + stroke: $cyan; + stroke-opacity: 0.5; } .circle.enter { stroke: #EDE275; @@ -100,28 +98,32 @@ */ .circle.person { - fill: #FCB924; + fill: $blue; } .circle.club { - fill: #009DDC; + fill: $purple; } .circle.skill { - fill: #62BB47; + fill: $yellow; } .circle.interest { - fill: #f9f5f1; + fill: $orange; +} + +.circle.project { + fill: $green; } .circle.third-internship-proposal { - fill: #202020; + fill: $magenta; } .circle.internship { - fill: #933E99; + fill: $cyan; } .circle.empty { @@ -140,7 +142,7 @@ /* Selected parts of the graph, right now by clicking, later with search. */ .notselected { - opacity: 0.2; + opacity: 0.3; } .graph.link.temp_and { @@ -149,7 +151,8 @@ .highlightlink { fill: none; - stroke: #EDE275; + stroke: $cyan; + stroke-opacity: 0.5; stroke-width: 2px; z-index:1; } diff --git a/res/css/partials/input-bar.scss b/res/css/partials/input-bar.scss index 4e87c369..1bce345c 100644 --- a/res/css/partials/input-bar.scss +++ b/res/css/partials/input-bar.scss @@ -56,11 +56,29 @@ } .suggestion{ + color: $dark-grey; + max-height: 580px; + overflow-y: scroll; + font-size: $h3-size; list-style-type: none; + width: inherit; + position: relative; + margin-top: 6px; + border: 1px solid $mid-grey; + @include rz-box-sizing-border; + background: white; + // this box should have a shadow but we need a js solution to hide it before its appears - @include rz-box-shadow(0px, 1px, 6px, 0px, rgba(0,0,0,0.3) ); +} + +.suggestion-item { + padding: 6px 0px 6px 18px; } .suggestion .selected { - color: blue; + padding-left: 16px; + background-color: $light-grey; + border-left: 2px solid $cyan; + @include rz-box-sizing-border; } .suggestion td{ |
