Commit a65e6e756e960523f810c9306f325c1b7bfe2809
1 parent
47d17885
Exists in
master
and in
29 other branches
ActionItem152: Melhoria no login
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1246 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
11 changed files
with
47 additions
and
55 deletions
Show diff stats
app/views/layouts/application.rhtml
@@ -11,11 +11,13 @@ | @@ -11,11 +11,13 @@ | ||
11 | <meta name="description" content="FIXME: Descriptions of Noosfero" /> | 11 | <meta name="description" content="FIXME: Descriptions of Noosfero" /> |
12 | <meta name="keywords" content="Noosfero, Community, Open Source" /> | 12 | <meta name="keywords" content="Noosfero, Community, Open Source" /> |
13 | <%= stylesheet_link_tag 'common' %> | 13 | <%= stylesheet_link_tag 'common' %> |
14 | - <%= stylesheet_link_tag 'help' %> | ||
15 | - <%= stylesheet_link_tag 'menu' %> | 14 | + <%= stylesheet_link_tag 'help' %> |
15 | + <%= stylesheet_link_tag 'menu' %> | ||
16 | <%= stylesheet_link_tag 'button' %> | 16 | <%= stylesheet_link_tag 'button' %> |
17 | <%= stylesheet_link_tag 'search' %> | 17 | <%= stylesheet_link_tag 'search' %> |
18 | <%= stylesheet_link_tag 'blocks' %> | 18 | <%= stylesheet_link_tag 'blocks' %> |
19 | + <%= stylesheet_link_tag 'forms' %> | ||
20 | + <%= stylesheet_link_tag 'login-box' %> | ||
19 | 21 | ||
20 | <%# FIXME %> | 22 | <%# FIXME %> |
21 | <%= stylesheet_link_tag '/designs/templates/default/stylesheets/style.css' %> | 23 | <%= stylesheet_link_tag '/designs/templates/default/stylesheets/style.css' %> |
126 Bytes
130 Bytes
122 Bytes
public/designs/icons/default/style.css
1 | -.button.edit { background-image: url(gtk-edit.png); } | ||
2 | -.button.home { background-image: url(gnome-home.png); } | ||
3 | -.button.new { background-image: url(gtk-new.png); } | ||
4 | -.button.close { background-image: url(gtk-close.png); } | ||
5 | -.button.open { background-image: url(gtk-open.png); } | ||
6 | -.button.cms { background-image: url(abiword_48.png)} | ||
7 | -.button.save { background-image: url(gtk-save.png); } | ||
8 | -.button.up { background-image: url(gtk-go-up.png); } | ||
9 | -.button.cancel { background-image: url(gtk-cancel.png); } | ||
10 | -.button.person { background-image: url(user_icon.png); } | ||
11 | -.button.product { background-image: url(gnome-other.png); } | ||
12 | -.button.delete { background-image: url(gtk-delete.png); } | ||
13 | -.button.find { background-image: url(noosfero-find.png); } | ||
14 | -.button.back { background-image: url(gtk-go-back-ltr.png); } | ||
15 | -.button.next { background-image: url(gtk-media-next-ltr.png); } | ||
16 | -.button.add { background-image: url(gtk-add.png); } | ||
17 | -.button.up { background-image: url(gtk-go-up.png); } | ||
18 | -.button.down { background-image: url(gtk-go-down.png); } | ||
19 | -.button.search { background-image: url(gnome-search.png); } | ||
20 | -.button.ok { background-image: url(gtk-ok.png); } | ||
21 | -.button.login { background-image: url(password.png); } | 1 | +.button.edit { background-image: url(gtk-edit.png); } |
2 | +.button.home { background-image: url(gnome-home.png); } | ||
3 | +.button.new { background-image: url(gtk-new.png); } | ||
4 | +.button.close { background-image: url(cancel-HC.gif); } | ||
5 | +.button.open { background-image: url(gtk-open.png); } | ||
6 | +.button.cms { background-image: url(abiword_48.png) } | ||
7 | +.button.save { background-image: url(gtk-save.png); } | ||
8 | +.button.up { background-image: url(gtk-go-up.png); } | ||
9 | +.button.cancel { background-image: url(cancel-HC.gif); } | ||
10 | +.button.person { background-image: url(user_icon.png); } | ||
11 | +.button.product { background-image: url(gnome-other.png); } | ||
12 | +.button.delete { background-image: url(gtk-delete.png); } | ||
13 | +.button.find { background-image: url(noosfero-find.png); } | ||
14 | +.button.back { background-image: url(gtk-go-back-ltr.png); } | ||
15 | +.button.next { background-image: url(gtk-media-next-ltr.png); } | ||
16 | +.button.add { background-image: url(gtk-add.png); } | ||
17 | +.button.up { background-image: url(gtk-go-up.png); } | ||
18 | +.button.down { background-image: url(gtk-go-down.png); } | ||
19 | +.button.search { background-image: url(gnome-search.png); } | ||
20 | +.button.ok { background-image: url(gtk-ok.png); } | ||
21 | +.button.login { background-image: url(key-HC.gif); } |
public/stylesheets/block.css
@@ -1,20 +0,0 @@ | @@ -1,20 +0,0 @@ | ||
1 | -body.noosfero-block { | ||
2 | - background: white; | ||
3 | - font-size: 12px; | ||
4 | -} | ||
5 | - | ||
6 | -h2 { | ||
7 | - padding: 0px; | ||
8 | - margin: 0px; | ||
9 | - font-size: 14px; | ||
10 | - border-bottom: 1px solid black; | ||
11 | -} | ||
12 | - | ||
13 | -input { | ||
14 | - font-size: 10px; | ||
15 | -} | ||
16 | - | ||
17 | -#login-box { | ||
18 | - text-align: center; | ||
19 | -} | ||
20 | - |
public/stylesheets/button.css
@@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
7 | margin-left: 5px; | 7 | margin-left: 5px; |
8 | background-color: transparent; | 8 | background-color: transparent; |
9 | background-repeat: no-repeat; | 9 | background-repeat: no-repeat; |
10 | - background-position: 0 0; | 10 | + background-position: 2px 50%; |
11 | padding-left: 25px; | 11 | padding-left: 25px; |
12 | padding-right: 2px; | 12 | padding-right: 2px; |
13 | height: 24px; | 13 | height: 24px; |
public/stylesheets/common.css
@@ -336,12 +336,16 @@ div#notice { | @@ -336,12 +336,16 @@ div#notice { | ||
336 | text-align: center; | 336 | text-align: center; |
337 | } | 337 | } |
338 | 338 | ||
339 | +#login-box a, | ||
339 | #content a { | 340 | #content a { |
340 | color: #05B; | 341 | color: #05B; |
341 | } | 342 | } |
343 | +#login-box a:visited, | ||
342 | #content a:visited { | 344 | #content a:visited { |
343 | color: #68C; | 345 | color: #68C; |
344 | } | 346 | } |
347 | +#login-box a:hover, | ||
348 | +#login-box a:active, | ||
345 | #content a:hover, | 349 | #content a:hover, |
346 | #content a:active { | 350 | #content a:active { |
347 | color: #08F; | 351 | color: #08F; |
public/stylesheets/lightbox.css
@@ -10,17 +10,16 @@ Modified : February 1, 2006 | @@ -10,17 +10,16 @@ Modified : February 1, 2006 | ||
10 | - - - - - - - - - - - - - - - - - - - - - */ | 10 | - - - - - - - - - - - - - - - - - - - - - */ |
11 | 11 | ||
12 | #lightbox{ | 12 | #lightbox{ |
13 | - display:none; | 13 | + display: none; |
14 | position: absolute; | 14 | position: absolute; |
15 | - top:50%; | ||
16 | - left:50%; | ||
17 | - z-index:9999; | ||
18 | - width:500px; | ||
19 | - margin:-220px 0 0 -250px; | ||
20 | - border:1px solid #fff; | ||
21 | - background:#FDFCE9; | ||
22 | - text-align:left; | ||
23 | - | 15 | + top: 50%; |
16 | + left: 50%; | ||
17 | + z-index: 9999; | ||
18 | + width: 500px; | ||
19 | + margin: -200px 0 0 -250px; | ||
20 | + border: 10px solid #000; | ||
21 | + background: #FFF url(../images/bg-top-cinza.jpg) no-repeat 50% -15px; | ||
22 | + text-align: left; | ||
24 | padding: 1em; | 23 | padding: 1em; |
25 | } | 24 | } |
26 | #lightbox[id]{ | 25 | #lightbox[id]{ |
public/stylesheets/login-box.css
1 | 1 | ||
2 | #login-box { | 2 | #login-box { |
3 | - border: 2px solid #888; | ||
4 | padding: 3px 10% 8px 10%; | 3 | padding: 3px 10% 8px 10%; |
5 | font-size: 10px; | 4 | font-size: 10px; |
6 | } | 5 | } |
6 | +#lightbox #login-box { | ||
7 | + padding: 3px 25% 8px 25%; | ||
8 | +} | ||
7 | 9 | ||
8 | #login-box .formfieldline input { | 10 | #login-box .formfieldline input { |
9 | width: 99%; | 11 | width: 99%; |
@@ -21,6 +23,9 @@ | @@ -21,6 +23,9 @@ | ||
21 | margin: 0px; | 23 | margin: 0px; |
22 | padding: 0px; | 24 | padding: 0px; |
23 | } | 25 | } |
26 | +#lightbox #login-box h2 { | ||
27 | + color: #000; | ||
28 | +} | ||
24 | 29 | ||
25 | #login-box p { | 30 | #login-box p { |
26 | text-align: center; | 31 | text-align: center; |
public/stylesheets/menu.css
@@ -78,6 +78,7 @@ body.category4 .linkSubMenu { background-image: url(/images/borda-esq-aba-vermel | @@ -78,6 +78,7 @@ body.category4 .linkSubMenu { background-image: url(/images/borda-esq-aba-vermel | ||
78 | margin-right: 20px; | 78 | margin-right: 20px; |
79 | padding-left: 21px; | 79 | padding-left: 21px; |
80 | opacity: 0.7; | 80 | opacity: 0.7; |
81 | + filter: alpha(opacity=70); | ||
81 | display: block; | 82 | display: block; |
82 | float: left; | 83 | float: left; |
83 | height: 20px; | 84 | height: 20px; |
@@ -88,6 +89,7 @@ body.category4 .linkSubMenu { background-image: url(/images/borda-esq-aba-vermel | @@ -88,6 +89,7 @@ body.category4 .linkSubMenu { background-image: url(/images/borda-esq-aba-vermel | ||
88 | #user_box a:hover, | 89 | #user_box a:hover, |
89 | #user_box a:active { | 90 | #user_box a:active { |
90 | opacity: 1; | 91 | opacity: 1; |
92 | + filter: alpha(opacity=100); | ||
91 | } | 93 | } |
92 | 94 | ||
93 | #user_box a#link_to_envhome { | 95 | #user_box a#link_to_envhome { |