123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275 |
- // 裝修計算機
- // +++++ common start +++++
- .px-4Up {
- @media(max-width: 576px) {
- padding: 0 2rem;
- }
- }
- .no-padding {
- @media(max-width: 576px) {
- padding-left: 0;
- padding-right: 0;
- }
- }
- h2,
- .h2 {
- @media(max-width: 576px) {
- font-size: 1.6875rem;
- }
- }
- .hint {
- display: none;
- }
- // +++++ common end +++++
- .formWrapper {
- background-color: #FFF;
- box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
- transition: all 300ms ease-in-out;
- @media(min-width: 768px) {
- padding-bottom: 6.5rem;
- }
- @media(max-width: 576px) {
- background-color: transparent;
- }
- }
- .formTheme {
- display: flex;
- justify-content: center;
- align-items: center;
- &--style {
- padding: 0.5rem 0;
- color: #727679;
- font-size: 1.25rem;
- }
- &__title {
- min-width: 30%;
- text-align: center;
- font-weight: 500;
- @media(max-width: 576px) {
- min-width: 32%;
- }
- }
- .line {
- display: inline-block;
- width: 50%;
- height: 1px;
- background-color: #727679;
- &--lf {
- margin: 0 0.5rem 0 0;
- }
- &--rt {
- margin: 0 0 0 0.5rem;
- }
- }
- }
- .dropdown {
- .dropdown-menus {
- min-width: 100%;
- max-height: 200px;
- overflow-y: auto;
- text-align: left;
- padding-inline-start: 0;
- padding-left: 0;
- }
- }
- .form-text-height {
- border-width: 1px;
- height: calc(1.5em + 1.62rem + 4px);
- }
- .formDropdown {
- display: flex;
- justify-content: space-between;
- &--style {
- border: 1px solid #CED4DA;
- padding: 0.875rem 0.75rem;
- background: #fff;
- }
- }
- .formSubmit {
- padding: 0.85rem 0;
- }
- .formAside {
- padding: 0 0 0 0.5rem;
- }
- .calTable {
- display: flex;
- padding: 1rem 0;
- margin: 0 1rem;
- font-size: 1.125rem;
- border-bottom: 1px dashed #D5D5D5;
- transition: all 300ms ease-in-out;
- @media(max-width: 576px) {
- padding: 0.5rem 0;
- font-size: 1rem;
- }
- &__lf {
- flex-basis: 31%;
- flex-grow: 0;
- display: flex;
- align-items: start;
- justify-content: flex-end;
- padding: 0 0.5rem;
- color: #AAAAAA;
- transition: all 300ms ease-in-out;
- @media(max-width: 576px) {
- flex-basis: 40%;
- }
- @media(max-width: 321px) {
- flex-basis: 45%;
- }
- }
- &__rt {
- flex-basis: 69%;
- flex-grow: 0;
- justify-content: start;
- word-break: break-all;
- transition: all 300ms ease-in-out;
- @media(max-width: 576px) {
- flex-basis: 60%;
- }
- @media(max-width: 321px) {
- flex-basis: 50%;
- }
- }
- }
- .formInfo {
- position: relative;
- .formInfoIcon {
- position: absolute;
- top: 10px;
- right: -25px;
- transform: scale(1.5);
- line-height: 2;
- transition: all 300ms ease-in-out;
- @media(max-width: 576px) {
- padding: 0 0.1rem;
- top: 12px;
- }
- }
- .fa-info-circle {
- color: rgb(64, 153, 208);
- }
- }
- .calResult-wrapper {
- padding: 0 1.5rem;
- }
- .calResult {
- padding: 0 1rem;
- transition: all 300ms ease-in-out;
- @media(max-width: 576px) {
- padding: 0;
- }
- h2 {
- background-color: #F4F4F4;
- color: #EE7800;
- padding: 1rem 0;
- text-align: center;
- font-weight: bold;
- transition: all 300ms ease-in-out;
- @media(max-width: 576px) {
- background-color: #F4F4F4;
- font-size: 1.6875rem;
- }
- .small {
- font-size: 60%;
- }
- }
- .formBtn {
- width: 48%;
- box-shadow: 0 1px 10px #eee;
- transition: all 300ms ease-in-out;
- @media(max-width: 576px) {
- width: 100%;
- }
- &--mr {
- margin-right: 4%;
- transition: all 300ms ease-in-out;
- @media(max-width: 576px) {
- margin-right: 0;
- }
- }
- }
- &__note {
- font-size: 0.75rem;
- color: #AAAAAA;
- }
- }
- .calFeeInCase {
- h3 {
- font-size: 1.125rem;
- color: #707070;
- }
- &__bg {
- height: 290px;
- background-repeat: no-repeat;
- background-position: center;
- background-size: cover;
- transition: all 300ms ease-in-out;
- @media(max-width: 576px) {
- height: 210px;
- }
- }
- img {
- width: 100%;
- }
- & ~ .btn-outline-secondary {
- color: #727679;
- border-color: #727679;
- &:hover {
- background-color: transparent;
- }
- }
- }
- // Modal
- .modal-body {
- text-align: center;
- h4 {
- font-weight: bold;
- }
- p {
- color: #727679;
- }
- }
|