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
14d5605e
Commit
14d5605e
authored
Nov 13, 2013
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added CSS for language icons and responsive forms
parent
a43db239
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
15 deletions
+25
-15
css/css.css
css/css.css
+15
-10
css/themes.css
css/themes.css
+10
-5
img/flags.png
img/flags.png
+0
-0
No files found.
css/css.css
View file @
14d5605e
html
body
.ui-input-text.invalid
,
html
body
label
.invalid
{
html
body
.required.invalid
~
label
{
border
:
1px
solid
red
!important
;
}
.bold
{
...
...
@@ -213,18 +213,23 @@ tbody .large {
box-shadow
:
none
!important
;
}
/* ====================== flags =================================== */
/*http://flag-sprites.com/*/
/* TODO: redo */
/*
builder: http://iconizr.com/
svg flags: https://github.com/koppi/iso-country-flags-svg-collection
*/
html
body
.ui-btn.flag
:after
{
background-repeat
:
no-repeat
;
background-size
:
50px
30
px
;
-webkit-background-size
:
50px
30
px
;
background-size
:
18px
36
px
;
-webkit-background-size
:
18px
36
px
;
background-image
:
url("../img/flags.png")
;
content
:
""
;
margin-top
:
1
2
px
!important
;
width
:
/* 25px */
16
px
;
height
:
1
5
px
;
margin-top
:
1
1
px
!important
;
width
:
18
px
;
height
:
1
8
px
;
border-radius
:
.6em
;
-webkit-box-shadow
:
inset
0
1px
3px
rgba
(
0
,
0
,
0
,
.2
);
-moz-box-shadow
:
inset
0
1px
3px
rgba
(
0
,
0
,
0
,
.2
);
box-shadow
:
inset
0
1px
3px
rgba
(
0
,
0
,
0
,
.2
);
}
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
;
}
html
body
.ui-btn.flag.ui-icon-flag-cn
:after
{
background-position
:
0px
0px
;
}
html
body
.ui-btn.flag.ui-icon-flag-gb
:after
{
background-position
:
0px
-18px
;
}
css/themes.css
View file @
14d5605e
...
...
@@ -863,7 +863,7 @@ html .ui-header .ui-last-wrap .ui-controlgroup-controls .ui-btn {
vertical-align
:
middle
;
}
.ui-fieldcontain
label
:not
(
.ui-btn
)
{
width
:
4
0%
;
width
:
4
6%
/*40%*/
;
}
.ui-fieldcontain
div
.ui-input-text
,
.ui-fieldcontain
div
.ui-input-search
{
...
...
@@ -902,7 +902,7 @@ form p {
/* ============================= content grid ============================= */
.span_1
,
.span_2
{
display
:
inline-block
;
vertical-align
:
top
;
vertical-align
:
middle
;
width
:
45%
;
padding-left
:
2%
;
padding-right
:
2%
;
...
...
@@ -1436,7 +1436,8 @@ html .ui-filterable {
/* First breakpoint is 48em (768px). 3 column layout. Tiles 250x250 pixels incl. margin at the breakpoint. */
@media
(
min-width
:
48em
)
{
/* limit controlbar width */
html
.ui-page
.ui-controlbar.responsive
{
html
.ui-page
.ui-controlbar.responsive
,
form
.responsive
{
max-width
:
40em
;
/* 640px */
margin
:
0
auto
;
clear
:
both
;
...
...
@@ -1562,6 +1563,7 @@ html .ui-filterable {
/* Set a max-width for the last breakpoint to prevent too much stretching on large screens.
By setting the max-width equal to the breakpoint width minus padding we keep square tiles. */
/* responsive content */
html
form
.responsive
,
html
.ui-page
.ui-content-element.responsive
,
html
.ui-page
.ui-listview.responsive
,
html
.ui-page
.ui-controlbar.responsive
{
...
...
@@ -1623,6 +1625,7 @@ html .ui-panel-inner .ui-listview li a {
}
/* overwrite icon positioning for fontawesome */
/*
.ui-panel-inner .ui-btn-icon-right:after,
.ui-panel-inner .ui-listview > li > .ui-btn[class*="ui-icon-"]:after {
right: 0;
...
...
@@ -1631,7 +1634,9 @@ html .ui-panel-inner .ui-listview li a {
.ui-listview > li > .ui-btn[class*="ui-icon-"]:after {
right: 0.3625em;
}
*/
/* reset */
/*
html.ui-nosvg .ui-btn-icon-right:after,
html.ui-nosvg .ui-panel-inner .ui-listview > li > .ui-btn[class*="ui-icon-"]:after {
right: 0.5625em;
...
...
@@ -1642,7 +1647,7 @@ html.ui-nosvg .ui-panel-inner .ui-listview > li > .ui-btn[class*="ui-icon-"]:aft
html.ui-nosvg .ui-btn-icon-left:after {
left: 0.5625em;
}
*/
/* custom icons */
.ui-listview
li
span
.ui-li-icon-custom
{
bottom
:
0
;
...
...
@@ -1696,7 +1701,7 @@ html.ui-nosvg .ui-btn-icon-left:after {
.ui-checkbox
.ui-btn.ui-checkbox-off
:after
{
background
:
0
none
;
background-image
:
none
;
margin
:
-
9
px
2px
0
;
margin
:
-
11
px
2px
0
;
}
/* overwrite JQM showing focus icon */
.ui-icon-check
:after
,
...
...
img/flags.png
View replaced file @
a43db239
View file @
14d5605e
1.61 KB
|
W:
|
H:
4.64 KB
|
W:
|
H:
2-up
Swipe
Onion skin
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