diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/stylesheets/jquery.Jcrop.css | 35 | ||||
-rw-r--r-- | app/views/layouts/default.html.erb | 2 |
2 files changed, 36 insertions, 1 deletions
diff --git a/app/assets/stylesheets/jquery.Jcrop.css b/app/assets/stylesheets/jquery.Jcrop.css new file mode 100644 index 000000000..24925dc94 --- /dev/null +++ b/app/assets/stylesheets/jquery.Jcrop.css @@ -0,0 +1,35 @@ +/* Fixes issue here http://code.google.com/p/jcrop/issues/detail?id=1 */ +.jcrop-holder { text-align: left; } + +.jcrop-vline, .jcrop-hline +{ + font-size: 0; + position: absolute; + background: white url('Jcrop.gif') top left repeat; +} +.jcrop-vline { height: 100%; width: 1px !important; } +.jcrop-hline { width: 100%; height: 1px !important; } +.jcrop-handle { + font-size: 1px; + width: 7px !important; + height: 7px !important; + border: 1px #eee solid; + background-color: #333; + *width: 9px; + *height: 9px; +} + +.jcrop-tracker { width: 100%; height: 100%; } + +.custom .jcrop-vline, +.custom .jcrop-hline +{ + background: yellow; +} +.custom .jcrop-handle +{ + border-color: black; + background-color: #C7BB00; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; +} diff --git a/app/views/layouts/default.html.erb b/app/views/layouts/default.html.erb index b4ff70e32..6c3070d97 100644 --- a/app/views/layouts/default.html.erb +++ b/app/views/layouts/default.html.erb @@ -20,7 +20,7 @@ <%= javascript_include_tag "application" %> <% if @profile_photo_javascript %> <%= javascript_include_tag "profile-photos" %> - <link rel="stylesheet" href="/stylesheets/jquery.Jcrop.css" type="text/css" > + <%= stylesheet_link_tag "jquery.Jcrop" %> <% end %> <% if @feed_autodetect %> |