Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ecommerce-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
ecommerce-ui
Commits
56ef7949
Commit
56ef7949
authored
Nov 12, 2013
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added flag iconsprite for translations
parent
b2bf5b30
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
6 deletions
+26
-6
css/css.css
css/css.css
+18
-3
css/themes.css
css/themes.css
+8
-3
img/flags.png
img/flags.png
+0
-0
No files found.
css/css.css
View file @
56ef7949
html
body
.ui-input-text.invalid
{
html
body
.ui-input-text.invalid
,
html
body
label
.invalid
{
border
:
1px
solid
red
!important
;
}
.bold
{
...
...
@@ -211,5 +212,19 @@ tbody .large {
-moz-box-shadow
:
none
!important
;
box-shadow
:
none
!important
;
}
/* ====================== flags =================================== */
/*http://flag-sprites.com/*/
/* TODO: redo */
html
body
.ui-btn.flag
:after
{
background-repeat
:
no-repeat
;
background-size
:
50px
30px
;
-webkit-background-size
:
50px
30px
;
background-image
:
url("../img/flags.png")
;
content
:
""
;
margin-top
:
12px
!important
;
width
:
/* 25px */
16px
;
height
:
15px
;
border-radius
:
.6em
;
}
html
body
.ui-btn.flag.ui-icon-flag-cn
:after
{
background-position
:
/* -25px 0px; */
-25px
0px
;}
html
body
.ui-btn.flag.ui-icon-flag-gb
:after
{
background-position
:
/* 0px -15px; */
-5px
-15px
;}
css/themes.css
View file @
56ef7949
...
...
@@ -855,14 +855,14 @@ html .ui-header .ui-last-wrap .ui-controlgroup-controls .ui-btn {
/* set label/input width on large screens */
/* TODO: form fields should auto-expand to full width */
@media
(
min-width
:
40em
)
{
.ui-fieldcontain
label
,
.ui-fieldcontain
label
:not
(
.ui-btn
)
,
.ui-fieldcontain
div
.ui-input-text
,
.ui-fieldcontain
div
.ui-input-search
,
.ui-fieldcontain
div
.ui-select
{
display
:
inline-block
;
vertical-align
:
middle
;
}
.ui-fieldcontain
label
{
.ui-fieldcontain
label
:not
(
.ui-btn
)
{
width
:
40%
;
}
.ui-fieldcontain
div
.ui-input-text
,
...
...
@@ -886,6 +886,7 @@ html .ui-header .ui-last-wrap .ui-controlgroup-controls .ui-btn {
}
/* ============================= forms ============================= */
/*
form {
font-size: .85em;
}
...
...
@@ -897,6 +898,7 @@ form p {
font-size: 1em;
}
}
*/
/* ============================= content grid ============================= */
.span_1
,
.span_2
{
display
:
inline-block
;
...
...
@@ -1023,12 +1025,15 @@ html div.ui-page div.ui-content .ui-content-element > .ui-btn {
/* button */
.ui-header
a
.ui-btn
,
html
.ui-header
a
.ui-btn
,
html
body
.ui-header
a
.ui-btn
{
html
body
.ui-header
a
.ui-btn
,
html
body
.ui-header
.ui-controlgroup
.ui-controlgroup-controls
div
.ui-select
.ui-btn
{
height
:
100%
;
margin
:
0
;
position
:
relative
;
/* otherwise multiple buttons break */
padding-top
:
0
;
padding-bottom
:
0
;
border-radius
:
0
;
-webkit-border-radius
:
0
;
}
html
.ui-btn
,
label
.ui-btn
{
font-weight
:
normal
;
...
...
img/flags.png
0 → 100644
View file @
56ef7949
1.61 KB
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