api_diff / static /css /styles.css
kumudraj01's picture
Add application file
2d9b352
Raw
History Blame Contribute Delete
4.01 kB
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background-color: #f5f5f5;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}
.logo {
width: 100px;
height: auto;
}
.form-group {
margin-bottom: 15px;
}
.form-group label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
.form-control {
width: 100%;
padding: 8px;
border: 1px solid #ddd;
border-radius: 4px;
box-sizing: border-box;
}
.button {
background-color: #4CAF50;
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
}
.button:hover {
background-color: #45a049;
}
.error {
color: #dc3545;
margin-bottom: 10px;
}
.success {
color: #28a745;
margin-bottom: 10px;
}
.grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}
.results {
margin-top: 20px;
padding: 20px;
background-color: #f8f9fa;
border-radius: 4px;
}
.download-button {
display: inline-block;
margin: 5px;
padding: 8px 15px;
background-color: #007bff;
color: white;
text-decoration: none;
border-radius: 4px;
}
.download-button:hover {
background-color: #0056b3;
}
.radio-group {
margin: 10px 0;
}
.radio-group label {
margin-right: 15px;
}
pre {
background-color: #f8f9fa;
padding: 15px;
border-radius: 4px;
overflow-x: auto;
}
.login-container {
max-width: 400px;
margin: 100px auto;
padding: 20px;
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.error-container {
max-width: 600px;
margin: 100px auto;
padding: 20px;
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
text-align: center;
}
.error-detail {
margin-top: 10px;
padding: 10px;
background-color: #f8f9fa;
border-radius: 4px;
color: #666;
font-family: monospace;
white-space: pre-wrap;
}
.json-content {
background-color: #f8f9fa;
padding: 15px;
border-radius: 4px;
margin-top: 10px;
max-height: 500px;
overflow-y: auto;
}
.json-content pre {
margin: 0;
white-space: pre-wrap;
word-wrap: break-word;
}
.diff-content {
background-color: #f8f9fa;
padding: 15px;
border-radius: 4px;
margin-top: 10px;
max-height: 600px;
overflow-y: auto;
}
.diff-content span {
display: block;
font-family: monospace;
white-space: pre-wrap;
word-wrap: break-word;
line-height: 1.4;
}
.user-menu {
position: relative;
display: inline-block;
cursor: pointer;
}
.user-menu-content {
display: none;
position: absolute;
right: 0;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
border-radius: 4px;
}
.user-menu-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.user-menu-content a:hover {
background-color: #f1f1f1;
}
.user-menu:hover .user-menu-content {
display: block;
}
.session-timeout-warning {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
z-index: 1000;
text-align: center;
}
.session-timeout-warning button {
margin: 10px 5px;
padding: 8px 16px;
border: none;
border-radius: 4px;
cursor: pointer;
}
.session-timeout-warning button.continue {
background-color: #4CAF50;
color: white;
}
.session-timeout-warning button.logout {
background-color: #dc3545;
color: white;
}