Commit 56ef7949 authored by Sven Franck's avatar Sven Franck

added flag iconsprite for translations

parent b2bf5b30
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;}
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment