Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
b640fa41
Commit
b640fa41
authored
Mar 01, 2012
by
Kostas Papadimitriou
Browse files
Updated css styles
- removed autocomplete for non-login forms - proper recaptcha placement/styles
parent
bef3bf46
Changes
3
Hide whitespace changes
Inline
Side-by-side
snf-astakos-app/astakos/im/static/im/css/styles.css
View file @
b640fa41
...
...
@@ -646,6 +646,16 @@ ul.inline li {
.rightcol
input
[
type
=
text
],
.rightcol
input
[
type
=
password
]
{
width
:
273px
;
}
/* recaptcha */
#recaptcha_widget_div
{
margin-top
:
10px
;
margin-left
:
-4px
;
}
#recaptcha_widget_div
#recaptcha_instructions_image
{
font-size
:
0.8em
;
margin-bottom
:
10px
;
display
:
block
!important
;
}
/* generic form styles */
input
,
textarea
,
.form-widget
{
background-color
:
#ffffff
;
...
...
snf-astakos-app/astakos/im/static/im/css/styles.less
View file @
b640fa41
...
...
@@ -90,7 +90,7 @@ a img {
div.header {
position: relative;
margin-top: 4
*@gridGutterWidth
;
margin-top: 4
2px
;
margin-bottom: @gridGutterWidth;
h1 {
color: @shadowColor;
...
...
@@ -173,7 +173,7 @@ ul.inline {
.page {
.makeRow();
margin-top:
6*@gridGutterWidth
;
margin-top:
42px
;
font-size: 1.1em;
.page-inner {
position: relative;
...
...
@@ -213,6 +213,18 @@ ul.inline {
}
}
/* recaptcha */
#recaptcha_widget_div {
margin-top: 10px;
margin-left: -4px;
#recaptcha_instructions_image {
font-size: 0.8em;
margin-bottom: 10px;
display: block !important;
}
}
/* generic form styles */
input, textarea, .form-widget {
background-color: @white;
...
...
snf-astakos-app/astakos/im/templates/im/base.html
View file @
b640fa41
...
...
@@ -53,9 +53,16 @@
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
()
{
$
(
"
form.innerlabels label
"
).
inFieldLabels
();
$
(
"
form
"
).
each
(
function
(){
if
(
$
(
this
).
hasClass
(
"
login
"
))
{
return
}
$
(
this
).
find
(
"
input
"
).
attr
(
"
autocomplete
"
,
"
off
"
);
})
$
(
"
form .form-row
"
).
formErrors
();
$
(
"
form .form-row input[type=checkbox]
"
).
formCheckBoxes
();
})
// hide label for captcha field
$
(
"
label[for=id_recaptcha_challenge_field]
"
).
closest
(
'
.form-row
'
).
hide
();
})
</script>
<script>
var
CLOUDBAR_LOCATION
=
"
{{ CLOUDBAR_LOC }}
"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment