123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246 |
- ion-header {
- background-color: #f8f8f8;
- padding: 10px;
- padding-top: 30px;
- color: black;
- height: 60px;
- box-shadow: none;
- .header-container {
- display: flex;
- align-items: center;
- justify-content: center;
- position: relative;
- height: 100%;
- /* 确保容器占满整个 header 高度 */
- padding: 10px;
- }
- .back-icon {
- position: absolute;
- left: 10px;
- /* 图标距左侧的距离 */
- cursor: pointer;
- }
- .header-title {
- font-size: 18px;
- /* 根据需要调整字体大小 */
- font-weight: bold;
- /* 可选,加粗字体 */
- margin: 0;
- }
- }
- ion-content {
- --background: #f8f8f8 !important;
- --color: black;
- //以下为性别选择框的样式
- #gender {
- width: 95%;
- margin: 15px auto;
- text-align: center;
- background-color: #f0a5d7;
- border-radius: 15px;
- padding: 10px;
- }
- #gender ion-card {
- display: inline-block;
- width: 46%;
- margin: 0 2%;
- border-radius: 15px;
- }
- // 以下为年龄选择框的样式
- #age {
- width: 95%;
- margin: 15px auto;
- text-align: center;
- background-color: #85e2ff;
- border-radius: 15px;
- padding: 10px;
- }
- #age ion-card {
- display: inline-block;
- width: 22%;
- margin: 0 1%;
- border-radius: 15px;
- }
- //以下为身高选择框的样式
- #height {
- width: 95%;
- margin: 15px auto;
- text-align: center;
- background-color: #b8a5f0;
- border-radius: 15px;
- padding: 10px;
- }
- #height ion-card {
- display: inline-block;
- width: 18%;
- margin: 0 1%;
- border-radius: 15px;
- }
- //以下为体重选择框的样式
- #weight {
- width: 95%;
- margin: 15px auto;
- text-align: center;
- background-color: #fafdad;
- border-radius: 15px;
- padding: 10px;
- }
- #weight ion-card {
- display: inline-block;
- width: 18%;
- margin: 0 1%;
- border-radius: 15px;
- }
- //以下为季节选择框的样式
- #season {
- width: 95%;
- margin: 15px auto;
- text-align: center;
- background-color: #ffd8a1;
- border-radius: 15px;
- padding: 10px;
- }
- #season ion-card {
- display: inline-block;
- width: 25%;
- margin: 0;
- }
- //以下为风格输入框的样式
- #styleDesc {
- width: 95%;
- margin: 15px auto;
- }
- ion-textarea {
- --border-radius: 15px;
- --background: #70e7ab;
- width: 100%;
- @font-face {
- font-family: 'handWritten';
- src: url(/assets/fonts/handWritten.woff);
- }
- font-family: 'handWritten';
- font-size: 22px;
- }
- #helper-text {
- font-family: 'handWritten';
- font-size: 14px;
- color: #999;
- }
- //以下为其他可选选项的样式
- #option-prompt {
- display: none;
- }
- .scroll-container {
- width: 95%;
- margin: 15px auto;
- padding: 10px;
- border-radius: 15px;
- }
- .scroll-x {
- overflow-x: auto;
- scrollbar-width: none;
- white-space: nowrap;
- }
- .scroll-x ion-card {
- height: 150px;
- width: 150px;
- border-radius: 20px;
- display: inline-block;
- ion-img {
- width: 100%;
- height: 100%;
- }
- }
- //以下为区域风格选择框的样式
- #areaStyle {
- background-color: #affffc;
- }
- //以下为场景功能选择框的样式
- #function {
- background-color: #ffb8fd;
- }
- //以下为设计理念选择框的样式
- #designIdea {
- background-color: #f3ffb8;
- }
- //以下为艺术风格选择框的样式
- #artStyle {
- background-color: #ffdab8;
- }
- }
- #container {
- position: absolute;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.5);
- display: none;
- }
- #popover-container {
- position: absolute;
- width: 70%;
- height: 30%;
- top: 35%;
- left: 15%;
- background-color: white;
- display: grid;
- place-items: center;
- color: black;
- border-radius: 15px;
- }
- .checked {
- width: 100%;
- height: 100%;
- position: absolute;
- z-index: 20;
- top: 0;
- }
- .title {
- @font-face {
- font-family: 'title-font';
- src: url(/assets/fonts/title-font.TTF);
- }
- font-family: 'title-font';
- font-size: larger;
- margin:0;
- text-align: center;
- }
- .keyword {
- font-family: 'handWritten';
- font-size: larger;
- text-align: center;
- margin: 5px;
- }
|