Skip to content

Commit

Permalink
Merge issue-br0xen#17 into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ShoshinNikita committed May 22, 2018
2 parents 3615f4e + 4323e93 commit 5f4ceeb
Show file tree
Hide file tree
Showing 3 changed files with 229 additions and 180 deletions.
87 changes: 56 additions & 31 deletions static/main.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* Common */
html * {
font-family: Arial;
}
Expand All @@ -10,13 +11,41 @@ input[type=button] {
.icon {
font-size: 30px !important;
}


/* Main classes */
.menu {
top: 0px;
left: 0px;
height: 35px;
width: 100%;
font-size: 20px;
background-color: rgba(180, 180, 180, 0.493);
text-align: center;
}

/* The list of dbs */
.db_list {
float: left;
height: 95vh;
width: 25vw;
border: 1px solid black;
position: fixed;
top: 0px;
left: 0px;
height: 100vh;
width: 300px;
z-index: 1;
background-color: white;
}
.db_list_animation {
animation-name: openDB;
animation-iteration-count: 1;
animation-duration: 0.5s;
}
@keyframes openDB {
0% {margin-left: -300px;}
100% {margin-left: 0px;}
}

.db_button {
margin-bottom: 15px;
background-color: white;
border-radius: 4px;
color: black;
Expand All @@ -28,28 +57,25 @@ input[type=button] {
font-size: 20px;
margin-left: 1vw;
}

/* Consist info about the current db and records */
.db {
border: 1px solid black;
float: right;
height: 95vh;
width: 70vw;
width: 96%;
margin: auto;
}
.db_info {
border-bottom: 1px solid black;
font-size: 25px;
height: 10vh;
}
.db_tree {
margin-left: 1vw;
width: 32vw;
float: left;
}
.record_data {
border-left: 1px solid black;
float: right;
width: 35vw;
height: 81vh;
width: 40%;
height: 100%;
padding: 10px 10px 10px 10px;
overflow-y: auto;

background-color: white;/* Black w/ opacity */
}
.record {
cursor: help;
Expand All @@ -66,8 +92,8 @@ input[type=button] {
left: 0.5vw;
width: 300px;
height: 100px;
z-index: 2;
visibility: hidden;

cursor: pointer;
background-color: white;
border: 1px solid black;
Expand All @@ -93,17 +119,25 @@ input[type=button] {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #888;
background: rgba(180, 180, 180, 0.493);
}
::-webkit-scrollbar-thumb:hover {
background:#555;
background: #888;
}


/* Modal Box */
/* background */
.modal {
display: none; /* Hidden by default */
.modal-content {
background-color: #fefefe;
margin: auto;
padding: 20px;
text-align: center;
border: 1px solid #888;
border-radius: 5px;
width: 40vw;
}
.background {
display: none; /* Hidden by default */
position: fixed;
z-index: 1;
padding-top: 5vh;
Expand All @@ -114,12 +148,3 @@ input[type=button] {
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.modal-content {
background-color: #fefefe;
margin: auto;
padding: 20px;
text-align: center;
border: 1px solid #888;
border-radius: 5px;
width: 40vw;
}
Loading

0 comments on commit 5f4ceeb

Please sign in to comment.