diff options
| author | Zaran <zaran.krleza@gmail.com> | 2012-04-15 05:54:46 -0700 |
|---|---|---|
| committer | Zaran <zaran.krleza@gmail.com> | 2012-04-15 05:54:46 -0700 |
| commit | fe62183cd914a7834c6d6a94d487e2e13e212251 (patch) | |
| tree | 13311137fc992e1ea2cf841424756cb0b16d3405 /alias-angular/app/css/less/popovers.less | |
| parent | 667f6d688bdc4818feadde68c84ee690e150255a (diff) | |
| download | alias-fe62183cd914a7834c6d6a94d487e2e13e212251.tar.gz | |
CSS improvements, first steps on angular
* disable the connect form when connected
* add a disconnect button when connected
* add a research field to filter the contact list (not working)
Thinks I want to understand:
* how to share a variable between several scopes
* could StropheSrv be an attribute of the connect scope ? if yes, we can
call it directly and avoid wrapping it (this is the third level of wrapping
around libStrophe...)
Diffstat (limited to 'alias-angular/app/css/less/popovers.less')
| -rw-r--r-- | alias-angular/app/css/less/popovers.less | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/alias-angular/app/css/less/popovers.less b/alias-angular/app/css/less/popovers.less new file mode 100644 index 0000000..558d99e --- /dev/null +++ b/alias-angular/app/css/less/popovers.less @@ -0,0 +1,49 @@ +// POPOVERS +// -------- + +.popover { + position: absolute; + top: 0; + left: 0; + z-index: @zindexPopover; + display: none; + padding: 5px; + &.top { margin-top: -5px; } + &.right { margin-left: 5px; } + &.bottom { margin-top: 5px; } + &.left { margin-left: -5px; } + &.top .arrow { #popoverArrow > .top(); } + &.right .arrow { #popoverArrow > .right(); } + &.bottom .arrow { #popoverArrow > .bottom(); } + &.left .arrow { #popoverArrow > .left(); } + .arrow { + position: absolute; + width: 0; + height: 0; + } +} +.popover-inner { + padding: 3px; + width: 280px; + overflow: hidden; + background: @black; // has to be full background declaration for IE fallback + background: rgba(0,0,0,.8); + .border-radius(6px); + .box-shadow(0 3px 7px rgba(0,0,0,0.3)); +} +.popover-title { + padding: 9px 15px; + line-height: 1; + background-color: #f5f5f5; + border-bottom:1px solid #eee; + .border-radius(3px 3px 0 0); +} +.popover-content { + padding: 14px; + background-color: @white; + .border-radius(0 0 3px 3px); + .background-clip(padding-box); + p, ul, ol { + margin-bottom: 0; + } +} |
