[1659] | 1 | /* |
---|
| 2 | # -- BEGIN LICENSE BLOCK --------------------------------------- |
---|
| 3 | # |
---|
| 4 | # This file is part of Dotclear 2. |
---|
| 5 | # |
---|
[2442] | 6 | # Copyright (c) 2003-2013 Olivier Meunier and Association Dotclear |
---|
[1659] | 7 | # Licensed under the GPL version 2.0 license. |
---|
| 8 | # See LICENSE file or |
---|
| 9 | # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html |
---|
| 10 | # |
---|
| 11 | # -- END LICENSE BLOCK ----------------------------------------- |
---|
| 12 | */ |
---|
[0] | 13 | |
---|
[1659] | 14 | |
---|
| 15 | /* ------------------------------------------------------------- side bars */ |
---|
[0] | 16 | #sidebarsWidgets { |
---|
| 17 | float: left; |
---|
[2342] | 18 | width: 49%; |
---|
[1518] | 19 | margin: 0 0 0 1%; |
---|
[1483] | 20 | padding: 0 1%; |
---|
[0] | 21 | } |
---|
[1483] | 22 | .widgets.fieldset { |
---|
| 23 | margin-bottom: 2em; |
---|
| 24 | } |
---|
[1657] | 25 | .widgets.fieldset.if-drag { |
---|
[1669] | 26 | padding-bottom: 0; |
---|
| 27 | border-radius: .5em; |
---|
[1526] | 28 | } |
---|
[1659] | 29 | #dndnav, #dndextra, #dndcustom { |
---|
[0] | 30 | padding: 1em 0; |
---|
[1650] | 31 | margin: 1em 0 0; |
---|
[0] | 32 | } |
---|
[1649] | 33 | #dndnav > li, |
---|
| 34 | #dndextra > li, |
---|
[1669] | 35 | #dndcustom > li { |
---|
| 36 | padding: 0; |
---|
[1526] | 37 | border: 1px solid #999; |
---|
| 38 | margin-bottom: 1em; |
---|
[1648] | 39 | list-style: none; |
---|
[1526] | 40 | } |
---|
[2395] | 41 | #dndnav > li.empty-widgets, |
---|
| 42 | #dndextra > li.empty-widgets, |
---|
| 43 | #dndcustom > li.empty-widgets { |
---|
| 44 | border: 0; |
---|
| 45 | } |
---|
[1659] | 46 | #dndnav > li.ui-sortable-placeholder, |
---|
| 47 | #dndextra > li.ui-sortable-placeholder, |
---|
| 48 | #dndcustom > li.ui-sortable-placeholder, |
---|
| 49 | .sortable-delete > li.ui-sortable-placeholder { |
---|
[1649] | 50 | border: 1px dashed #999; |
---|
[1669] | 51 | height: 2em; |
---|
| 52 | padding: .3em; |
---|
[1649] | 53 | } |
---|
[1669] | 54 | .sortable-delete > li.ui-sortable-placeholder { |
---|
| 55 | border-width: 2px; |
---|
| 56 | border-color: red; |
---|
| 57 | } |
---|
[1659] | 58 | .sortable-delete { |
---|
[1648] | 59 | display: none; |
---|
| 60 | } |
---|
[1657] | 61 | .sortable-delete.if-drag { |
---|
[1669] | 62 | border: 1px dotted #999; |
---|
| 63 | color: #000; |
---|
[1649] | 64 | font-weight: bold; |
---|
[1669] | 65 | list-style-type: none; |
---|
| 66 | margin: 0 0 1em; |
---|
| 67 | padding: .5em 1em; |
---|
[1651] | 68 | display: block; |
---|
[1669] | 69 | background: #fafafa; |
---|
[1649] | 70 | } |
---|
[1659] | 71 | .sortable-delete > li { |
---|
| 72 | margin-bottom: 3px; |
---|
| 73 | } |
---|
| 74 | .sortable-delete > li.sortable-delete-placeholder { |
---|
| 75 | border: 0 none; |
---|
[1669] | 76 | color: #aaa; |
---|
| 77 | font-size: 1em; |
---|
| 78 | font-weight: bold; |
---|
[1659] | 79 | text-align: center; |
---|
[1526] | 80 | } |
---|
[1483] | 81 | .widget-name { |
---|
| 82 | background: #eef; |
---|
[0] | 83 | color: #000; |
---|
[1480] | 84 | padding: 4px 6px; |
---|
[1526] | 85 | margin: 0; |
---|
[0] | 86 | font-weight: bold; |
---|
| 87 | } |
---|
[1483] | 88 | .widget-name img { |
---|
[0] | 89 | cursor: pointer; |
---|
| 90 | margin-bottom: -1px; |
---|
| 91 | } |
---|
[1659] | 92 | .widget-name a.aexpand, |
---|
| 93 | .widget-name a.aexpand:link, |
---|
| 94 | .widget-name a.aexpand:visited { |
---|
[1629] | 95 | border: 0 none; |
---|
[1669] | 96 | color: #000; |
---|
[1629] | 97 | text-decoration: none; |
---|
| 98 | } |
---|
[1659] | 99 | #dndnav .form-note, |
---|
| 100 | #dndextra .form-note, |
---|
| 101 | #dndcustom .form-note { |
---|
[1526] | 102 | display: none; |
---|
| 103 | } |
---|
[2401] | 104 | .toolsWidget { |
---|
[2400] | 105 | float: right; |
---|
[1526] | 106 | } |
---|
[0] | 107 | .widgetSettings { |
---|
[1526] | 108 | border-top: 1px solid #ddd; |
---|
| 109 | padding: 8px 6px; |
---|
[1483] | 110 | background: #f5f5f5; |
---|
[0] | 111 | } |
---|
[1659] | 112 | |
---|
| 113 | #sidebarsControl { |
---|
| 114 | clear: left; |
---|
[0] | 115 | } |
---|
[1659] | 116 | |
---|
| 117 | /* ------------------------------------------------------------- list Widgets ref */ |
---|
| 118 | #listWidgets { |
---|
| 119 | float: left; |
---|
[2342] | 120 | width: 49%; |
---|
[1659] | 121 | background: #eee; |
---|
[2566] | 122 | padding: 1.5em 1% 0; |
---|
[1659] | 123 | margin: 0 1% 0 0; |
---|
[0] | 124 | } |
---|
[1659] | 125 | #listWidgets h3 { |
---|
| 126 | color: #333; |
---|
| 127 | } |
---|
| 128 | |
---|
| 129 | #widgets-ref { |
---|
| 130 | padding: 1em 0; |
---|
| 131 | margin: 1em 0 0; |
---|
| 132 | } |
---|
| 133 | #widgets-ref > li { |
---|
| 134 | border: 1px solid #ccc; |
---|
| 135 | margin-bottom: .5em; |
---|
| 136 | background: #fff; |
---|
| 137 | min-height: 3em; |
---|
| 138 | padding: 0 0 4px 0; |
---|
| 139 | list-style: none; |
---|
| 140 | } |
---|
| 141 | #widgets-ref .widget-name, |
---|
| 142 | #widgets-ref .manual-move { |
---|
| 143 | background: #fff; |
---|
| 144 | margin-bottom: 0; |
---|
| 145 | padding: 4px 8px 0; |
---|
| 146 | } |
---|
| 147 | #widgets-ref .widget-name { |
---|
| 148 | min-height: 3em; |
---|
| 149 | } |
---|
| 150 | #widgets-ref .widget-name .form-note { |
---|
| 151 | display: block; |
---|
| 152 | font-style: normal; |
---|
| 153 | font-size: 1.1rem; |
---|
| 154 | } |
---|
| 155 | #widgets-ref .widgetSettings { |
---|
[0] | 156 | display: none; |
---|
| 157 | } |
---|
[2418] | 158 | .removeWidget { |
---|
| 159 | margin-left: 1em; |
---|
| 160 | } |
---|
[1659] | 161 | /* ------------------------------------------------------------- help */ |
---|
[0] | 162 | #widgets-tpl dt { |
---|
| 163 | margin: 1em 0 0 0; |
---|
| 164 | } |
---|
| 165 | #widgets-tpl dd { |
---|
| 166 | margin: 0.2em 0 1em 0; |
---|
[2566] | 167 | } |
---|