001/* 002 * This library is part of OpenCms - 003 * the Open Source Content Management System 004 * 005 * Copyright (c) Alkacon Software GmbH & Co. KG (https://www.alkacon.com) 006 * 007 * This library is free software; you can redistribute it and/or 008 * modify it under the terms of the GNU Lesser General Public 009 * License as published by the Free Software Foundation; either 010 * version 2.1 of the License, or (at your option) any later version. 011 * 012 * This library is distributed in the hope that it will be useful, 013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 015 * Lesser General Public License for more details. 016 * 017 * For further information about Alkacon Software, please see the 018 * company website: https://www.alkacon.com 019 * 020 * For further information about OpenCms, please see the 021 * project website: https://www.opencms.org 022 * 023 * You should have received a copy of the GNU Lesser General Public 024 * License along with this library; if not, write to the Free Software 025 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 026 */ 027 028package org.opencms.ade.containerpage.client.ui.css; 029 030import org.opencms.gwt.client.ui.css.I_CmsConstantsBundle; 031import org.opencms.gwt.client.ui.css.I_CmsDirectEditCss; 032import org.opencms.gwt.client.ui.css.I_CmsLayoutBundle.I_CmsButtonCss; 033 034import com.google.gwt.core.client.GWT; 035import com.google.gwt.resources.client.ClientBundle; 036import com.google.gwt.resources.client.CssResource; 037import com.google.gwt.resources.client.CssResource.Import; 038import com.google.gwt.resources.client.CssResource.Shared; 039 040/** 041 * Resource bundle to access CSS and image resources. 042 * 043 * @since 8.0.0 044 */ 045public interface I_CmsLayoutBundle extends ClientBundle { 046 047 /** Container-page CSS. */ 048 public interface I_CmsContainerpageCss extends I_CmsDirectEditCss, I_CmsDragDropCss { 049 050 /** Access method.<p> 051 * 052 * @return the CSS class name 053 */ 054 String clipboardList(); 055 056 /** 057 * Access method.<p> 058 * 059 * @return the CSS class name 060 */ 061 String emptyGroupContainer(); 062 063 /** Access method.<p> 064 * 065 * @return the CSS class name 066 */ 067 @ClassName("oc-enlarge-small-elements") 068 String enlargeSmallElements(); 069 070 /** 071 * Access method.<p> 072 * 073 * @return the CSS class name 074 */ 075 String expired(); 076 077 /** 078 * Access method.<p> 079 * 080 * @return the CSS class name 081 */ 082 String expiredOverlay(); 083 084 /** 085 * Access method.<p> 086 * 087 * @return the CSS class name 088 */ 089 String functionElement(); 090 091 /** Access method.<p> 092 * 093 * @return the CSS class name 094 */ 095 @ClassName("oc-groupcontainer") 096 String groupContainer(); 097 098 /** Access method.<p> 099 * 100 * @return the CSS class name 101 */ 102 String groupcontainerEditing(); 103 104 /** Access method.<p> 105 * 106 * @return the CSS class name 107 */ 108 String groupcontainerEditor(); 109 110 /** Access method.<p> 111 * 112 * @return the CSS class name 113 */ 114 String groupcontainerOverlay(); 115 116 /** Access method.<p> 117 * 118 * @return the CSS class name 119 */ 120 String groupcontainerPlaceholder(); 121 122 /** Access method.<p> 123 * 124 * @return the CSS class name 125 */ 126 String hiddenElement(); 127 128 /** Access method.<p> 129 * 130 * @return the CSS class name 131 */ 132 String hiddenElementOverlay(); 133 134 /** Access method.<p> 135 * 136 * @return the CSS class name 137 */ 138 String hideElements(); 139 140 /** Access method.<p> 141 * 142 * @return the CSS class name 143 */ 144 @ClassName("oc-ignore-small-elements") 145 String ignoreSmallElements(); 146 147 /** Access method.<p> 148 * 149 * @return the CSS class name 150 */ 151 String inlineEditDisabled(); 152 153 /** Access method.<p> 154 * 155 * @return the CSS class name 156 */ 157 String lockedElement(); 158 159 /** Access method.<p> 160 * 161 * @return the CSS class name 162 */ 163 String menuTabContainer(); 164 165 /** Access method.<p> 166 * 167 * @return the CSS class name 168 */ 169 @ClassName("oc-nondefault-view") 170 String nonDefaultView(); 171 172 /** Access method.<p> 173 * 174 * @return the CSS class name 175 */ 176 @ClassName("oc-reused-element") 177 String reusedElement(); 178 179 /** Access method.<p> 180 * 181 * @return the CSS class name 182 */ 183 @ClassName("oc-small-element") 184 String smallElement(); 185 186 } 187 188 /** The drag and drop CSS classes used also within the container-page CSS. */ 189 @Shared 190 public interface I_CmsDragDropCss extends org.opencms.gwt.client.ui.css.I_CmsLayoutBundle.I_CmsDragCss { 191 192 /** 193 * Access method.<p> 194 * 195 * @return the CSS class name 196 */ 197 @ClassName("oc-drag-element") 198 String dragElement(); 199 200 /** 201 * Access method.<p> 202 * 203 * @return the CSS class name 204 */ 205 String dragging(); 206 207 } 208 209 /** The drag and drop CSS classes. */ 210 public interface I_CmsDragDropExtendedCss extends I_CmsDragDropCss { 211 212 /** 213 * Access method.<p> 214 * 215 * @return the CSS class name 216 */ 217 String clearFix(); 218 219 /** 220 * Access method.<p> 221 * 222 * @return the CSS class name 223 */ 224 String currentTarget(); 225 226 /** 227 * Access method.<p> 228 * 229 * @return the CSS class name 230 */ 231 String dragElementBackground(); 232 233 /** 234 * Access method.<p> 235 * 236 * @return the CSS class name 237 */ 238 String dragElementBorder(); 239 240 /** 241 * Access method.<p> 242 * 243 * @return the CSS class name 244 */ 245 String dragGroupContainer(); 246 247 /** 248 * Access method.<p> 249 * 250 * @return the CSS class name 251 */ 252 String dragHandle(); 253 254 /** 255 * Access method.<p> 256 * 257 * @return the CSS class name 258 */ 259 String dragOverlay(); 260 261 /** 262 * Access method.<p> 263 * 264 * @return the CSS class name 265 */ 266 @ClassName("oc-drag-target") 267 String dragTarget(); 268 269 /** 270 * Access method.<p> 271 * 272 * @return the CSS class name 273 */ 274 String overlayShow(); 275 276 /** 277 * Access method.<p> 278 * 279 * @return the CSS class name 280 */ 281 String placeholderOverlay(); 282 283 } 284 285 /** Group container editor CSS. */ 286 public interface I_CmsGroupContainer extends CssResource { 287 288 /** Access method.<p> 289 * 290 * @return the CSS class name 291 */ 292 String containerMarker(); 293 294 /** Access method.<p> 295 * 296 * @return the CSS class name 297 */ 298 String inputBox(); 299 300 /** Access method.<p> 301 * 302 * @return the CSS class name 303 */ 304 String inputLabel(); 305 306 /** Access method.<p> 307 * 308 * @return the CSS class name 309 */ 310 String inputRow(); 311 } 312 313 /** The bundle instance. */ 314 I_CmsLayoutBundle INSTANCE = GWT.create(I_CmsLayoutBundle.class); 315 316 /** 317 * The accessor for the CSS constants bundle.<p> 318 * 319 * @return the constants bundle 320 */ 321 I_CmsConstantsBundle constants(); 322 323 /** 324 * Access method.<p> 325 * 326 * @return the container-page CSS 327 */ 328 @Source("containerpage.gss") 329 @Import(I_CmsButtonCss.class) 330 I_CmsContainerpageCss containerpageCss(); 331 332 /** 333 * Access method.<p> 334 * 335 * @return the drag and drop CSS 336 */ 337 @Source("dragdrop.gss") 338 I_CmsDragDropExtendedCss dragdropCss(); 339 340 /** 341 * Access method.<p> 342 * 343 * @return the container-page CSS 344 */ 345 @Source("groupcontainer.gss") 346 I_CmsGroupContainer groupcontainerCss(); 347}