Dotclear


Ignore:
Timestamp:
10/23/18 12:10:59 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Drag'n'drop of dashboard areas is no more activated by default after 5 seconds. The user must activate (new button) it before moving them.

Location:
admin/style
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • admin/style/default-dark.css

    r3877 r3906  
    2121 
    2222a { 
    23   background: transparent; 
    24   } 
     23  background: transparent; } 
    2524  a:focus { 
    2625    outline: thin dotted; } 
     
    751750  margin: 0 -1em 1em -1em; 
    752751  background: #272b30; 
    753   border-bottom: 1px solid #86888c; 
    754   } 
     752  border-bottom: 1px solid #86888c; } 
    755753 
    756754/* page courante dans le fil d'ariane */ 
     
    22312229    margin: 0.2em 0 0 0; } 
    22322230 
     2231#dragndrop { 
     2232  position: absolute; 
     2233  width: 2em; 
     2234  height: 1.5em; 
     2235  -webkit-mask-image: url(dragndrop.svg); 
     2236  mask-image: url(dragndrop.svg); } 
     2237  #dragndrop:before { 
     2238    content: ""; 
     2239    display: inline-block; 
     2240    width: 2em; 
     2241    height: 1.5em; 
     2242    background: #86888c; } 
     2243  #dragndrop:checked:before { 
     2244    background: #bee74b; } 
     2245 
    22332246#media_img_title_pattern { 
    22342247  margin-right: 1em; } 
  • admin/style/default.css

    r3876 r3906  
    22292229    margin: 0.2em 0 0 0; } 
    22302230 
     2231#dragndrop { 
     2232  position: absolute; 
     2233  width: 2em; 
     2234  height: 1.5em; 
     2235  -webkit-mask-image: url(dragndrop.svg); 
     2236  mask-image: url(dragndrop.svg); } 
     2237  #dragndrop:before { 
     2238    content: ""; 
     2239    display: inline-block; 
     2240    width: 2em; 
     2241    height: 1.5em; 
     2242    background: #868686; } 
     2243  #dragndrop:checked:before { 
     2244    background: #137bbb; } 
     2245 
    22312246#media_img_title_pattern { 
    22322247  margin-right: 1em; } 
  • admin/style/scss/partials/_index.scss

    r3839 r3906  
    11#dashboard-main { 
    22  text-align: center; 
    3   & > *:last-child { 
     3  &>*:last-child { 
    44    margin-bottom: 1em; 
    55  } 
     
    141141  } 
    142142} 
     143// Drag'n'drop of dashboard areas 
     144#dragndrop { 
     145  position: absolute; 
     146  width: 2em; 
     147  height: 1.5em; 
     148  -webkit-mask-image: url(dragndrop.svg); 
     149  mask-image: url(dragndrop.svg); 
     150  &:before { 
     151    content: ""; 
     152    display: inline-block; 
     153    width: 2em; 
     154    height: 1.5em; 
     155    background: $drag-n-drop-off; 
     156  } 
     157  &:checked:before { 
     158    background: $drag-n-drop-on; 
     159  } 
     160} 
  • admin/style/scss/themes/_dark.scss

    r3871 r3906  
    313313$index-box-border:                tint($gray-dark, 66%); 
    314314 
     315$drag-n-drop-off:                 $gray-semi-dark; 
     316$drag-n-drop-on:                  $success; 
     317 
    315318// - Blog params 
    316319 
  • admin/style/scss/themes/_light.scss

    r3871 r3906  
    313313$index-box-border:                tint($gray-dark, 66%);              // #c5c5c5 
    314314 
     315$drag-n-drop-off:                 $gray-semi-dark; 
     316$drag-n-drop-on:                  $blue; 
     317 
    315318// - Blog params 
    316319 
Note: See TracChangeset for help on using the changeset viewer.

Sites map