Merge lp:~jcsackett/juju-gui/make-it-pretty into lp:juju-gui/experimental
Proposed by
j.c.sackett
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 757 | ||||
Proposed branch: | lp:~jcsackett/juju-gui/make-it-pretty | ||||
Merge into: | lp:juju-gui/experimental | ||||
Diff against target: |
71 lines (+35/-9) 2 files modified
lib/views/browser/charm-full.less (+3/-0) lib/views/browser/sharing-widget.less (+32/-9) |
||||
To merge this branch: | bzr merge lp:~jcsackett/juju-gui/make-it-pretty | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju GUI Hackers | Pending | ||
Review via email: mp+171158@code.launchpad.net |
Description of the change
Styles the share widget
This adds Huw's sharing work to the sharing widget, finishing the structure of
the widget.
To post a comment you must log in.
Reviewers: mp+171158_ code.launchpad. net,
Message:
Please take a look.
Description:
Styles the share widget
This adds Huw's sharing work to the sharing widget, finishing the
structure of
the widget.
https:/ /code.launchpad .net/~jcsackett /juju-gui/ make-it- pretty/ +merge/ 171158
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/10495045/
Affected files: browser/ charm-full. less browser/ sharing- widget. less
A [revision details]
M lib/views/
M lib/views/
Index: [revision details]
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision: <email address hidden>
+New revision: <email address hidden>
Index: lib/views/ browser/ charm-full. less browser/ charm-full. less' browser/ charm-full. less 2013-06-04 16:13:15 +0000 browser/ charm-full. less 2013-06-24 06:01:04 +0000
max- width: 66.666%; provider- warning {
margin- top: -1px;
=== modified file 'lib/views/
--- lib/views/
+++ lib/views/
@@ -26,6 +26,9 @@
p {
}
+ .yui3-sharingwidget li {
+ max-width: 100%;
+ }
.
height: 20px;
Index: lib/views/ browser/ sharing- widget. less browser/ sharing- widget. less' browser/ sharing- widget. less 2013-06-20 18:40:46 +0000 browser/ sharing- widget. less 2013-06-24 06:01:04 +0000
=== modified file 'lib/views/
--- lib/views/
+++ lib/views/
@@ -3,21 +3,44 @@
}
.yui3- sharingwidget { panel-backgroun d-color;
- background: @charm-
- border: 1px solid @bws-border;
+ position: absolute;
+ padding-top: 15px;
li {
- width: 45px;
- padding-top: 5px;
- padding-bottom: 5px;
- border-top: 1px solid @bws-border;
+ border-top: 1px solid #d4d4d4;
- #sharing-first {
border- top: none; dget-content {
+ &#sharing-first {
}
-
a {
- margin-left: 15px;
+ display: block;
+ padding: 20px;
+
+ &:hover {
+ background-color: #eee;
+ }
}
}
+ .yui3-sharingwi
+ position: relative;
+ z-index: 5;
+ background-color: #f9f9f9;
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
+ border-radius: 5px;
+ }
+ &:after {
+ content: ' ';
+ position: absolute;
+ display: block;
+ left: 50%;
+ top: 7px;
+ width: 20px;
+ height: 20px;
+ margin-left: -10px;
+ background-color: #f9f9f9;
+ transform: rotate(45deg);
+ -webkit-transform: rotate(45deg);
+ -moz-transform: rotate(45deg);
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
+ }
}