_precise.scss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. .navbar{
  2. &.navbar-precise{
  3. padding-bottom: 1rem;
  4. }
  5. }
  6. .navbar-brand{
  7. &.navbar-brand-precise{
  8. padding-bottom: 0;
  9. }
  10. }
  11. .precise-head-wrapper{
  12. font-size: 18px;
  13. background-color:#FFF ;
  14. box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
  15. a{
  16. &:hover{
  17. text-decoration: none;
  18. }
  19. }
  20. }
  21. .precise-content-wrapper{
  22. font-size: 18px;
  23. background-color:#FFF ;
  24. box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
  25. .precise-media-wrapper{
  26. width: 100%;
  27. }
  28. .precise-media-wrapper:nth-child(1) {
  29. border: 1px solid #4267b2;
  30. }
  31. .precise-media-wrapper:nth-child(1):hover {
  32. background-color: #4267b2;
  33. }
  34. .precise-media-img{
  35. width: 25%;
  36. height: 36px;
  37. border-right: 1px solid rgba(0, 0, 0, 0.12);
  38. display: -webkit-box;
  39. display: -ms-flexbox;
  40. display: flex;
  41. -webkit-box-pack: center;
  42. -ms-flex-pack: center;
  43. justify-content: center;
  44. -webkit-box-align: center;
  45. -ms-flex-align: center;
  46. align-items: center;
  47. }
  48. .precise-media-img-item{
  49. display: block;
  50. }
  51. .precise-media-img-item.after{
  52. display: none;
  53. }
  54. .precise-media-wrapper:nth-child(1):hover .precise-media-img-item.before {
  55. display: none;
  56. }
  57. .precise-media-wrapper:nth-child(1):hover .precise-media-img-item.after {
  58. display: block;
  59. }
  60. .precise-media-wrapper:nth-child(1):hover .precise-media-context {
  61. color: #fff;
  62. }
  63. .precise-media-context{
  64. color: rgba(67, 72, 76, 0.75);
  65. width: 75%;
  66. display: -webkit-box;
  67. display: -ms-flexbox;
  68. display: flex;
  69. -webkit-box-pack: center;
  70. -ms-flex-pack: center;
  71. justify-content: center;
  72. -webkit-box-align: center;
  73. -ms-flex-align: center;
  74. align-items: center;
  75. }
  76. .form-control{
  77. border-width: 1px;
  78. height: calc(1.5em + 1.75rem + 4px);
  79. }
  80. //取消IE edge & IE 瀏覽器帳號輸入框輸入會有x的圖示
  81. .precise-form-items input::-ms-clear {
  82. display: none;
  83. }
  84. //取消IE edge & IE 瀏覽器密碼輸入框輸入會有眼睛的圖示
  85. .precise-form-items input::-ms-reveal {
  86. display: none;
  87. }
  88. label{
  89. color: rgba(0,0,0,.54);
  90. }
  91. .focus-status{
  92. &:focus{
  93. border-color:#ced4da;
  94. box-shadow: none;
  95. }
  96. }
  97. .divider-wrapper{
  98. .divider{
  99. width: 1px;
  100. height: 100%;
  101. border-left: 1px solid rgba(0, 0, 0, 0.12);
  102. position: relative;
  103. }
  104. .divider:after{
  105. content: "";
  106. display: block;
  107. position: absolute;
  108. top: 50%;
  109. left: 50%;
  110. transform: translate(-50%, -50%);
  111. background-color: transparent;
  112. color: rgba(110, 60, 60, 0.12);
  113. padding: 6px;
  114. }
  115. }
  116. }
  117. @media screen and (max-width: 768px){
  118. .precise-content-wrapper{
  119. .divider-wrapper{
  120. .divider{
  121. width: 100%;
  122. height: 1px;
  123. border-left: none;
  124. margin: 32px 0;
  125. border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  126. }
  127. .divider:after{
  128. content: "";
  129. display: block;
  130. position: absolute;
  131. top: 50%;
  132. left: 50%;
  133. transform: translate(-50%, -50%);
  134. background-color: transparent;
  135. color: rgba(0, 0, 0, 0.12);
  136. padding: 6px;
  137. }
  138. }
  139. }
  140. }