refactor: rename app from itsm -> app
used app as this is a root application and not a django project app !1
This commit is contained in:
250
app/project-static/base.css
Normal file
250
app/project-static/base.css
Normal file
@ -0,0 +1,250 @@
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
margin: 0px;
|
||||
background: #f0f0f0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
width: 275px;
|
||||
height: 76px;
|
||||
line-height: 76px;
|
||||
vertical-align: middle;
|
||||
padding: 0%;
|
||||
margin: 0%;
|
||||
}
|
||||
|
||||
h2 {
|
||||
width: 100%;
|
||||
background-color: aqua;
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
position: fixed;
|
||||
top: 0px;
|
||||
width: 100%;
|
||||
background-color: #151515;
|
||||
text-align: center;
|
||||
color: white;
|
||||
height: 76px;
|
||||
/* line-height: 76px; */
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
|
||||
section {
|
||||
display: flexbox;
|
||||
width: 100%;
|
||||
padding-top: 76px;
|
||||
padding-left: 275px;
|
||||
}
|
||||
|
||||
article {
|
||||
background-color: #fff;
|
||||
padding: 10px;
|
||||
margin: 20px;
|
||||
border: 1px solid #e6dcdc;
|
||||
|
||||
}
|
||||
|
||||
footer {
|
||||
background-color: cadetblue;
|
||||
width: 100%;
|
||||
height: 76px;
|
||||
line-height: 76px;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
padding: 0%;
|
||||
margin: 0%;
|
||||
}
|
||||
|
||||
/* Style The Dropdown Button */
|
||||
.dropbtn {
|
||||
background-color: #4CAF50;
|
||||
color: white;
|
||||
padding: 10px;
|
||||
font-size: 16px;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
min-width: 160px;
|
||||
}
|
||||
|
||||
.accbtn {
|
||||
background-color: inherit;
|
||||
color: #000;
|
||||
padding: 10px;
|
||||
font-size: 16px;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
header .dropdown {
|
||||
padding-top: 19px;
|
||||
}
|
||||
|
||||
/* The container <div> - needed to position the dropdown content */
|
||||
.dropdown {
|
||||
/* position: fixed; */
|
||||
/* display: inline-block; */
|
||||
display: inline-flexbox;
|
||||
/* left: 300px; */
|
||||
/* position: relative; */
|
||||
/* vertical-align: middle; */
|
||||
|
||||
}
|
||||
|
||||
/* Dropdown Content (Hidden by Default) */
|
||||
.dropdown-content {
|
||||
display: none;
|
||||
position: absolute;
|
||||
background-color: #f9f9f9;
|
||||
min-width: 160px;
|
||||
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
|
||||
.dropdown-content form {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.accbtn:hover {
|
||||
background-color: #b4adad
|
||||
}
|
||||
|
||||
.dropdown-content a {
|
||||
color: black;
|
||||
padding: 12px 16px;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
.dropdown-content a:hover {
|
||||
background-color: #b4adad
|
||||
}
|
||||
|
||||
.dropdown:hover .dropdown-content {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.dropdown:hover .dropbtn {
|
||||
background-color: #3e8e41;
|
||||
}
|
||||
|
||||
|
||||
|
||||
input[type=text] {
|
||||
border: none;
|
||||
border-bottom: 1px solid #b1b1b1;
|
||||
font-size: inherit;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
select {
|
||||
border: none;
|
||||
border-bottom: 1px solid #b1b1b1;
|
||||
font-size: inherit;
|
||||
height: auto;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
nav {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: #212427;
|
||||
padding: 20px;
|
||||
width: 275px;
|
||||
height: 100%;
|
||||
|
||||
position: fixed;
|
||||
top: 76px;
|
||||
bottom: 4rem;
|
||||
left: 0;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
|
||||
nav button.collapsible {
|
||||
background-color: inherit;
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
padding: 18px;
|
||||
width: 100%;
|
||||
border: none;
|
||||
text-align: left;
|
||||
outline: none;
|
||||
font-size: 15px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
nav button.active, .collapsible:hover {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
nav button.collapsible:after {
|
||||
content: '\002B';
|
||||
color: white;
|
||||
float: right;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
nav button.active:after {
|
||||
content: "\2212";
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
nav div.content {
|
||||
padding: 0px;
|
||||
max-height: 0;
|
||||
overflow: hidden;
|
||||
transition: max-height 0.2s ease-out;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
nav ul {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0px;
|
||||
|
||||
}
|
||||
|
||||
nav ul li {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
nav ul li:hover {
|
||||
border-left: 3px solid #73bcf7;
|
||||
background-color: #666;
|
||||
}
|
||||
|
||||
nav ul li.active {
|
||||
border-left: 3px solid #73bcf7;
|
||||
}
|
||||
|
||||
nav a {
|
||||
|
||||
color: #177ee6;
|
||||
text-decoration: none;
|
||||
|
||||
}
|
||||
|
||||
nav a:visited {
|
||||
|
||||
color: #177ee6;
|
||||
text-decoration: none;
|
||||
|
||||
}
|
98
app/project-static/content.css
Normal file
98
app/project-static/content.css
Normal file
@ -0,0 +1,98 @@
|
||||
main section a {
|
||||
|
||||
color: #177ee6;
|
||||
text-decoration: none;
|
||||
|
||||
}
|
||||
|
||||
main section a:visited {
|
||||
|
||||
color: #177ee6;
|
||||
text-decoration: none;
|
||||
|
||||
}
|
||||
|
||||
article div {
|
||||
/* background-color: #ff0000; */
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
/* display: block; */
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
article div form {
|
||||
/* background-color: #00ff00; */
|
||||
display: block;
|
||||
/* text-align: center; */
|
||||
align-content: center;
|
||||
align-items: center;
|
||||
/* justify-content: center; */
|
||||
/* display: block; */
|
||||
/* flex-wrap: wrap; */
|
||||
/* for horizontal aligning of child divs */
|
||||
justify-content: center;
|
||||
/* for vertical aligning */
|
||||
/* align-items: center; */
|
||||
width: 650px;
|
||||
}
|
||||
|
||||
article div form div {
|
||||
/* background-color: #0000ff; */
|
||||
/* display:inline-flexbox; */
|
||||
/* width: 100%; */
|
||||
/* display: block; */
|
||||
width: 650px;
|
||||
line-height: 30px;
|
||||
/* align-items: center; */
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
display: inline-block;
|
||||
|
||||
}
|
||||
|
||||
|
||||
article div form div label {
|
||||
width: 100px;
|
||||
/* display: block; */
|
||||
}
|
||||
|
||||
article div form div input {
|
||||
width: 200px;
|
||||
/* display: block; */
|
||||
}
|
||||
|
||||
|
||||
input[type=button] {
|
||||
color: #fff;
|
||||
background-color: blue;
|
||||
height: 30px;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
input[type=checkbox] {
|
||||
visibility: hidden;
|
||||
font-size: 25px;
|
||||
}
|
||||
|
||||
input[type=checkbox]:after,
|
||||
input[type=checkbox]::after {
|
||||
content: " ";
|
||||
background-color: blue;
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
width: 30px;
|
||||
visibility: visible;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
input[type=checkbox]:checked:after,
|
||||
input[type=checkbox]:checked::after {
|
||||
content: "\2714";
|
||||
}
|
47
app/project-static/data.css
Normal file
47
app/project-static/data.css
Normal file
@ -0,0 +1,47 @@
|
||||
table {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
tr {
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
td {
|
||||
border-bottom: 1px solid #08f008;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
section .content-header {
|
||||
display: flex;
|
||||
/* background-color: #08f008; */
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
justify-content: space-evenly;
|
||||
padding: 0px;
|
||||
min-height: 120px;
|
||||
|
||||
}
|
||||
|
||||
section .content-header fieldset {
|
||||
/* background-color: #0851f0; */
|
||||
width: 350px;
|
||||
padding: 0px;
|
||||
border: none;
|
||||
|
||||
}
|
||||
|
||||
section .content-header fieldset label {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
|
||||
section .content-header fieldset input {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
}
|
Reference in New Issue
Block a user