Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/20/16 13:01:12 (8 years ago)
Author:
jlodewyc
Message:

#2582 Core update, pre migration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Scripts/Styling/StyleSheet.css

    r13847 r13854  
    164164box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
    165165    }
     166
     167    /***************************** Required styles *****************************/
     168
     169/**
     170 * For the correct positioning of the placeholder element, the dnd-list and
     171 * it's children must have position: relative
     172 */
     173 ul[dnd-list],
     174 ul[dnd-list] > li {
     175  position: relative;
     176}
     177
     178/***************************** Dropzone Styling *****************************/
     179
     180/**
     181 * The dnd-list should always have a min-height,
     182 * otherwise you can't drop to it once it's empty
     183 */
     184 .dropzone ul[dnd-list] {
     185    min-height: 42px;
     186    margin: 0px;
     187    padding-left: 0px;
     188}
     189
     190/**
     191 * The dnd-lists's child elements currently MUST have
     192 * position: relative. Otherwise we can not determine
     193 * whether the mouse pointer is in the upper or lower
     194 * half of the element we are dragging over. In other
     195 * browsers we can use event.offsetY for this.
     196 */
     197 .dropzone li {
     198    background-color: #fff;
     199    border: 1px solid rgba(0,0,0,0.3) ;
     200    border-radius:25px;
     201    display: block;
     202    padding: 0px;
     203}
     204
     205/**
     206 * Reduce opacity of elements during the drag operation. This allows the user
     207 * to see where he is dropping his element, even if the element is huge. The
     208 * .dndDragging class is automatically set during the drag operation.
     209 */
     210 .dropzone .dndDragging {
     211    opacity: 0.7;
     212}
     213
     214/**
     215 * The dndDraggingSource class will be applied to the source element of a drag
     216 * operation. It makes sense to hide it to give the user the feeling that he's
     217 * actually moving it. Note that the source element has also .dndDragging class.
     218 */
     219 .dropzone .dndDraggingSource {
     220    display: none;
     221}
     222
     223/**
     224 * An element with .dndPlaceholder class will be added as child of the dnd-list
     225 * while the user is dragging over it.
     226 */
     227 .dropzone .dndPlaceholder {
     228    background-color: #ddd;
     229    min-height: 42px;
     230    display: block;
     231    position: relative;
     232}
     233
     234/***************************** Element Selection *****************************/
     235
     236 .dropzone .selected {
     237    background-color: #dff0d8 !important;
     238}
     239
     240 .dropzone .selected .box {
     241    border-color: #d6e9c6;
     242}
     243
     244
     245/***************************** Element type specific styles *****************************/
     246
     247 .dropzone .item {
     248    padding: 10px 15px;
     249}
     250
     251 .dropzone .container-element {
     252    margin: 10px;
     253}
     254
     255
     256/***************************** Toolbox *****************************/
     257
     258 .toolbox ul {
     259    list-style: none;
     260    padding-left: 0px;
     261    cursor: move;
     262}
     263
     264 .toolbox button {
     265    margin: 5px;
     266    width: 123px;
     267    opacity: 1.0;
     268}
     269
     270 .toolbox .dndDragging {
     271    opacity: 0.5;
     272}
     273
     274 .toolbox .dndDraggingSource {
     275    opacity: 1.0;
     276}
     277
     278/***************************** Trashcan *****************************/
     279
     280 .trashcan ul {
     281    list-style: none;
     282    padding-left: 0px;
     283}
     284
     285 .trashcan img {
     286    width: 100%;
     287    -webkit-filter: grayscale(100%);
     288    -moz-filter: grayscale(100%);
     289    filter: grayscale(100%);
     290}
     291
     292 .trashcan .dndDragover img {
     293    width: 100%;
     294    -webkit-filter: none;
     295    -moz-filter: none;
     296    filter: none;
     297}
     298
     299 .trashcan .dndPlaceholder {
     300    display: none;
     301}
Note: See TracChangeset for help on using the changeset viewer.