mirror of
https://github.com/RetroShare/RSNewWebUI.git
synced 2026-09-12 19:50:04 +05:00
webui v172: the photo viewer buttons keep their elevation while pressed
The !important sweep left .photo-view-nav-btn (0,1,0) losing its own box-shadow to the global button:active inset (0,1,1) during the press; its elevation is now restated on :active. Label to v172. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
2fe6ea2407
commit
15428791fe
@ -2,7 +2,7 @@ const m = require('mithril');
|
||||
|
||||
// Bumped at every change of the web UI; shown in the rail, the phone header
|
||||
// and the Debug page.
|
||||
const WEBUI_VERSION = 'v171';
|
||||
const WEBUI_VERSION = 'v172';
|
||||
|
||||
const login = require('login');
|
||||
const rs = require('rswebui');
|
||||
|
||||
@ -962,6 +962,12 @@ button.board-card__vote-btn,
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
// The global button:active (0,1,1) presses an inset shadow over this class
|
||||
// (0,1,0) while clicked; keep the button's own elevation instead.
|
||||
.photo-view-nav-btn:active {
|
||||
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.photo-view-footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user