@@ -782,3 +782,145 @@ td { overflow-wrap: anywhere; }
782782 width : 100% ;
783783 }
784784}
785+
786+ /* Responsive page width and account navigation. Modern keeps a roomier outer
787+ gutter, while Classic and Fun use more of the available app window. */
788+ html {
789+ scrollbar-gutter : stable;
790+ }
791+
792+ .app-shell {
793+ margin-inline : 0 ;
794+ max-width : none;
795+ padding : clamp (10px , 1.25vw , 20px );
796+ width : 100% ;
797+ }
798+
799+ : root[data-ui = 'modern' ] .app-shell {
800+ max-width : none;
801+ padding-block : clamp (18px , 2.4vw , 36px );
802+ padding-inline : clamp (16px , 3vw , 48px );
803+ }
804+
805+ : root[data-ui = 'fun' ] .app-shell {
806+ max-width : none;
807+ padding : clamp (10px , 1.5vw , 24px );
808+ }
809+
810+ .account-link ,
811+ .block-toggle {
812+ background : transparent;
813+ border : 0 ;
814+ box-shadow : none;
815+ color : var (--qm-text-primary );
816+ min-height : auto;
817+ padding : 0 ;
818+ }
819+
820+ .account-link {
821+ align-items : center;
822+ border-radius : var (--qm-radius );
823+ display : inline-flex;
824+ gap : calc (8px * var (--qm-text-scale ));
825+ justify-content : flex-start;
826+ max-width : 100% ;
827+ min-width : 0 ;
828+ text-align : start;
829+ }
830+
831+ .account-link > span : last-child {
832+ overflow : hidden;
833+ text-overflow : ellipsis;
834+ white-space : nowrap;
835+ }
836+
837+ .account-link : hover : not (: disabled ),
838+ .block-toggle : hover : not (: disabled ) {
839+ background : var (--qm-accent-soft );
840+ color : var (--qm-text-primary );
841+ }
842+
843+ .account-link : focus-visible ,
844+ .block-toggle : focus-visible {
845+ outline : 2px solid var (--qm-accent );
846+ outline-offset : 3px ;
847+ }
848+
849+ .table-wrap tbody tr {
850+ cursor : default;
851+ }
852+
853+ .table-wrap tbody tr : has (.account-link ): hover {
854+ background : var (--qm-surface-alt );
855+ }
856+
857+ .block-row__summary {
858+ align-items : center;
859+ min-height : 2.45em ;
860+ padding : 0.55em 0.8em ;
861+ }
862+
863+ .block-toggle {
864+ align-items : center;
865+ display : inline-flex;
866+ gap : 0.4em ;
867+ justify-content : flex-start;
868+ }
869+
870+ .block-minter {
871+ width : fit-content;
872+ }
873+
874+ .account-detail {
875+ align-items : center;
876+ display : flex;
877+ gap : clamp (12px , 2vw , 20px );
878+ min-width : 0 ;
879+ }
880+
881+ .account-detail__text {
882+ display : grid;
883+ gap : 0.5em ;
884+ min-width : 0 ;
885+ }
886+
887+ .account-detail__line {
888+ align-items : center;
889+ display : flex;
890+ flex-wrap : wrap;
891+ gap : 0.6em ;
892+ min-width : 0 ;
893+ }
894+
895+ .account-detail__address p {
896+ overflow-wrap : anywhere;
897+ }
898+
899+ .selected-account {
900+ align-items : flex-start;
901+ flex-direction : column;
902+ }
903+
904+ : root[data-ui = 'fun' ] .account-link ,
905+ : root[data-ui = 'fun' ] .block-toggle {
906+ border : 0 ;
907+ box-shadow : none;
908+ }
909+
910+ : root[data-ui = 'fun' ] .account-link : hover: not (: dis abled),
911+ : root[data-ui = 'fun' ] .block-toggle : hover : not (: disabled ) {
912+ box-shadow : none;
913+ transform : none;
914+ }
915+
916+ @media (max-width : 560px ) {
917+ .account-detail {
918+ align-items : flex-start;
919+ flex-direction : column;
920+ }
921+
922+ .account-detail__line {
923+ align-items : flex-start;
924+ flex-direction : column;
925+ }
926+ }
0 commit comments