comparison core/themes/stable/css/quickedit/quickedit.module.css @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children 129ea1e6d783
comparison
equal deleted inserted replaced
-1:000000000000 0:4c8ae668cc8c
1 /**
2 * @file
3 * Generic base styles for Quick Edit module.
4 *
5 * Note: every class is prefixed with "quickedit-" to prevent collisions with
6 * modules or themes. In Edit module-specific DOM subtrees, this is not
7 * necessary.
8 */
9
10 /**
11 * Editable.
12 */
13 .quickedit-editable {
14 z-index: 98;
15 position: relative;
16 cursor: pointer;
17 }
18 .quickedit-editable:focus {
19 outline: none;
20 }
21
22 /**
23 * Highlighted (hovered) editable.
24 */
25 .quickedit-editable.quickedit-highlighted {
26 z-index: 99;
27 }
28 .quickedit-validation-errors > .messages {
29 margin-left: 0;
30 margin-right: 0;
31 }
32 .quickedit-validation-errors > .messages > ul {
33 list-style: none;
34 margin: 0;
35 padding: 0;
36 }
37
38 /**
39 * In-place editors that don't use a popup.
40 */
41 .quickedit-validation-errors {
42 z-index: 300;
43 position: relative;
44 }
45 .quickedit-validation-errors .messages.error {
46 position: absolute;
47 top: 6px;
48 left: -5px; /* LTR */
49 margin: 0;
50 border: none;
51 }
52 [dir="rtl"] .quickedit-validation-errors .messages.error {
53 left: auto;
54 right: -5px;
55 }
56
57 /**
58 * Styling specific to the 'form' in-place editor.
59 */
60 #quickedit_backstage {
61 display: none;
62 }
63 .quickedit-form {
64 position: absolute;
65 z-index: 300;
66 max-width: 35em;
67 }
68 .quickedit-form .placeholder {
69 min-height: 22px;
70 }
71
72 /**
73 * Default form styling overrides.
74 */
75 .quickedit-form .form-wrapper .form-wrapper {
76 margin: inherit;
77 }
78 .quickedit-form .form-actions {
79 display: none;
80 }
81 .quickedit-form input {
82 max-width: 100%;
83 }
84
85 /**
86 * Entity toolbar.
87 */
88 .quickedit-toolbar-container {
89 max-width: 100%;
90 position: absolute;
91 max-width: 320px;
92 width: 320px;
93 z-index: 100;
94 }
95 .quickedit-toolbar-container > .quickedit-toolbar-pointer,
96 .quickedit-toolbar-container > .quickedit-toolbar-lining {
97 display: none;
98 }
99 .quickedit-form-container {
100 position: relative;
101 padding: 0;
102 border: 0;
103 margin: 0;
104 vertical-align: baseline;
105 z-index: 100;
106 }
107 .quickedit-toolgroup.ops {
108 float: right; /* LTR */
109 }
110 [dir="rtl"] .quickedit-toolgroup.ops {
111 float: left;
112 }
113 .quickedit-toolbar-label {
114 overflow: hidden;
115 }
116 #quickedit-toolbar-fence {
117 bottom: 0;
118 left: 0;
119 right: 0;
120 top: 0;
121 position: fixed;
122 z-index: -1;
123 }