432 lines
6.6 KiB
CSS
432 lines
6.6 KiB
CSS
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: #f0f0f0;
|
|
}
|
|
|
|
.container {
|
|
max-width: 800px;
|
|
margin: 20px auto;
|
|
padding: 20px;
|
|
background-color: #fff;
|
|
border-radius: 8px;
|
|
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.heading {
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.heading h1 {
|
|
font-size: 24px;
|
|
margin: 0;
|
|
color: #333;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 20px;
|
|
margin: 20px 0 10px;
|
|
color: #555;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 18px;
|
|
margin: 10px 0 5px;
|
|
color: #666;
|
|
}
|
|
|
|
.form-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 15px;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.form-group {
|
|
flex-basis: calc(33.33% - 10px);
|
|
padding: 0 10px;
|
|
box-sizing: border-box;
|
|
margin: 5px;
|
|
}
|
|
|
|
.form-group label {
|
|
font-weight: bold;
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
color: #333;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.form-group input,
|
|
.form-group select,
|
|
.form-group textarea {
|
|
width: 100%;
|
|
padding: 8px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 5px;
|
|
box-sizing: border-box;
|
|
font-size: 14px;
|
|
font-family: Arial, sans-serif;
|
|
}
|
|
|
|
.form-group input:focus,
|
|
.form-group select:focus,
|
|
.form-group textarea:focus {
|
|
border-color: #007bff;
|
|
outline: none;
|
|
}
|
|
|
|
textarea {
|
|
height: 100px;
|
|
resize: vertical;
|
|
}
|
|
|
|
button,
|
|
.file-button,
|
|
input[type="submit"] {
|
|
display: inline-block;
|
|
padding: 5px 10px;
|
|
margin: 4px;
|
|
border: 1px solid #aaa;
|
|
border-radius: 3px;
|
|
background-color: #e9e9ef;
|
|
color: #222;
|
|
font-size: 14px;
|
|
font-family: Arial, sans-serif;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.file-button input {
|
|
display: none;
|
|
}
|
|
|
|
#documentDescription {
|
|
color: #666;
|
|
margin: 10px 5px;
|
|
}
|
|
|
|
#status {
|
|
margin-top: 20px;
|
|
padding: 12px;
|
|
min-height: 32px;
|
|
background-color: #eee;
|
|
word-break: break-word;
|
|
}
|
|
|
|
#status a {
|
|
font-weight: bold;
|
|
color: #0645ad;
|
|
}
|
|
|
|
.json-section {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.json-section details {
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.json-section summary {
|
|
font-size: 18px;
|
|
margin: 10px 0 8px;
|
|
color: #666;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.json-section h2 {
|
|
font-size: 20px;
|
|
margin: 20px 0 10px;
|
|
color: #555;
|
|
}
|
|
|
|
.json-section h3,
|
|
.json-section h4 {
|
|
font-size: 18px;
|
|
margin: 10px 0 5px;
|
|
color: #666;
|
|
}
|
|
|
|
.document-picker {
|
|
margin: 10px 0 18px;
|
|
padding: 12px;
|
|
background: #f7f7f7;
|
|
border: 1px solid #ddd;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.document-picker h3 {
|
|
margin: 8px 0 6px;
|
|
color: #555;
|
|
}
|
|
|
|
.picker-list {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.picker-item {
|
|
display: block;
|
|
width: 100%;
|
|
text-align: left;
|
|
margin: 4px 0;
|
|
padding: 7px 10px;
|
|
}
|
|
|
|
.picker-item.active {
|
|
border-color: #6b35ff;
|
|
outline: 2px solid #6b35ff;
|
|
background: #f1edff;
|
|
}
|
|
|
|
.uploaded-json-row {
|
|
display: flex;
|
|
gap: 6px;
|
|
align-items: center;
|
|
}
|
|
|
|
.uploaded-json-load {
|
|
flex: 1;
|
|
}
|
|
|
|
.delete-json-button {
|
|
flex: 0 0 34px;
|
|
width: 34px;
|
|
text-align: center;
|
|
color: #8a0000;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.picker-empty {
|
|
color: #777;
|
|
font-style: italic;
|
|
padding: 4px 0 8px;
|
|
}
|
|
|
|
.dropdown-picker {
|
|
position: relative;
|
|
margin: 10px 0 18px;
|
|
padding: 0;
|
|
background: transparent;
|
|
border: none;
|
|
}
|
|
|
|
.document-picker-toggle {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
width: 300px;
|
|
text-align: left;
|
|
padding: 8px 10px;
|
|
margin: 4px 0;
|
|
border: 1px solid #999;
|
|
border-radius: 4px;
|
|
background: #e9e9ef;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.document-picker-toggle.open {
|
|
border-color: #6b35ff;
|
|
outline: 2px solid #6b35ff;
|
|
}
|
|
|
|
.dropdown-arrow {
|
|
margin-left: 12px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.document-picker-menu {
|
|
display: none;
|
|
position: absolute;
|
|
z-index: 1000;
|
|
width: 420px;
|
|
max-height: 420px;
|
|
overflow-y: auto;
|
|
margin-top: 4px;
|
|
padding: 12px;
|
|
background: #f7f7f7;
|
|
border: 1px solid #bbb;
|
|
border-radius: 6px;
|
|
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.document-picker-menu.open {
|
|
display: block;
|
|
}
|
|
|
|
.document-picker-menu h3 {
|
|
margin: 8px 0 6px;
|
|
color: #555;
|
|
}
|
|
|
|
.picker-list {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.picker-item {
|
|
display: block;
|
|
width: 100%;
|
|
text-align: left;
|
|
margin: 4px 0;
|
|
padding: 7px 10px;
|
|
}
|
|
|
|
.picker-item.active {
|
|
border-color: #6b35ff;
|
|
outline: 2px solid #6b35ff;
|
|
background: #f1edff;
|
|
}
|
|
|
|
.uploaded-json-row {
|
|
display: flex;
|
|
gap: 6px;
|
|
align-items: center;
|
|
}
|
|
|
|
.uploaded-json-load {
|
|
flex: 1;
|
|
}
|
|
|
|
.delete-json-button {
|
|
flex: 0 0 34px;
|
|
width: 34px;
|
|
text-align: center;
|
|
color: #8a0000;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.picker-empty {
|
|
color: #777;
|
|
font-style: italic;
|
|
padding: 4px 0 8px;
|
|
}
|
|
|
|
.app-header {
|
|
background: #333;
|
|
color: #fff;
|
|
padding: 10px 0;
|
|
}
|
|
|
|
.app-header-inner {
|
|
max-width: 840px;
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.app-title {
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.app-nav {
|
|
display: flex;
|
|
gap: 6px;
|
|
}
|
|
|
|
.nav-button {
|
|
background: #555;
|
|
color: #fff;
|
|
border: 1px solid #777;
|
|
}
|
|
|
|
.nav-button.active {
|
|
background: #007bff;
|
|
border-color: #007bff;
|
|
}
|
|
|
|
.app-view {
|
|
display: none;
|
|
}
|
|
|
|
.app-view.active {
|
|
display: block;
|
|
}
|
|
|
|
.main-page-content {
|
|
min-height: 180px;
|
|
padding: 14px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 6px;
|
|
background: #fafafa;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.main-page-content:focus {
|
|
border-color: #007bff;
|
|
outline: none;
|
|
}
|
|
|
|
.home-actions {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.tool-launch-link {
|
|
display: inline-block;
|
|
padding: 8px 12px;
|
|
background: #007bff;
|
|
color: #fff;
|
|
border-radius: 5px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.tool-launch-link:hover {
|
|
background: #0056b3;
|
|
}
|
|
|
|
.tool-button-row {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
gap: 8px;
|
|
align-items: center;
|
|
margin: 10px 0 18px;
|
|
}
|
|
|
|
.tool-action-button,
|
|
button.tool-action-button,
|
|
label.tool-action-button {
|
|
width: 125px;
|
|
height: 34px;
|
|
box-sizing: border-box;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 6px 8px;
|
|
margin: 0;
|
|
font-size: 13px;
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
text-align: center;
|
|
}
|
|
|
|
.file-button.tool-action-button input {
|
|
display: none;
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.tool-button-row {
|
|
gap: 5px;
|
|
}
|
|
|
|
.tool-action-button,
|
|
button.tool-action-button,
|
|
label.tool-action-button {
|
|
width: 118px;
|
|
font-size: 12px;
|
|
padding: 5px 6px;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
body.app-loading .container {
|
|
opacity: 0;
|
|
}
|
|
|
|
.container {
|
|
transition: opacity 120ms ease-out;
|
|
}
|