api-nexus
Version:
Generation of API documentation for the GraphQl and Rest API
266 lines (260 loc) • 4.57 kB
CSS
/* src/css/App.css */
.container {
text-align: center;
height: 100vh;
display: flex;
}
.card {
width: 100%;
margin: auto;
}
.cardTitle {
text-align: center;
padding: 2%;
}
.cardText {
text-align: justify;
padding-bottom: 1%;
text-align: justify;
overflow: hidden;
text-overflow: clip;
margin-bottom: 2%;
}
.cardRow {
padding-bottom: 2%;
}
.cardCol {
text-align: center;
margin: auto;
}
.innerCard {
width: 18rem;
margin: auto;
padding: 12% 5%;
}
.cardTextHeight {
height: 200px;
overflow: auto;
margin-bottom: 15px;
text-align: justify;
}
.list-group-item.special:hover {
background-color: #1d1dc6;
color: white;
}
/* src/css/Login.css */
.login-container {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
background-color: #f8f9fa ;
}
.login-page {
padding: 40px;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 8px;
box-shadow: 0 4px 62px rgba(0, 0, 0, 0.1);
width: 22%;
}
h2 {
font-size: 24px;
margin: 20px 0;
color: #333;
}
label {
display: block;
margin-bottom: 5px;
font-weight: bold;
color: #666;
}
input {
width: 100%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 4px;
background-color: #fff;
font-size: 16px;
}
button {
width: 100%;
padding: 10px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 4px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #0056b3;
}
.error-message {
color: red;
text-align: center;
font-weight: bold;
margin-top: 10px;
}
.password-input {
position: relative;
}
.password-input input {
padding-right: 2.5rem;
}
.password-input .password-toggle {
position: absolute;
top: 50%;
right: 1rem;
transform: translateY(-50%);
cursor: pointer;
}
/* src/css/Layout.css */
.document-header {
background-color: #f8f9fa ;
margin-bottom: 4px;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
padding-top: 8px;
}
.document-logo {
width: 164px;
height: auto;
}
.sidebar-container {
min-height: 50%;
padding: 0;
background-color: #f8f9fa ;
box-shadow: 5px 0 10px rgba(0, 0, 0, 0.2);
overflow: auto;
height: 100vh;
}
.sidebar-main-option-list {
width: 100%;
overflow: auto;
max-height: 100vh;
margin-top: 5px;
}
.list-group-item-header {
font-weight: bold;
background-color: #f8f9fa ;
}
.error-message {
color: red;
text-align: center;
margin-top: 10%;
}
.sidebar-content-container {
height: 100vh;
overflow: auto;
padding: 0px 10px;
}
.loading-message {
text-align: center;
margin-top: 5%;
}
.api-names-container {
text-align: left;
max-height: 50vh;
overflow-y: auto;
overflow-x: hidden;
}
.error-message {
text-align: justify;
color: red;
}
.list-group-item.special:hover {
background-color: #1d1dc6;
color: white;
cursor: pointer;
word-wrap: break-word;
}
.introduction-card-container {
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
margin-bottom: 3px;
}
.gridView {
display: grid;
grid-template-columns: 1fr 1fr;
}
/* src/css/TreeView.css */
.tree-container {
display: flex;
flex-direction: row;
background-color: #333;
color: #ccc;
overflow: auto;
height: auto;
border-radius: 8px;
}
.syntax-highlighter {
flex: 1;
margin: 16px;
}
.tree-view {
flex: 1;
padding: 16px;
}
.node-label {
cursor: pointer;
user-select: none;
margin-bottom: 4px;
display: flex;
align-items: center;
color: #61afef;
}
.node-label.expanded {
color: #98c379;
}
.node-list {
list-style-type: none;
padding-left: 30px;
border-left: 1px solid #444;
text-align: left;
}
.node-list li {
margin-bottom: 4px;
}
.node-label::before {
margin-right: 4px;
font-weight: bold;
}
.node-label.expanded::before {
margin-right: 4px;
}
/* src/css/Rest.css */
.rest-main-container {
text-align: left;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
margin-bottom: 3px;
}
.rest-heading {
color: red;
}
.rest-main-content-error {
text-align: center;
margin-top: 15px;
color: red;
border: 2px black;
padding: 44px;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
/* src/css/Graph.css */
.graph-main-container {
text-align: left;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
margin-bottom: 3px;
}
.graph-heading {
color: red;
}
.graph-main-content-error {
text-align: center;
margin-top: 15px;
color: red;
border: 2px black;
padding: 44px;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}