MediaWiki:Gadget-GrAnnotations.css: Difference between revisions

No edit summary
No edit summary
Line 458: Line 458:
   background: #fff;
   background: #fff;
   border: 1px solid #e0e0e0;
   border: 1px solid #e0e0e0;
   border-radius: 8px;
   border-radius: 12px;
   box-shadow: 0 4px 16px rgba(0,0,0,0.14);
   box-shadow: 0 8px 40px rgba(0,0,0,0.22);
   width: 300px;
   width: 420px;
   padding: 12px 14px 10px;
  max-width: calc(100vw - 32px);
   padding: 20px 24px 16px;
   position: fixed;
   position: fixed;
  /* Centered on screen — same as feedback composer */
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
   z-index: 10150;
   z-index: 10150;
   display: none;
   display: none;
Line 628: Line 633:
     transform: translate(-50%, -50%) !important;
     transform: translate(-50%, -50%) !important;
   }
   }
   .gra-bm-composer {
   /* bm-composer already centered via its base CSS */
    width: calc(100vw - 32px);
    left: 16px !important;
    top: auto !important;
    bottom: 80px !important;
  }
}
}