2012-12-21 17:03:57 +00:00
|
|
|
/**
|
2013-06-29 21:42:22 +00:00
|
|
|
* @file edit.module.css
|
2012-12-21 17:03:57 +00:00
|
|
|
*
|
|
|
|
* Note: every class is prefixed with "edit-" to prevent collisions with modules
|
|
|
|
* or themes. In IPE-specific DOM subtrees, this is not necessary.
|
|
|
|
*/
|
|
|
|
|
2013-06-29 21:42:22 +00:00
|
|
|
/**
|
|
|
|
* Editable.
|
|
|
|
*/
|
2012-12-21 17:03:57 +00:00
|
|
|
.edit-editable {
|
2013-06-29 21:42:22 +00:00
|
|
|
z-index: 98;
|
2012-12-21 17:03:57 +00:00
|
|
|
position: relative;
|
2013-10-05 07:14:39 +00:00
|
|
|
cursor: pointer;
|
2012-12-21 17:03:57 +00:00
|
|
|
}
|
|
|
|
.edit-editable:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2013-06-29 21:42:22 +00:00
|
|
|
/**
|
|
|
|
* Highlighted (hovered) editable.
|
|
|
|
*/
|
2012-12-21 17:03:57 +00:00
|
|
|
.edit-editable.edit-highlighted {
|
2013-06-28 17:41:52 +00:00
|
|
|
z-index: 99;
|
2012-12-21 17:03:57 +00:00
|
|
|
}
|
2013-06-29 21:42:22 +00:00
|
|
|
.edit-validation-errors > .messages {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
2012-12-21 17:03:57 +00:00
|
|
|
}
|
2013-06-29 21:42:22 +00:00
|
|
|
.edit-validation-errors > .messages > ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2012-12-21 17:03:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Edit mode: type=direct.
|
|
|
|
*/
|
|
|
|
.edit-validation-errors {
|
|
|
|
z-index: 300;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.edit-validation-errors .messages.error {
|
|
|
|
position: absolute;
|
|
|
|
top: 6px;
|
2013-06-29 21:42:22 +00:00
|
|
|
left: -5px; /* LTR */
|
2012-12-21 17:03:57 +00:00
|
|
|
margin: 0;
|
|
|
|
border: none;
|
|
|
|
}
|
2013-06-29 21:42:22 +00:00
|
|
|
[dir="rtl"] .edit-validation-errors .messages.error {
|
|
|
|
left: auto;
|
|
|
|
right: -5px;
|
|
|
|
}
|
2012-12-21 17:03:57 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Edit mode: type=form.
|
|
|
|
*/
|
|
|
|
#edit_backstage {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.edit-form {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 300;
|
|
|
|
max-width: 35em;
|
|
|
|
}
|
|
|
|
.edit-form .placeholder {
|
|
|
|
min-height: 22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2013-06-29 21:42:22 +00:00
|
|
|
* Default form styling overrides.
|
2012-12-21 17:03:57 +00:00
|
|
|
*/
|
2013-06-29 21:42:22 +00:00
|
|
|
.edit-form .form-wrapper .form-wrapper {
|
|
|
|
margin: inherit;
|
|
|
|
}
|
|
|
|
.edit-form .form-actions {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.edit-form input {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2012-12-21 17:03:57 +00:00
|
|
|
|
2013-06-29 21:42:22 +00:00
|
|
|
/**
|
|
|
|
* Entity toolbar.
|
|
|
|
*/
|
|
|
|
.edit-toolbar-container {
|
|
|
|
max-width: 100%;
|
|
|
|
position: absolute;
|
|
|
|
max-width: 320px;
|
|
|
|
width: 320px;
|
2013-08-29 00:46:18 +00:00
|
|
|
z-index: 100;
|
2013-06-29 21:42:22 +00:00
|
|
|
}
|
|
|
|
.edit-toolbar-container > .edit-toolbar-pointer,
|
|
|
|
.edit-toolbar-container > .edit-toolbar-lining {
|
|
|
|
display: none;
|
|
|
|
}
|
2012-12-21 17:03:57 +00:00
|
|
|
.edit-form-container {
|
|
|
|
position: relative;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
margin: 0;
|
|
|
|
vertical-align: baseline;
|
2013-06-28 17:41:52 +00:00
|
|
|
z-index: 100;
|
2012-12-21 17:03:57 +00:00
|
|
|
}
|
|
|
|
.edit-toolgroup.ops {
|
|
|
|
float: right; /* LTR */
|
|
|
|
}
|
2013-06-29 21:42:22 +00:00
|
|
|
[dir="rtl"] .edit-toolgroup.ops {
|
2012-12-21 17:03:57 +00:00
|
|
|
float: left;
|
|
|
|
}
|
2013-06-29 21:42:22 +00:00
|
|
|
.edit-toolbar-label {
|
|
|
|
overflow: hidden;
|
2012-12-21 17:03:57 +00:00
|
|
|
}
|
2013-06-29 21:42:22 +00:00
|
|
|
#edit-toolbar-fence {
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
position: fixed;
|
|
|
|
z-index: -1;
|
2012-12-21 17:03:57 +00:00
|
|
|
}
|