~ubuntuone-pqm-team/online-services-common-js/stable

« back to all changes in this revision

Viewing changes to build/navbar/assets/navbar-core.css

  • Committer: jonas-drange
  • Date: 2014-04-23 09:48:21 UTC
  • mfrom: (30.1.12 navbar-autocomplete)
  • Revision ID: jonas.drange@canonical.com-20140423094821-kgahgu2z4p9xnws1
[r=stephen-stewart] navbar-autocomplete:
Plugs Y.AutoComplete into an input element.
Manipulates the collapse element so that the autocomplete list is shown.

plugin-collapse:
Publish open, close and toggle events and fire them when appropriate.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
    float:right;
6
6
}
7
7
 
 
8
.ues-autocomplete {
 
9
    width: 100% !important;
 
10
}
 
11
 
 
12
.yui3-aclist-aria {
 
13
    line-height: 0;
 
14
}
 
15
 
 
16
.yui3-aclist-item:hover {
 
17
    background-color:#eee;
 
18
}
 
19
 
 
20
.yui3-aclist-item-active {
 
21
    background-color:#ddd;
 
22
}
 
23
 
8
24
@media (max-width: 480px) {
9
25
    .collapse {
10
26
        display: block;
38
54
    .ues-icon-search-bordered {
39
55
        display:block;
40
56
    }
 
57
 
 
58
    .ues-autocomplete {
 
59
        position: relative;
 
60
        display: none;
 
61
    }
 
62
 
 
63
    .open.ues-autocomplete {
 
64
        display: block;
 
65
    }
 
66
 
41
67
}
42
68
 
43
69
@media (min-width: 480px) {
44
70
    .ues-navbar-collapse {
45
71
        /** needs to override style set by collapse **/
46
72
        height:auto !important;
 
73
        width: auto;
47
74
    }
48
75
}