2010-04-25 00:33:38 +00:00
|
|
|
/* -------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
Load this stylesheet after formtastic.css in your layouts to override the CSS to suit your needs.
|
|
|
|
This will allow you to update formtastic.css with new releases without clobbering your own changes.
|
|
|
|
|
|
|
|
For example, to make the inline hint paragraphs a little darker in color than the standard #666:
|
|
|
|
|
|
|
|
form.formtastic fieldset ol li p.inline-hints { color:#333; }
|
|
|
|
|
|
|
|
--------------------------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
form.formtastic legend {
|
2010-07-23 20:20:09 +00:00
|
|
|
margin: 0;
|
|
|
|
float: left;
|
|
|
|
white-space: normal;
|
|
|
|
position: relative;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
form.formtastic legend span {
|
|
|
|
display: block;
|
2010-07-23 20:20:09 +00:00
|
|
|
width: 900px;
|
|
|
|
height: 26px;
|
|
|
|
background: transparent url(/images/admin/form/header.png) no-repeat 0 0px;
|
|
|
|
color: #1e1f26;
|
|
|
|
font-size: 0.7em;
|
|
|
|
padding: 4px 0 0 20px;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
2010-05-11 21:38:52 +00:00
|
|
|
form.formtastic legend span small {
|
2010-07-23 20:20:09 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 7px;
|
|
|
|
right: 20px;
|
|
|
|
color: #787a89;
|
|
|
|
font-size: 0.8em;
|
|
|
|
font-weight: normal;
|
2010-05-11 21:38:52 +00:00
|
|
|
}
|
|
|
|
|
2010-04-25 00:33:38 +00:00
|
|
|
/* ___ enabling fold/unfold ___ */
|
|
|
|
|
|
|
|
form.formtastic fieldset.foldable legend span { cursor: pointer; }
|
|
|
|
|
|
|
|
form.formtastic fieldset.foldable legend span em {
|
2010-07-23 20:20:09 +00:00
|
|
|
display: inline-block;
|
|
|
|
width: 9px;
|
|
|
|
height: 6px;
|
|
|
|
position: relative;
|
|
|
|
top: 8px;
|
|
|
|
left: 10px;
|
|
|
|
background: transparent url(/images/admin/form/folded-arrow-on.png) no-repeat 0 0px;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
form.formtastic fieldset.foldable.folded legend span { background-image: url(/images/admin/form/folded.png); }
|
|
|
|
form.formtastic fieldset.foldable.folded legend span em {
|
2010-07-23 20:20:09 +00:00
|
|
|
width: 6px;
|
|
|
|
height: 9px;
|
|
|
|
top: 6px;
|
|
|
|
background-image: url(/images/admin/form/folded-arrow-off.png);
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
form.formtastic fieldset.foldable ol {
|
2010-07-23 20:20:09 +00:00
|
|
|
clear: both;
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
form.formtastic fieldset.foldable.folded ol { display: none; }
|
|
|
|
|
|
|
|
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
2010-07-23 20:20:09 +00:00
|
|
|
form.formtastic fieldset.foldable legend span em { top: 0px; }
|
|
|
|
form.formtastic fieldset.foldable.folded legend span em { top: 0px; }
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ___ inputs ___ */
|
|
|
|
|
|
|
|
form.formtastic fieldset.inputs { min-height: 30px; width: 100%; margin-bottom: 20px; }
|
|
|
|
|
2010-07-23 20:20:09 +00:00
|
|
|
form.formtastic fieldset.inputs ol {
|
|
|
|
clear: both;
|
|
|
|
margin: 30px 0 0 0;
|
|
|
|
padding-top: 15px;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
background: #ebedf4 url(/images/admin/form/footer.png) no-repeat 0 bottom;
|
|
|
|
border-top: 1px solid #ccced7;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
2010-07-23 20:20:09 +00:00
|
|
|
form.formtastic fieldset.inputs ol {
|
|
|
|
margin-top: 30px;
|
|
|
|
}
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
form.formtastic fieldset ol li { width: 100%; position: relative; margin-bottom: 1.3em; }
|
|
|
|
|
|
|
|
form.formtastic fieldset ol li label { text-align: left; padding: 0.3em 2em 0 20px; font-size: 0.8em; color: #17171b; width: 15%; }
|
|
|
|
|
|
|
|
form.formtastic fieldset ol li.string input,
|
|
|
|
form.formtastic fieldset ol li.password input,
|
|
|
|
form.formtastic fieldset ol li.numeric input,
|
|
|
|
form.formtastic fieldset ol li.text textarea,
|
|
|
|
form.formtastic fieldset ol li code textarea,
|
2010-07-23 20:20:09 +00:00
|
|
|
form.formtastic fieldset ol li input[type=password] {
|
|
|
|
padding: 4px;
|
|
|
|
font-size: 0.9em;
|
|
|
|
width: 45%;
|
|
|
|
color: #787a89;
|
|
|
|
background: white url(/images/admin/form/field.png) repeat-x 0 0;
|
|
|
|
border: 1px solid #a6a8b8;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
2010-07-23 20:20:09 +00:00
|
|
|
form.formtastic fieldset ol li p.inline-hints { margin-left: 20%; }
|
2010-04-25 00:33:38 +00:00
|
|
|
form.formtastic fieldset ol li p.inline-hints a { color: #1f82bc; }
|
|
|
|
|
|
|
|
form.formtastic fieldset ol li code { display: block; border: 1px solid #a6a8b8; margin: 10px 20px 0 20px; }
|
|
|
|
form.formtastic fieldset ol li code.nude textarea {
|
2010-07-23 20:20:09 +00:00
|
|
|
width: 870px;
|
|
|
|
border: 0px;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*form.formtastic fieldset ol li code.html iframe { width: 46% !important; }*/
|
|
|
|
|
|
|
|
form.formtastic fieldset ol li select { font-size: 0.9em; position: relative; top: 2px; color: #787a89; }
|
|
|
|
|
|
|
|
form.formtastic fieldset ol li.error input,
|
|
|
|
form.formtastic fieldset ol li.error textarea,
|
|
|
|
form.formtastic fieldset ol li.error code iframe { border: 2px solid #ec3f48 !important; }
|
|
|
|
form.formtastic fieldset ol li.error code { border: none; }
|
|
|
|
form.formtastic fieldset ol li p.inline-errors {
|
2010-07-23 20:20:09 +00:00
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
top: 0px;
|
|
|
|
left: 630px;
|
|
|
|
width: 250px;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 6px 5px 8px 25px;
|
|
|
|
background: #ec3f48 url(/images/admin/form/error-arrow.png) no-repeat 0 0;
|
|
|
|
color: #fff !important;
|
|
|
|
font-size: 0.7em !important;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
2010-08-20 16:24:59 +00:00
|
|
|
form.formtastic fieldset ol li.code label { display: none; }
|
|
|
|
|
2010-06-24 09:14:08 +00:00
|
|
|
form.formtastic fieldset ol li.code p.inline-errors {
|
2010-07-23 20:20:09 +00:00
|
|
|
display: block;
|
2010-08-28 00:00:05 +00:00
|
|
|
float: left;
|
2010-07-23 20:20:09 +00:00
|
|
|
margin: 4px 16px 0 0;
|
|
|
|
position: relative;
|
2010-08-28 00:00:05 +00:00
|
|
|
left: 20px;
|
2010-07-23 20:20:09 +00:00
|
|
|
background-image: none;
|
2010-06-24 09:14:08 +00:00
|
|
|
}
|
|
|
|
|
2010-06-30 15:41:54 +00:00
|
|
|
form.formtastic fieldset ol .more { text-align: right; width: auto; margin: 10px 20px 0 0; line-height: 0.6em; }
|
|
|
|
form.formtastic fieldset ol .more a { text-decoration: none; color: #787A89; font-size: 0.7em; }
|
|
|
|
form.formtastic fieldset ol .more a:hover { text-decoration: underline; }
|
2010-04-25 00:33:38 +00:00
|
|
|
|
|
|
|
/*form.formtastic hr { border-top: 2px solid #ccc; }*/
|
|
|
|
|
|
|
|
/*form.formtastic fieldset.buttons { padding-left: 28%; padding-bottom: 20px; }*/
|
|
|
|
|
|
|
|
form.formtastic div.actions {
|
2010-07-23 20:20:09 +00:00
|
|
|
position: relative;
|
|
|
|
top: 27px;
|
|
|
|
left: -15px;
|
|
|
|
width: 950px;
|
|
|
|
background: #8b8d9a;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
form.formtastic div.actions p {
|
2010-07-23 20:20:09 +00:00
|
|
|
padding: 15px;
|
|
|
|
margin: 0px;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
form.formtastic div.actions a {
|
2010-07-23 20:20:09 +00:00
|
|
|
color: #fff;
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 0.8em;
|
|
|
|
position: relative;
|
|
|
|
top: 4px;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
form.formtastic div.actions p a:hover { text-decoration: underline; }
|
|
|
|
|
|
|
|
form.formtastic div.actions .last p { text-align: right; }
|
|
|
|
|
|
|
|
|
|
|
|
/* ___ pages ___ */
|
|
|
|
|
|
|
|
form.formtastic fieldset ol li.path em {
|
2010-07-23 20:20:09 +00:00
|
|
|
font-size: 0.8em;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
form.formtastic fieldset ol li.path input {
|
2010-07-23 20:20:09 +00:00
|
|
|
background: transparent;
|
|
|
|
padding: 4px 4px 2px 4px;
|
|
|
|
border: none;
|
|
|
|
color: #787a89;
|
|
|
|
border-bottom: 1px solid #b5b7c4;
|
|
|
|
width: 30%;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
form.formtastic fieldset ol li.path.error input {
|
2010-07-23 20:20:09 +00:00
|
|
|
border: none !important;
|
|
|
|
border-bottom: 2px solid #ff092c !important;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ___ sites ___ */
|
|
|
|
|
|
|
|
form.formtastic fieldset ol li.item {
|
2010-07-23 20:20:09 +00:00
|
|
|
position: relative;
|
|
|
|
background: transparent url(/images/admin/form/item.png) no-repeat 0 0;
|
|
|
|
height: 25px;
|
|
|
|
width: 861px;
|
|
|
|
margin: 0px 0px 10px 20px;
|
|
|
|
padding: 3px 10px;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
form.formtastic fieldset ol li.item strong {
|
2010-07-23 20:20:09 +00:00
|
|
|
font-size: 0.9em;
|
|
|
|
font-weight: bold;
|
|
|
|
color: #17171d;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
form.formtastic fieldset ol li.item strong a {
|
2010-07-23 20:20:09 +00:00
|
|
|
color: #17171d;
|
|
|
|
text-decoration: none;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
form.formtastic fieldset ol li.item strong a:hover { text-decoration: underline; }
|
|
|
|
|
|
|
|
form.formtastic fieldset ol li.item em {
|
2010-07-23 20:20:09 +00:00
|
|
|
margin-left: 10px;
|
|
|
|
font-size: 0.7em;
|
|
|
|
color: #757575;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
form.formtastic fieldset ol li.item span.actions {
|
2010-07-23 20:20:09 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 5px;
|
|
|
|
right: 10px;
|
|
|
|
width: 50px;
|
|
|
|
height: 16px;
|
|
|
|
text-align:right;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ___ editable-list (content type fields and validations) ___ */
|
|
|
|
|
2010-05-10 22:39:52 +00:00
|
|
|
form.formtastic fieldset.editable-list ol { padding-left: 20px; padding-right: 20px; width: 880px; }
|
2010-04-25 00:33:38 +00:00
|
|
|
|
|
|
|
form.formtastic fieldset.editable-list ol li { margin-left: 0px !important; }
|
|
|
|
|
|
|
|
form.formtastic fieldset.editable-list ol li span.handle {
|
2010-07-23 20:20:09 +00:00
|
|
|
cursor: move;
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
form.formtastic fieldset.editable-list ol li.added span.actions a.remove {
|
2010-07-23 20:20:09 +00:00
|
|
|
display: inline;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
form.formtastic fieldset.editable-list ol li.added span.actions button {
|
2010-07-23 20:20:09 +00:00
|
|
|
display: none;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
form.formtastic fieldset.editable-list ol li.added select {
|
2010-07-23 20:20:09 +00:00
|
|
|
display: none;
|
|
|
|
position: relative;
|
|
|
|
top: -1px;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
form.formtastic fieldset.editable-list ol li.added em {
|
2010-07-23 20:20:09 +00:00
|
|
|
color: #8b8d9a;
|
|
|
|
font-size: 0.9em;
|
|
|
|
font-style: italic;
|
|
|
|
margin-left: 3px;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
form.formtastic fieldset.editable-list ol li.added em { border: 1px solid transparent; padding: 2px 5px; }
|
|
|
|
form.formtastic fieldset.editable-list ol li.added em:hover {
|
2010-07-23 20:20:09 +00:00
|
|
|
background: #fffbe5;
|
|
|
|
border: 1px dotted #efe4a5;
|
|
|
|
cursor: pointer;
|
|
|
|
color: #17171D;
|
|
|
|
font-weight: bold;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
form.formtastic fieldset.editable-list ol li.added input {
|
2010-07-23 20:20:09 +00:00
|
|
|
position: relative;
|
|
|
|
top: -1px;
|
|
|
|
background: transparent;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
padding: 1px 5px 2px 5px;
|
|
|
|
color: #17171D;
|
|
|
|
font-size: 0.9em;
|
|
|
|
font-weight: bold;
|
|
|
|
cursor: pointer;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
form.formtastic fieldset.editable-list ol li.added input:hover {
|
2010-07-23 20:20:09 +00:00
|
|
|
background: #fffbe5;
|
|
|
|
border: 1px dotted #efe4a5;
|
|
|
|
cursor: pointer;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
form.formtastic fieldset.editable-list ol li.added input:focus {
|
2010-07-23 20:20:09 +00:00
|
|
|
font-size: 0.9em;
|
|
|
|
font-weight: normal;
|
|
|
|
color: #787a89;
|
|
|
|
background: white url(/images/admin/form/field.png) repeat-x 0 0;
|
|
|
|
border: 1px solid #a6a8b8;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
2010-05-10 22:39:52 +00:00
|
|
|
form.formtastic fieldset.editable-list ol li.added .inline-errors {
|
2010-07-23 20:20:09 +00:00
|
|
|
position: relative;
|
|
|
|
top: -1px;
|
|
|
|
padding: 2px 3px;
|
|
|
|
background: #FFE5E5;
|
|
|
|
color: #CE2525;
|
|
|
|
font-size: 0.8em;
|
2010-05-10 22:39:52 +00:00
|
|
|
}
|
|
|
|
|
2010-05-19 16:17:45 +00:00
|
|
|
form.formtastic fieldset.editable-list ol li.template {
|
2010-07-23 20:20:09 +00:00
|
|
|
height: 42px;
|
|
|
|
background-image: url(/images/admin/form/big_item.png);
|
|
|
|
padding-top: 10px;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
2010-05-19 16:17:45 +00:00
|
|
|
form.formtastic fieldset.editable-list ol li.template input {
|
2010-07-23 20:20:09 +00:00
|
|
|
display: inline;
|
|
|
|
margin-left: 10px;
|
|
|
|
padding: 4px;
|
|
|
|
font-size: 0.9em;
|
|
|
|
width: 180px;
|
|
|
|
color: #787a89;
|
|
|
|
background: white url(/images/admin/form/field.png) repeat-x 0 0;
|
|
|
|
border: 1px solid #a6a8b8;
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
2010-05-19 16:17:45 +00:00
|
|
|
form.formtastic fieldset.editable-list ol li.template select {
|
2010-07-23 20:20:09 +00:00
|
|
|
display: inline;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
2010-05-19 16:17:45 +00:00
|
|
|
form.formtastic fieldset.editable-list ol li.template span.handle {
|
2010-07-23 20:20:09 +00:00
|
|
|
display: none;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
2010-05-19 16:17:45 +00:00
|
|
|
form.formtastic fieldset.editable-list ol li.template span.actions {
|
2010-07-23 20:20:09 +00:00
|
|
|
width: auto;
|
|
|
|
top: 10px;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
2010-06-08 00:45:49 +00:00
|
|
|
form.formtastic fieldset.editable-list ol li.template span.actions a.edit {
|
2010-07-23 20:20:09 +00:00
|
|
|
display: none;
|
2010-06-08 00:45:49 +00:00
|
|
|
}
|
|
|
|
|
2010-05-19 16:17:45 +00:00
|
|
|
form.formtastic fieldset.editable-list ol li.template span.actions a.remove {
|
2010-07-23 20:20:09 +00:00
|
|
|
display: none;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
2010-05-19 16:17:45 +00:00
|
|
|
form.formtastic fieldset.editable-list ol li.template span.actions button {
|
2010-07-23 20:20:09 +00:00
|
|
|
display: inline;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
2010-05-19 16:17:45 +00:00
|
|
|
form.formtastic fieldset.editable-list ol li.template span.actions button span {
|
2010-07-23 20:20:09 +00:00
|
|
|
font-size: 0.8em;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ___ editable-list (content type validations) ___ */
|
|
|
|
|
|
|
|
form.formtastic fieldset.validations ol li.added em.key {
|
2010-07-23 20:20:09 +00:00
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
top: -1px;
|
|
|
|
padding: 1px 5px 2px 5px;
|
|
|
|
color: #17171D;
|
|
|
|
font-size: 0.9em;
|
|
|
|
font-weight: bold;
|
|
|
|
font-style: normal;
|
|
|
|
margin-left: 5px;
|
|
|
|
width: 180px;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
2010-08-31 21:53:30 +00:00
|
|
|
/* ___ content instance / editable elements___ */
|
2010-06-24 09:14:08 +00:00
|
|
|
|
|
|
|
form.content_instance fieldset ol li.text textarea {
|
2010-07-23 20:20:09 +00:00
|
|
|
width: 75%;
|
2010-06-24 09:14:08 +00:00
|
|
|
}
|
|
|
|
|
2010-08-31 21:53:30 +00:00
|
|
|
form.formtastic fieldset ol li.file p.remove {
|
2010-07-23 20:20:09 +00:00
|
|
|
margin: 5px 0 0 20%;
|
2010-06-30 13:18:17 +00:00
|
|
|
}
|
|
|
|
|
2010-08-31 21:53:30 +00:00
|
|
|
form.formtastic fieldset ol li.file p.remove a {
|
2010-07-23 20:20:09 +00:00
|
|
|
text-decoration: none;
|
|
|
|
color: #333;
|
2010-06-30 13:18:17 +00:00
|
|
|
}
|
|
|
|
|
2010-08-31 21:53:30 +00:00
|
|
|
form.formtastic fieldset ol li.file p.remove a:hover { text-decoration: underline; }
|
2010-06-30 13:18:17 +00:00
|
|
|
|
2010-04-25 00:33:38 +00:00
|
|
|
/* ___ my account ___ */
|
|
|
|
|
|
|
|
form.formtastic fieldset.language li.full span {
|
2010-07-23 20:20:09 +00:00
|
|
|
margin: 0 20px;
|
2010-09-05 22:50:05 +00:00
|
|
|
font-size: 1em;
|
2010-07-23 20:20:09 +00:00
|
|
|
font-weight: bold;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
2010-07-23 20:20:09 +00:00
|
|
|
form.formtastic fieldset.language li.full span img {
|
|
|
|
position: relative;
|
|
|
|
top: 6px;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
form.formtastic fieldset.language li.full span input {
|
2010-07-23 20:20:09 +00:00
|
|
|
margin-left: 5px;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ___ membership ___ */
|
|
|
|
|
|
|
|
form.formtastic fieldset.email li.full input {
|
2010-07-23 20:20:09 +00:00
|
|
|
margin-left: 20px;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ___ assets ___ */
|
|
|
|
|
|
|
|
.selector {
|
2010-07-23 20:20:09 +00:00
|
|
|
position: relative;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.selector span.alt {
|
2010-07-23 20:20:09 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 7px;
|
|
|
|
right: 20px;
|
|
|
|
color: #787a89;
|
|
|
|
font-size: 0.7em;
|
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
form.formtastic fieldset.file li.full input {
|
2010-07-23 20:20:09 +00:00
|
|
|
margin-left: 20px;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
form.formtastic fieldset.file li.full p.inline-errors { display: block !important; }
|
|
|
|
|
|
|
|
|
|
|
|
form.formtastic fieldset.preview { position: relative; }
|
|
|
|
|
2010-05-11 21:38:52 +00:00
|
|
|
form.formtastic fieldset.preview li { text-align: center; position: static; }
|
2010-04-25 00:33:38 +00:00
|
|
|
|
2010-05-11 21:38:52 +00:00
|
|
|
form.formtastic fieldset.preview li .image {
|
2010-07-23 20:20:09 +00:00
|
|
|
width: 870px;
|
|
|
|
margin: 10px 20px 0px 20px;
|
|
|
|
border: 4px solid white;
|
|
|
|
background: transparent url(/images/admin/list/empty.png) repeat 0 0;
|
|
|
|
overflow: hidden;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
2010-05-11 21:38:52 +00:00
|
|
|
form.formtastic fieldset.preview li .inside {
|
2010-07-23 20:20:09 +00:00
|
|
|
display: table-cell;
|
|
|
|
vertical-align: middle;
|
|
|
|
text-align: center;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
2010-05-12 00:16:39 +00:00
|
|
|
form.formtastic fieldset.preview li img { }
|
2010-05-11 21:38:52 +00:00
|
|
|
|
|
|
|
|
2010-04-25 00:33:38 +00:00
|
|
|
/* ___ main error message ___ */
|
|
|
|
|
|
|
|
div.form-errors p {
|
2010-07-23 20:20:09 +00:00
|
|
|
background: #FFE5E5;
|
|
|
|
color: #CE2525;
|
|
|
|
font-size: 18px;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 10px;
|
|
|
|
margin: 0px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.formError {
|
|
|
|
position: relative;
|
|
|
|
top: -2px;
|
|
|
|
display: inline;
|
|
|
|
background: #CE2525 url(/images/admin/left_arrow_red.png) no-repeat 0px center;
|
|
|
|
color: white;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: normal;
|
|
|
|
padding: 3px 10px 3px 20px;
|
|
|
|
margin-left: 10px;
|
2010-04-25 00:33:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
div.fieldWithErrors { display: inline; }
|
|
|
|
|