MediaWiki:Gadget-FotoPicker.css
Z Dane WikiZagłębie
Uwaga: aby zobaczyć zmiany po opublikowaniu, może zajść potrzeba wyczyszczenia pamięci podręcznej przeglądarki.
- Firefox / Safari: Przytrzymaj Shift podczas klikania Odśwież bieżącą stronę, lub naciśnij klawisze Ctrl+F5, lub Ctrl+R (⌘-R na komputerze Mac)
- Google Chrome: Naciśnij Ctrl-Shift-R (⌘-Shift-R na komputerze Mac)
- Edge: Przytrzymaj Ctrl, jednocześnie klikając Odśwież, lub naciśnij klawisze Ctrl+F5.
- Opera: Naciśnij klawisze Ctrl+F5.
/* Wybór pliku z Foto WikiZagłębie (Dane) – FotoPicker 1.0.0 */
.fp-helper { margin: 6px 0 4px; font-size: 13px; }
.fp-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fp-btn { border: 1px solid #a2a9b1; border-radius: 6px; background: #f8f9fa; color: #202122;
padding: 4px 10px; font: inherit; cursor: pointer; }
.fp-btn:hover { background: #eaecf0; }
.fp-note { color: #54595d; }
.fp-note.fp-ok a { color: #14866d; }
.fp-note.fp-warn { color: #b32424; }
.fp-suggest { display: grid; grid-template-columns: repeat( auto-fill, minmax( 118px, 1fr ) ); gap: 6px;
margin-top: 6px; max-height: 330px; overflow: auto; padding: 6px; border: 1px solid #c8ccd1;
border-radius: 8px; background: #fff; box-shadow: 0 6px 18px #0002; }
.fp-tile { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 5px;
border: 1px solid #eaecf0; border-radius: 6px; background: #fff; cursor: pointer; font: inherit;
color: #202122; text-align: center; min-width: 0; }
.fp-tile:hover, .fp-tile:focus-visible { border-color: #36c; box-shadow: 0 0 0 1px #36c; outline: none; }
.fp-tile img { width: 96px; height: 72px; object-fit: cover; border-radius: 4px; background: #eaecf0; }
.fp-tile-name { font-size: 11px; line-height: 1.25; overflow-wrap: anywhere; max-height: 2.5em; overflow: hidden; }
.fp-tile-size { font-size: 10px; color: #72777d; }
.fp-dialog { width: min( 900px, calc( 100vw - 24px ) ); max-height: min( 820px, calc( 100vh - 24px ) ); padding: 0;
border: 1px solid #a2a9b1; border-radius: 12px; box-shadow: 0 24px 80px #0005; overflow: auto; }
.fp-dialog::backdrop { background: #0b192b99; }
.fp-dialog-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid #c8ccd1;
position: sticky; top: 0; background: #fff; z-index: 1; font-size: 16px; }
.fp-close { margin-left: auto; border: 0; background: none; font-size: 22px; cursor: pointer; padding: 2px 8px; }
.fp-dialog-search { display: flex; gap: 8px; padding: 12px 18px 4px; }
.fp-dialog-search input { flex: 1; padding: 7px 10px; border: 1px solid #a2a9b1; border-radius: 6px; font: inherit; }
.fp-status { padding: 4px 18px; color: #54595d; font-size: 13px; }
.fp-grid { display: grid; grid-template-columns: repeat( auto-fill, minmax( 130px, 1fr ) ); gap: 8px; padding: 8px 18px 18px; }
.fp-grid .fp-tile img { width: 120px; height: 90px; }