| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- .body {
- display: flex;
- flex-direction: column;
- gap: 16px;
- padding: 4px 0;
- }
- .contextBlock {
- background: #f9fafb;
- border: 1px solid #e5e7eb;
- border-radius: 6px;
- padding: 10px 12px;
- }
- .expandToggle {
- font-size: 12px;
- color: #3b82f6;
- cursor: pointer;
- user-select: none;
- }
- .expandToggle:hover {
- text-decoration: underline;
- }
- .contextContent {
- margin-top: 8px;
- font-size: 12px;
- line-height: 1.6;
- white-space: pre-wrap;
- word-break: break-word;
- color: #6b7280;
- max-height: 200px;
- overflow-y: auto;
- }
- .field {
- display: flex;
- flex-direction: column;
- gap: 8px;
- }
- .label {
- font-size: 13px;
- font-weight: 500;
- color: #374151;
- }
- .required {
- color: #ef4444;
- }
- .typeList {
- display: flex;
- flex-wrap: wrap;
- gap: 10px;
- }
- .typeItem {
- display: flex;
- align-items: center;
- gap: 5px;
- font-size: 13px;
- color: #374151;
- cursor: pointer;
- user-select: none;
- }
- .textarea {
- width: 100%;
- border: 1px solid #d1d5db;
- border-radius: 6px;
- padding: 8px 12px;
- font-size: 14px;
- line-height: 1.6;
- resize: vertical;
- outline: none;
- font-family: inherit;
- color: #374151;
- box-sizing: border-box;
- }
- .textarea:focus {
- border-color: #3b82f6;
- }
- .textarea:disabled {
- background: #f9fafb;
- color: #9ca3af;
- }
- .footer {
- display: flex;
- justify-content: flex-end;
- gap: 10px;
- padding: 0 4px;
- }
- .cancelBtn {
- height: 36px;
- padding: 0 16px;
- border-radius: 6px;
- border: 1px solid #d1d5db;
- background: #fff;
- color: #374151;
- font-size: 14px;
- cursor: pointer;
- }
- .cancelBtn:hover:not(:disabled) {
- background: #f9fafb;
- }
- .cancelBtn:disabled {
- opacity: 0.5;
- cursor: not-allowed;
- }
- .submitBtn {
- height: 36px;
- padding: 0 20px;
- border-radius: 6px;
- border: none;
- background: #3b82f6;
- color: #fff;
- font-size: 14px;
- font-weight: 500;
- cursor: pointer;
- }
- .submitBtn:hover:not(:disabled) {
- background: #2563eb;
- }
- .submitBtn:disabled {
- opacity: 0.5;
- cursor: not-allowed;
- }
|