Difference between revisions of "MediaWiki:Gadget-libBottomRightCorner.css"

From Moegirlpedia
Jump to: navigation, search
(同步小工具)
(Tag: Bot)
 
m (跨站同步)
(Tag: Bot)
 
Line 1: Line 1:
 +
/* <pre> */
 +
/**
 +
* -------------------------------------------------------------------------
 +
* !!! DON'T MODIFY THIS PAGE MANUALLY, YOUR CHANGES WILL BE OVERWRITTEN !!!
 +
* -------------------------------------------------------------------------
 +
*/
 +
._addText { content: '{{GHIACode|page=GHIA:MoegirlPediaInterfaceCodes/blob/master/src/gadgets/libBottomRightCorner/MediaWiki:Gadget-libBottomRightCorner.css|user=[[U:AnnAngela]]|longId=47c8f34b1beb8f390201e769649f6a56c542c3ed|shortId=47c8f34|message=style: Update CSS to match stylelint standard}}'; }
 +
 
#bottomRightCorner {
 
#bottomRightCorner {
 
     display: flex;
 
     display: flex;
Line 7: Line 15:
 
     cursor: pointer;
 
     cursor: pointer;
 
     z-index: 13;
 
     z-index: 13;
     user-select: none;
+
     -webkit-user-select: none;
 +
      -moz-user-select: none;
 +
            user-select: none;
 
}
 
}
  
Line 23: Line 33:
 
     margin-top: 17px;
 
     margin-top: 17px;
 
     background-color: #000;
 
     background-color: #000;
     color: #fff;
+
     color: #FFF;
     opacity: .6;
+
     opacity: 0.6;
 
}
 
}
  
Line 36: Line 46:
 
     }
 
     }
 
}
 
}
 +
 +
/* </pre> */

Latest revision as of 18:18, 5 September 2022

/* <pre> */
/**
 * -------------------------------------------------------------------------
 * !!! DON'T MODIFY THIS PAGE MANUALLY, YOUR CHANGES WILL BE OVERWRITTEN !!!
 * -------------------------------------------------------------------------
 */
._addText { content: '{{GHIACode|page=GHIA:MoegirlPediaInterfaceCodes/blob/master/src/gadgets/libBottomRightCorner/MediaWiki:Gadget-libBottomRightCorner.css|user=[[U:AnnAngela]]|longId=47c8f34b1beb8f390201e769649f6a56c542c3ed|shortId=47c8f34|message=style: Update CSS to match stylelint standard}}'; }

#bottomRightCorner {
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 0;
    bottom: 100px;
    cursor: pointer;
    z-index: 13;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}

body.overlay-scrollbars.skin-vector #bottomRightCorner {
    /* 因为无法计算滚动条宽度,只能使用预设值 */
    right: 20px;
}

#bottomRightCorner>div {
    width: 20px;
    order: 0;
    font-size: 12px;
    text-align: center;
    padding: 5px 0;
    margin-top: 17px;
    background-color: #000;
    color: #FFF;
    opacity: 0.6;
}

.mw-mmv-lightbox-open #bottomRightCorner {
    display: none !important;
}

@media print {
    #bottomRightCorner {
        display: none !important;
    }
}

/* </pre> */