Files
gym-manage/gym-manage-uniapp/common/style/memberInfo/member-info-sub-nav.css
T
2026-06-04 14:18:53 +08:00

124 lines
2.3 KiB
CSS

.sub-nav {
width: 100%;
display: flex;
flex-direction: column;
flex-shrink: 0;
box-sizing: border-box;
}
.sub-nav__toolbar {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 100;
width: 100%;
background-color: #ffffff;
box-sizing: border-box;
border-bottom: 1px solid #e9edf2;
}
.sub-nav__spacer {
width: 100%;
flex-shrink: 0;
}
.sub-nav__nav {
position: relative;
display: flex;
flex-direction: row;
align-items: center;
height: 44px;
padding-left: 12px;
padding-right: 12px;
box-sizing: border-box;
width: 100%;
}
.sub-nav__back {
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
min-width: 32px;
border-radius: 8px;
background-color: #f9fafe;
flex-shrink: 0;
position: relative;
z-index: 2;
}
.sub-nav__back-icon {
width: 20px;
height: 20px;
max-width: 20px;
max-height: 20px;
display: block;
flex-shrink: 0;
}
.sub-nav__title {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
max-width: 50%;
text-align: center;
font-size: 16px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
font-weight: 600;
color: #1e2a3a;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
pointer-events: none;
z-index: 1;
line-height: 1.2;
}
.sub-nav__right {
display: flex;
flex-direction: row;
align-items: center;
margin-left: auto;
flex-shrink: 0;
position: relative;
z-index: 2;
}
.sub-nav__action {
flex-shrink: 0;
margin-right: 4px;
}
.sub-nav__action-text {
font-size: 14px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
font-weight: 500;
color: #ff6b35;
white-space: nowrap;
}
.sub-nav__action--button {
padding: 6px 14px;
border-radius: 8px;
background-color: #ff6b35;
}
.sub-nav__action--button .sub-nav__action-text {
color: #ffffff;
font-weight: 600;
}
.sub-nav__capsule {
flex-shrink: 0;
min-width: 0;
}
.sub-nav__capsule--h5 {
width: 0 !important;
min-width: 0 !important;
overflow: hidden;
}