Use external style sheet

GSoC/Meterpreter_Web_Console
Matthew Kienow 2018-06-22 15:38:17 -04:00
parent c0717d9306
commit f38e5af0bf
No known key found for this signature in database
GPG Key ID: 40787F8B1EAC6E41
3 changed files with 97 additions and 100 deletions

View File

@ -0,0 +1,95 @@
body {
margin:0;
}
ul {
background-color: rgb(47,47,47);
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
}
li {
float: left;
}
li a, .dropdown-btn {
display: inline-block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
li a:hover, .dropdown-menu:hover .dropdown-btn {
background-color: rgb(73,73,73);
}
li.dropdown-menu {
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: rgb(73,73,73);
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.dropdown-content a {
color: white;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}
.dropdown-content a:hover {
background-color: rgb(96,96,96);
}
.dropdown-menu:hover .dropdown-content {
display: block;
}
.api-token {
float:left;
}
#api-token-label {
font-weight: bold;
}
#api-token {
margin-left: 7px;
}
.credential-container {
border: 1px solid rgba(0, 0, 0, 0.4);
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.55);
margin-left: auto;
margin-right: auto;
max-width: 390px;
min-width: 300px;
min-height: 250px;
padding: 34px;
}
input[type=text], input[type=password] {
border-color: rgba(0, 0, 0, 0.6);
border-width: 1px;
margin-bottom: 16px;
width: 100%;
height: 34px;
}
button {
border-color: rgba(0, 0, 0, 0.6);
border-width: 1px;
cursor: pointer;
width: 100%;
height: 34px;
}

View File

@ -3,77 +3,7 @@
<head>
<meta charset="UTF-8">
<title>Account - Metasploit API</title>
<!-- TODO: use external style sheet -->
<style>
body {
margin:0;
}
ul {
background-color: rgb(47,47,47);
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
}
li {
float: left;
}
li a, .dropdown-btn {
display: inline-block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
li a:hover, .dropdown-menu:hover .dropdown-btn {
background-color: rgb(73,73,73);
}
li.dropdown-menu {
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: rgb(73,73,73);
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.dropdown-content a {
color: white;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}
.dropdown-content a:hover {
background-color: rgb(96,96,96);
}
.dropdown-menu:hover .dropdown-content {
display: block;
}
.api-token {
float:left;
}
#api-token-label {
font-weight: bold;
}
#api-token {
margin-left: 7px;
}
</style>
<link rel="stylesheet" type="text/css" href="/msf-ws.css">
</head>
<body>

View File

@ -3,35 +3,7 @@
<head>
<meta charset="UTF-8">
<title>Log In - Metasploit API</title>
<!-- TODO: use external style sheet -->
<style>
.credential-container {
border: 1px solid rgba(0, 0, 0, 0.4);
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.55);
margin-left: auto;
margin-right: auto;
max-width: 390px;
min-width: 300px;
min-height: 250px;
padding: 34px;
}
input[type=text], input[type=password] {
border-color: rgba(0, 0, 0, 0.6);
border-width: 1px;
margin-bottom: 16px;
width: 100%;
height: 34px;
}
button {
border-color: rgba(0, 0, 0, 0.6);
border-width: 1px;
cursor: pointer;
width: 100%;
height: 34px;
}
</style>
<link rel="stylesheet" type="text/css" href="/msf-ws.css">
</head>
<body>