feat(web-admin): add mobile card list for transport plans in webview.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
5220637639
commit
17edd7016f
3 files changed
+401
-9
No files matched your search
@@ -0,0 +1,140 @@
|
||||
.mp-wv-header {
|
||||
padding: 8px 0 12px;
|
||||
color: #fff;
|
||||
background: linear-gradient(145deg, #087f57 0%, #0a9f6d 72%, #d6a343 165%);
|
||||
margin: -12px -16px 12px;
|
||||
padding: 12px 16px 16px;
|
||||
border-radius: 0 0 20px 20px;
|
||||
}
|
||||
|
||||
.mp-wv-header__row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.mp-wv-header__back {
|
||||
font-size: 13px;
|
||||
opacity: 0.95;
|
||||
background: none;
|
||||
border: none;
|
||||
color: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.mp-wv-header h1 {
|
||||
margin: 8px 0 0;
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.mp-wv-search {
|
||||
margin-top: 12px;
|
||||
padding: 10px 14px;
|
||||
font-size: 13px;
|
||||
color: #1f2a26;
|
||||
background: #fff;
|
||||
border: none;
|
||||
border-radius: 999px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mp-wv-chips,
|
||||
.mp-wv-tabs {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
overflow-x: auto;
|
||||
padding: 0 0 10px;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
.mp-wv-chip,
|
||||
.mp-wv-tab {
|
||||
flex: 0 0 auto;
|
||||
height: 32px;
|
||||
padding: 0 12px;
|
||||
font-size: 12px;
|
||||
color: #6b7b74;
|
||||
background: #fff;
|
||||
border: 1px solid #dcebe4;
|
||||
border-radius: 999px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.mp-wv-chip.is-active,
|
||||
.mp-wv-tab.is-active {
|
||||
color: #fff;
|
||||
background: #0a9f6d;
|
||||
border-color: #0a9f6d;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.mp-wv-card {
|
||||
padding: 12px;
|
||||
margin-bottom: 10px;
|
||||
background: #fff;
|
||||
border: 1px solid #dcebe4;
|
||||
border-radius: 14px;
|
||||
box-shadow: 0 6px 16px rgba(10, 159, 109, 0.08);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.mp-wv-card__head {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.mp-wv-card__no {
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
color: #087f57;
|
||||
}
|
||||
|
||||
.mp-wv-card__sub,
|
||||
.mp-wv-card__meta {
|
||||
margin-top: 4px;
|
||||
font-size: 12px;
|
||||
color: #6b7b74;
|
||||
}
|
||||
|
||||
.mp-wv-card__product {
|
||||
margin-top: 8px;
|
||||
padding: 8px 10px;
|
||||
font-size: 12px;
|
||||
color: #087f57;
|
||||
background: #e9f9f2;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.mp-wv-empty {
|
||||
padding: 32px 8px;
|
||||
font-size: 14px;
|
||||
color: #6b7b74;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.mp-wv-toolbar {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
margin: 0 0 12px;
|
||||
}
|
||||
|
||||
.mp-wv-btn {
|
||||
height: 36px;
|
||||
padding: 0 12px;
|
||||
font-size: 13px;
|
||||
color: #1f2a26;
|
||||
background: #fff;
|
||||
border: 1px solid #dcebe4;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.mp-wv-btn--primary {
|
||||
color: #fff;
|
||||
background: #0a9f6d;
|
||||
border-color: #0a9f6d;
|
||||
font-weight: 600;
|
||||
}
|
||||
Reference in new issue
Block a user