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
a9f088a3
Commit
a9f088a3
authored
Nov 02, 2012
by
Olga Brani
Browse files
Style bug fixes
parent
842d4a6b
Changes
3
Hide whitespace changes
Inline
Side-by-side
snf-astakos-app/astakos/im/static/im/css/modules.css
View file @
a9f088a3
...
...
@@ -385,14 +385,14 @@ table.alt-style tr td a.open { background-position:-16px 0}
.quotas-form
.double-checks
.with-checkbox
input
[
type
=
"text"
]
{
width
:
60px
;
float
:
left
;
margin
:
9px
15px
-9px
;
display
:
none
;
padding
:
6px
;
}
.quotas-form
.double-checks
.with-checkbox
label
{
width
:
auto
;
float
:
left
;
margin-left
:
35px
;
}
.quotas-form
.double-checks
.with-checkbox
input
[
type
=
"text"
]
.hideshow
{
display
:
block
;
}
form
.quotas-form
legend
span
.info
{
top
:
0
;
bottom
:
auto
;
left
:
25
0
px
;
}
form
.quotas-form
legend
span
.info
{
top
:
0
;
bottom
:
auto
;
left
:
2
2
5px
;
}
form
.quotas-form
legend
span
.info
span
{
width
:
400px
;
}
.quotas-form
.with-checkbox
+
.with-checkbox
{
width
:
196px
;
}
/* stats */
.stats
ul
{
margin
:
0
;
padding
:
0
;
list-style
:
none
outside
none
;
}
.stats
ul
li
{
margin
:
0
0
1em
0
;
padding
:
0
0
1em
0
;
list-style
:
none
outside
none
;
background
:
url(../images/stats-line.jpg)
repeat-x
left
bottom
}
.stats
.bar
{
padding
:
20px
0
;
text-align
:
center
;
float
:
left
;
width
:
200px
;}
.stats
.bar
{
padding
:
0
;
text-align
:
center
;
float
:
left
;
width
:
200px
;}
.stats
.bar
div
{
width
:
340px
;
height
:
30px
;
border
:
1px
solid
#000
;}
.stats
.bar
span
{
text-align
:
right
;
display
:
block
;
height
:
100%
;
color
:
#fff
;
line-height
:
30px
;
font-size
:
1.231em
;
text-indent
:
50px
;}
.stats
.red
.bar
span
{
background
:
#ef4f54
;
}
...
...
snf-astakos-app/astakos/im/static/im/js/common.js
View file @
a9f088a3
...
...
@@ -229,6 +229,12 @@ $(document).ready(function() {
$
(
this
).
hide
();
})
$
(
'
.stats .bar
'
).
each
(
function
(){
h
=
parseInt
(
$
(
this
).
parent
(
'
li
'
).
height
());
g
=
(
h
-
32
)
/
2
;
$
(
this
).
css
(
'
marginTop
'
,
g
)
})
});
...
...
snf-astakos-app/astakos/im/static/im/js/quotas.js
View file @
a9f088a3
...
...
@@ -10,7 +10,7 @@ $(document).ready(function() {
if
(
$
(
this
).
hasClass
(
id
)
)
{
$
(
this
).
appendTo
(
'
.foo
'
);
$
(
this
).
show
(
'
slow
'
);
$
(
this
).
find
(
'
input
'
)[
0
].
focus
()
;
$
(
this
).
find
(
'
input
'
)[
0
].
focus
()
}
});
}
...
...
@@ -25,8 +25,8 @@ $(document).ready(function() {
$
(
this
).
siblings
(
'
fieldset
'
).
find
(
'
input[type="checkbox"].limited
'
).
removeAttr
(
'
checked
'
);
$
(
this
).
siblings
(
'
fieldset
'
).
find
(
'
input[type="checkbox"].unlimited
'
).
attr
(
'
checked
'
,
'
checked
'
);
$
(
this
).
siblings
(
'
fieldset
'
).
find
(
'
.double-checks input[type="text"]
'
).
removeClass
(
'
hideshow
'
);
$
(
this
).
parents
(
'
.group
'
).
appendTo
(
'
.not-foo
'
);
$
(
this
).
parents
(
'
.group
'
).
hide
(
'
slow
'
);
$
(
this
).
parents
(
'
.group
'
).
appendTo
(
'
.not-foo
'
);
groupClass
=
$
(
this
).
parents
(
'
.group
'
).
attr
(
'
class
'
).
replace
(
'
group
'
,
''
);
$
(
'
.quotas-form ul li a
'
).
each
(
function
()
{
if
(
$
(
this
).
attr
(
'
id
'
)
==
groupClass
)
{
...
...
@@ -41,13 +41,12 @@ $(document).ready(function() {
$
(
'
.quotas-form .checkbox-widget.limited
'
).
click
(
function
(
e
){
e
.
preventDefault
();
$
(
this
).
siblings
(
'
input[type="text"]
'
).
toggle
Class
(
'
hideshow
'
);
$
(
this
).
siblings
(
'
input[type="text"]
'
).
toggle
(
);
$
(
this
).
siblings
(
'
input[type="text"]
'
).
focus
();
parentdiv
=
$
(
this
).
parents
(
'
.form-row
'
).
prev
(
'
.form-row
'
);
parentdiv
.
find
(
'
input[type="checkbox"].unlimited
'
).
removeAttr
(
'
checked
'
);
parentdiv
.
find
(
'
.checkbox-widget
'
).
removeClass
(
'
checked
'
);
checkTextInput
();
});
$
(
'
.quotas-form .checkbox-widget.unlimited
'
).
click
(
function
(
e
){
...
...
@@ -55,9 +54,12 @@ $(document).ready(function() {
parentdiv
.
find
(
'
.checkbox-widget
'
).
removeClass
(
'
checked
'
);
parentdiv
.
find
(
'
input[type="checkbox"].limited
'
).
removeAttr
(
'
checked
'
);
parentdiv
.
find
(
'
input[type="text"]
'
).
val
(
''
);
parentdiv
.
find
(
'
input[type="text"]
'
).
removeClass
(
'
hideshow
'
);
parentdiv
.
find
(
'
input[type="text"]
'
).
hide
(
);
})
});
\ No newline at end of file
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