Dotclear


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

Better this way and it works on every modern browsers (I hope) \o/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/style/scss/partials/_index.scss

    r3907 r3908  
    147147  } 
    148148  position: absolute; 
    149   width: 2em; 
    150   height: 1.5em; 
    151   -webkit-mask-image: url(dragndrop.svg); 
    152   mask-image: url(dragndrop.svg); 
    153   &:before { 
    154     content: ""; 
     149  &+label { 
     150    position: absolute; 
    155151    display: inline-block; 
     152    line-height: 1; 
     153  } 
     154  &+label .dragndrop-svg { 
    156155    width: 2em; 
    157156    height: 1.5em; 
    158     background: $drag-n-drop-off; 
     157    fill: $drag-n-drop-off; 
    159158  } 
    160   &:checked:before { 
    161     background: $drag-n-drop-on; 
     159  &:checked+label .dragndrop-svg { 
     160    fill: $drag-n-drop-on; 
    162161  } 
    163162} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map