Skip to content

Commit

Permalink
Widget and print stylesheet tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
tashian committed Jun 7, 2011
1 parent 7ce3eb1 commit 6c16288
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 13 deletions.
7 changes: 5 additions & 2 deletions app/stylesheets/widget.scss
Original file line number Diff line number Diff line change
Expand Up @@ -135,15 +135,18 @@ margin-top: 0 !important;


.widgets h1{
margin-top: 0 !important;
margin-left: -21px;
margin-top: 0;
margin-left: -10px;
margin-right: -35px;
}



.widgets .share_top{
position: absolute;
z-index: 9999999;
background: transparent;
border-bottom: none;
right: 0;
top: 29px;
width: 240px;
Expand Down
1 change: 0 additions & 1 deletion app/views/layouts/widgets.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
= include_javascripts :widget_config
= include_stylesheets :widget


.grid_16
%aside.share_top= render :partial => 'shared/share_tools', :locals => {:message => "Share", :title => (yield(:title) || "OpenGovernment"), :url => request.url}

Expand Down
3 changes: 2 additions & 1 deletion public/stylesheets/print.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
display: none !important;
}

/* line 6, ../../app/stylesheets/print.scss */
/* Doing this right now because no logo shows (it's a background image anyway) */
/* line 8, ../../app/stylesheets/print.scss */
#content h1:before {
content: "OpenGovernment.org: ";
}
Expand Down
21 changes: 12 additions & 9 deletions public/stylesheets/widget.css
Original file line number Diff line number Diff line change
Expand Up @@ -144,32 +144,35 @@ textarea#embed-code {

/* line 137, ../../app/stylesheets/widget.scss */
.widgets h1 {
margin-top: 0 !important;
margin-left: -21px;
margin-top: 0;
margin-left: -10px;
margin-right: -35px;
}

/* line 144, ../../app/stylesheets/widget.scss */
/* line 145, ../../app/stylesheets/widget.scss */
.widgets .share_top {
position: absolute;
z-index: 9999999;
background: transparent;
border-bottom: none;
right: 0;
top: 29px;
width: 240px;
}

/* line 153, ../../app/stylesheets/widget.scss */
/* line 156, ../../app/stylesheets/widget.scss */
.widgets .share_top .share {
margin: 0 !important;
}

/* line 157, ../../app/stylesheets/widget.scss */
/* line 160, ../../app/stylesheets/widget.scss */
.chooser {
width: 70px;
float: left;
margin-right: 20px;
}

/* line 163, ../../app/stylesheets/widget.scss */
/* line 166, ../../app/stylesheets/widget.scss */
.chooser label {
display: block;
text-align: center;
Expand All @@ -178,7 +181,7 @@ textarea#embed-code {
font-weight: normal;
}

/* line 172, ../../app/stylesheets/widget.scss */
/* line 175, ../../app/stylesheets/widget.scss */
.chooser input {
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
Expand All @@ -190,15 +193,15 @@ textarea#embed-code {
margin: 0 auto;
}

/* line 183, ../../app/stylesheets/widget.scss */
/* line 186, ../../app/stylesheets/widget.scss */
#embed-code {
width: 430px !important;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border: 1px solid rgba(101, 101, 101, 0.2);
}

/* line 195, ../../app/stylesheets/widget.scss */
/* line 198, ../../app/stylesheets/widget.scss */
.widgets .button.tiny {
margin: 7px 19px 0;
}

0 comments on commit 6c16288

Please sign in to comment.