|
78 | 78 | width: 100%; |
79 | 79 | height: calc(100vh - 48px); |
80 | 80 | position: relative; |
81 | | -} |
82 | 81 |
|
83 | | -.pPopupDetail { |
84 | | - position: absolute; |
85 | | - top: 0; |
86 | | - left: 0; |
87 | | - padding: 0; |
88 | | - max-width: 240px; |
89 | | - @include size(100%, 100%); |
90 | | - background-color: var(--color-light-2); |
91 | | - border-left: 1px solid hsla(240, 1%, 85%, 0.5); |
92 | | - box-shadow: 12px 0 24px rgba(0, 0, 0, 0.1); |
93 | | - z-index: 10; |
94 | | - |
95 | | - &-title { |
96 | | - margin: 4px 0 0; |
97 | | - } |
| 82 | + .pPopupDetail { |
| 83 | + position: absolute; |
| 84 | + top: 0; |
| 85 | + left: 0; |
| 86 | + padding: 0; |
| 87 | + max-width: 240px; |
| 88 | + @include size(100%, 100%); |
| 89 | + background-color: var(--color-light-2); |
| 90 | + border-left: 1px solid hsla(240, 1%, 85%, 0.5); |
| 91 | + box-shadow: 12px 0 24px rgba(0, 0, 0, 0.1); |
| 92 | + z-index: 10; |
| 93 | + |
| 94 | + &-title { |
| 95 | + margin: 4px 0 0; |
| 96 | + } |
98 | 97 |
|
99 | | - &-header { |
100 | | - position: relative; |
101 | | - } |
| 98 | + &-header { |
| 99 | + position: relative; |
| 100 | + } |
102 | 101 |
|
103 | | - &-iClose { |
104 | | - color: var(--color-dark); |
105 | | - background: var(--color-light); |
106 | | - @include size(24px, 24px); |
107 | | - border-radius: 8px; |
108 | | - transition: all 0.15s ease-out; |
| 102 | + &-iClose { |
| 103 | + color: var(--color-dark); |
| 104 | + background: var(--color-light); |
| 105 | + @include size(24px, 24px); |
| 106 | + border-radius: 8px; |
| 107 | + transition: all 0.15s ease-out; |
109 | 108 |
|
110 | | - &:hover { |
111 | | - color: var(--color-red); |
112 | | - background: white; |
| 109 | + &:hover { |
| 110 | + color: var(--color-red); |
| 111 | + background: white; |
| 112 | + } |
113 | 113 | } |
114 | | - } |
115 | 114 |
|
116 | | - .form { |
117 | | - height: calc(100% - 98px); |
118 | | - border-bottom: 1px solid var(--color-light); |
119 | | - padding: 0 8px 8px; |
| 115 | + .form { |
| 116 | + height: calc(100% - 98px); |
| 117 | + border-bottom: 1px solid var(--color-light); |
| 118 | + padding: 0 8px 8px; |
120 | 119 |
|
121 | | - .el-form-item { |
122 | | - margin-bottom: 0; |
| 120 | + .el-form-item { |
| 121 | + margin-bottom: 0; |
| 122 | + } |
123 | 123 | } |
124 | | - } |
125 | 124 |
|
126 | | - .header { |
127 | | - margin: 12px 8px; |
128 | | - color: var(--color-dark); |
129 | | - @extend .flex-row__between; |
130 | | - } |
| 125 | + .header { |
| 126 | + margin: 12px 8px; |
| 127 | + color: var(--color-dark); |
| 128 | + @extend .flex-row__between; |
| 129 | + } |
131 | 130 |
|
132 | | - .el-form-item__content { |
133 | | - line-height: initial; |
134 | | - border-bottom: 1px solid var(--color-light); |
135 | | - padding: 4px 0 12px; |
| 131 | + .el-form-item__content { |
| 132 | + line-height: initial; |
| 133 | + border-bottom: 1px solid var(--color-light); |
| 134 | + padding: 4px 0 12px; |
136 | 135 |
|
137 | | - .label { |
138 | | - width: 100%; |
139 | | - font-size: 13px; |
140 | | - margin-bottom: 4px; |
141 | | - display: block; |
142 | | - } |
| 136 | + .label { |
| 137 | + width: 100%; |
| 138 | + font-size: 13px; |
| 139 | + margin-bottom: 4px; |
| 140 | + display: block; |
| 141 | + } |
143 | 142 |
|
144 | | - .el-input__inner { |
145 | | - border-radius: 4px; |
146 | | - height: 32px; |
147 | | - line-height: 32px; |
148 | | - padding: 0 8px; |
| 143 | + .el-input__inner { |
| 144 | + border-radius: 4px; |
| 145 | + height: 32px; |
| 146 | + line-height: 32px; |
| 147 | + padding: 0 8px; |
149 | 148 |
|
150 | | - &:focus { |
151 | | - background: white !important; |
152 | | - border-color: transparent !important; |
153 | | - box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important; |
| 149 | + &:focus { |
| 150 | + background: white !important; |
| 151 | + border-color: transparent !important; |
| 152 | + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important; |
| 153 | + } |
154 | 154 | } |
155 | 155 | } |
156 | | - } |
157 | 156 |
|
158 | | - .actions { |
159 | | - padding: 8px; |
160 | | - background-color: white; |
161 | | - @extend .flex-row__between; |
162 | | - |
163 | | - button { |
164 | | - height: 32px; |
165 | | - display: flex; |
166 | | - align-items: center; |
167 | | - padding: 0 20px; |
168 | | - border: none; |
169 | | - box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25); |
170 | | - } |
| 157 | + .actions { |
| 158 | + padding: 8px; |
| 159 | + background-color: white; |
| 160 | + @extend .flex-row__between; |
| 161 | + |
| 162 | + button { |
| 163 | + height: 32px; |
| 164 | + display: flex; |
| 165 | + align-items: center; |
| 166 | + padding: 0 20px; |
| 167 | + border: none; |
| 168 | + box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25); |
| 169 | + } |
171 | 170 |
|
172 | | - .btnSave { |
173 | | - background: var(--color-blue); |
174 | | - } |
| 171 | + .btnSave { |
| 172 | + background: var(--color-blue); |
| 173 | + } |
175 | 174 |
|
176 | | - .btnDelete { |
177 | | - background: rgba(229, 77, 66, 0.2); |
178 | | - color: var(--color-red); |
179 | | - box-shadow: none; |
| 175 | + .btnDelete { |
| 176 | + background: rgba(229, 77, 66, 0.2); |
| 177 | + color: var(--color-red); |
| 178 | + box-shadow: none; |
| 179 | + } |
180 | 180 | } |
181 | 181 | } |
182 | 182 | } |
0 commit comments