First attempt to remove JSP and move to Thymeleaf and update to Spring Boot. The Thymeleaf templates can be loaded as snippets which makes it more easy to move away from ECS and create normal HTML pages for a lesson.
This commit is contained in:
2744
webgoat-container/src/main/resources/static/css/animate.css
vendored
Normal file
2744
webgoat-container/src/main/resources/static/css/animate.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
4
webgoat-container/src/main/resources/static/css/font-awesome.min.css
vendored
Normal file
4
webgoat-container/src/main/resources/static/css/font-awesome.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
webgoat-container/src/main/resources/static/css/img/logo.png
Normal file
BIN
webgoat-container/src/main/resources/static/css/img/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 669 B |
BIN
webgoat-container/src/main/resources/static/css/img/logoBG.jpg
Normal file
BIN
webgoat-container/src/main/resources/static/css/img/logoBG.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
BIN
webgoat-container/src/main/resources/static/css/img/webBg.png
Normal file
BIN
webgoat-container/src/main/resources/static/css/img/webBg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
@ -0,0 +1,2 @@
|
||||
#lesson-title {position:absolute;left:94px;top:75px;width:690px;height:22px;z-index:1;float: right;font-size: 20px;color: #FFFFFF;}
|
||||
#hMenuBar {position:absolute;left:245px;top:108px;width:538px;height:22px;z-index:2;}
|
11
webgoat-container/src/main/resources/static/css/lesson.css
Normal file
11
webgoat-container/src/main/resources/static/css/lesson.css
Normal file
@ -0,0 +1,11 @@
|
||||
body.page {color: #000000;font-family: Verdana, Tahoma, sans-serif;font-size: 8pt;}
|
||||
td {font-family: Verdana, Tahoma, sans-serif;font-size: 8pt; }
|
||||
tr {font-family: Verdana, Tahoma, sans-serif;}
|
||||
span {font-family: Verdana, Tahoma, sans-serif;}
|
||||
.f8-0 {font-size: 8pt;font-family: Verdana, Tahoma, sans-serif;}
|
||||
.f8-1 {font-size: 8pt;font-family: Verdana, Tahoma, sans-serif;}
|
||||
.div_tree {padding-left:10px;overflow:visible;}
|
||||
.report_tree_link {width:100%;font-size: 8pt;font-family: Verdana, Tahoma, sans-serif;margin-left:2px;padding-right:2px;margin-top:2px;border-spacing:0px;}
|
||||
.form_link {font-size: 8pt;font-family: Verdana, Tahoma, sans-serif;font-weight: bold;}
|
||||
.report_title {font-size: 8pt;font-family: Verdana, Tahoma, sans-serif;border: 1px solid #afafaf;background-color: #cfcfef;margin-top:3px;margin-bottom:3px;margin-left:1px;padding:3px;font-weight: bold;}
|
||||
.middle {vertical-align:middle;}
|
928
webgoat-container/src/main/resources/static/css/main.css
Normal file
928
webgoat-container/src/main/resources/static/css/main.css
Normal file
@ -0,0 +1,928 @@
|
||||
/* ==========================================================================
|
||||
Base styles
|
||||
========================================================================== */
|
||||
body {
|
||||
color: #5D5F63;
|
||||
background: #212121;
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
text-rendering: optimizeLegibility;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
a:link,
|
||||
a:visited {
|
||||
text-decoration: none;
|
||||
outline: none;
|
||||
color: #e84c3d;
|
||||
}
|
||||
a:hover,
|
||||
a:active {
|
||||
outline: none;
|
||||
text-decoration: none;
|
||||
color: #16a086;
|
||||
}
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-family: 'Source Sans Pro', Arial, sans-serif;
|
||||
}
|
||||
p {
|
||||
font-size: 14px;
|
||||
}
|
||||
hr {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
::selection {
|
||||
background: #fff7dd;
|
||||
}
|
||||
::-moz-selection {
|
||||
background: #fff7dd;
|
||||
}
|
||||
/* ==========================================================================
|
||||
Layout
|
||||
========================================================================== */
|
||||
#container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 0;
|
||||
-webkit-transition: all 0.3s ease-in-out;
|
||||
-moz-transition: all 0.3s ease-in-out;
|
||||
-o-transition: all 0.3s ease-in-out;
|
||||
-ms-transition: all 0.3s ease-in-out;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
/* Header */
|
||||
#header {
|
||||
z-index: 200;
|
||||
background: #fff;
|
||||
min-height: 80px;
|
||||
-webkit-transition: all 0.3s ease-in-out;
|
||||
-moz-transition: all 0.3s ease-in-out;
|
||||
-o-transition: all 0.3s ease-in-out;
|
||||
-ms-transition: all 0.3s ease-in-out;
|
||||
transition: all 0.3s ease-in-out;
|
||||
margin-right: 0;
|
||||
}
|
||||
#header .brand {
|
||||
float: left;
|
||||
width: 240px;
|
||||
height: 80px;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
background: url('img/logoBG.jpg') no-repeat 0px 0px;
|
||||
}
|
||||
#header .logo {
|
||||
color: #fff;
|
||||
font-size: 1.7em;
|
||||
text-transform: uppercase;
|
||||
padding: 23px 0 0 75px;
|
||||
display: inline-block;
|
||||
}
|
||||
#header .logo span {
|
||||
font-weight: 700;
|
||||
}
|
||||
#header .toggle-navigation button:hover,
|
||||
#header .toggle-navigation button:active,
|
||||
#header button#toggle-mail:hover,
|
||||
#header button#toggle-mail:active {
|
||||
background: #e84c3d;
|
||||
}
|
||||
#header .toggle-navigation button:hover i,
|
||||
#header button#toggle-mail:hover i {
|
||||
color: #F6F6F6;
|
||||
}
|
||||
#header .toggle-navigation.toggle-left {
|
||||
margin-top: 5px;
|
||||
margin-left: 20px;
|
||||
display: inline-block;
|
||||
}
|
||||
#header .btn-default {
|
||||
padding: 3px 9px;
|
||||
background: #F6F6F6;
|
||||
-webkit-border-radius: 50%;
|
||||
-moz-border-radius: 50%;
|
||||
-ms-border-radius: 50%;
|
||||
-o-border-radius: 50%;
|
||||
border-radius: 50%;
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
}
|
||||
#header .btn-default .fa-bars,
|
||||
#header .btn-default .fa-comment {
|
||||
cursor: pointer;
|
||||
color: #797979;
|
||||
}
|
||||
#header .btn-default .fa-info,
|
||||
#header .btn-default .fa-envelope,
|
||||
#header .btn-default .fa-user {
|
||||
color: #797979;
|
||||
}
|
||||
#header .user-nav button:hover,
|
||||
#header .user-nav button:active {
|
||||
background: #e84c3d;
|
||||
}
|
||||
#header .user-nav button:hover i {
|
||||
color: #F6F6F6;
|
||||
}
|
||||
#header #lesson-title-wrapper {
|
||||
display: inline-block;
|
||||
margin:0 0 0 20px;
|
||||
}
|
||||
#header .pull-right {
|
||||
float: right !important;
|
||||
margin-top:25px;
|
||||
margin-right:20px;
|
||||
}
|
||||
|
||||
.btn-primary + .dropdown-menu > li > a:hover,
|
||||
.btn-primary + .dropdown-menu > li > a:active {
|
||||
background-color: #16a086;
|
||||
}
|
||||
|
||||
.sidebar > div > ul > li > ul > li > span.lesson-complete {
|
||||
/*float: right;
|
||||
margin-left: 1.5em;*/
|
||||
margin-right: 5px;
|
||||
margin-top: -38px; /* << don't like doing this, but otherwise it does not line up correctly */
|
||||
color:#0F0
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Main Content
|
||||
========================================================================== */
|
||||
.main-content-wrapper {
|
||||
margin-left: 240px;
|
||||
margin-right: 0;
|
||||
-webkit-transition: all 0.3s ease-in-out;
|
||||
-moz-transition: all 0.3s ease-in-out;
|
||||
-o-transition: all 0.3s ease-in-out;
|
||||
-ms-transition: all 0.3s ease-in-out;
|
||||
transition: all 0.3s ease-in-out;
|
||||
background: #f1f2f7;
|
||||
min-height: 400px;
|
||||
}
|
||||
|
||||
.main-content-wrapper #main-content {
|
||||
/*background: url('img/webBg.png') no-repeat top left;*/
|
||||
border-top: solid thin #e7e8ec;
|
||||
display: inline-block;
|
||||
padding: 15px 15px 0 15px;
|
||||
width: 100%;
|
||||
}
|
||||
.main-content-wrapper #main-content .h1 {
|
||||
margin: 0;
|
||||
padding: 0px 10px 40px 10px;
|
||||
float: left;
|
||||
line-height: 10px;
|
||||
font-weight: 300;
|
||||
font-size: 42px;
|
||||
font-family: 'Source Sans Pro', Arial, sans-serif;
|
||||
}
|
||||
.main-content-toggle-left {
|
||||
margin-left: 0;
|
||||
}
|
||||
.main-content-toggle-right {
|
||||
margin-right: 240px;
|
||||
}
|
||||
|
||||
/*==========================================================================
|
||||
lesson content / wrapper
|
||||
========================================================================= */
|
||||
|
||||
#lesson-content-wrapper {
|
||||
padding:5px;
|
||||
}
|
||||
|
||||
#lesson-content-wrapper table td, #lesson-content-wrapper table th {
|
||||
padding:3px !important;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Buttons
|
||||
========================================================================== */
|
||||
.btn {
|
||||
border: none;
|
||||
font-size: 15px;
|
||||
font-weight: normal;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
-ms-border-radius: 3px;
|
||||
-o-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
padding: 8px 14px;
|
||||
margin-bottom: 5px;
|
||||
-webkit-font-smoothing: subpixel-antialiased;
|
||||
-webkit-transition: border 0.25s linear, color 0.25s linear, background-color 0.25s linear;
|
||||
transition: border 0.25s linear, color 0.25s linear, background-color 0.25s linear;
|
||||
}
|
||||
.btn:hover,
|
||||
.btn:focus {
|
||||
outline: none;
|
||||
}
|
||||
.btn:active,
|
||||
.btn.active {
|
||||
outline: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
outline: none!important;
|
||||
}
|
||||
.btn.disabled,
|
||||
.btn[disabled],
|
||||
.btn fieldset[disabled] .btn {
|
||||
background-color: #bdc3c7;
|
||||
color: rgba(255, 255, 255, 0.75);
|
||||
opacity: 0.7;
|
||||
filter: alpha(opacity=70);
|
||||
}
|
||||
/* Default Buttons*/
|
||||
.btn-default,
|
||||
a.btn-default:link,
|
||||
a.btn-default:visited {
|
||||
color: #ffffff;
|
||||
background-color: #bdc3c7;
|
||||
outline: none!important;
|
||||
}
|
||||
a.btn-default:hover,
|
||||
a.btn-default:active {
|
||||
color: #ffffff;
|
||||
background-color: #cbd0d3;
|
||||
border-color: #cbd0d3;
|
||||
}
|
||||
.btn-default:hover,
|
||||
.btn-default:focus,
|
||||
.btn-default:active,
|
||||
.btn-default.active,
|
||||
.open .dropdown-toggle.btn-default {
|
||||
color: #ffffff;
|
||||
background-color: #cbd0d3;
|
||||
border-color: #cbd0d3;
|
||||
}
|
||||
.btn-default:active,
|
||||
.btn-default.active,
|
||||
.open .dropdown-toggle.btn-default {
|
||||
background: #bdc3c7;
|
||||
border-color: #bdc3c7;
|
||||
}
|
||||
.btn-default.disabled,
|
||||
.btn-default[disabled],
|
||||
fieldset[disabled] .btn-default,
|
||||
.btn-default.disabled:hover,
|
||||
.btn-default[disabled]:hover,
|
||||
fieldset[disabled] .btn-default:hover,
|
||||
.btn-default.disabled:focus,
|
||||
.btn-default[disabled]:focus,
|
||||
fieldset[disabled] .btn-default:focus,
|
||||
.btn-default.disabled:active,
|
||||
.btn-default[disabled]:active,
|
||||
fieldset[disabled] .btn-default:active,
|
||||
.btn-default.disabled.active,
|
||||
.btn-default[disabled].active,
|
||||
fieldset[disabled] .btn-default.active {
|
||||
background-color: #bdc3c7;
|
||||
border-color: #bdc3c7;
|
||||
}
|
||||
.btn-primary,
|
||||
a.btn-primary:link,
|
||||
a.btn-primary:visited {
|
||||
color: #fff;
|
||||
background-color: #e84c3d;
|
||||
}
|
||||
a.btn-primary:hover,
|
||||
a.btn-primary:active {
|
||||
color: #ffffff;
|
||||
background-color: #C62F28;
|
||||
border-color: #C62F28;
|
||||
}
|
||||
.btn-primary:hover,
|
||||
.btn-primary:focus,
|
||||
.btn-primary:active,
|
||||
.btn-primary.active,
|
||||
.open .dropdown-toggle.btn-primary {
|
||||
color: #ffffff;
|
||||
background-color: #C62F28;
|
||||
border-color: #C62F28;
|
||||
}
|
||||
.btn-primary:active,
|
||||
.btn-primary.active,
|
||||
.open .dropdown-toggle.btn-primary {
|
||||
background: #e84c3d;
|
||||
border-color: #e84c3d;
|
||||
}
|
||||
.btn-primary.disabled,
|
||||
.btn-primary[disabled],
|
||||
fieldset[disabled] .btn-primary,
|
||||
.btn-primary.disabled:hover,
|
||||
.btn-primary[disabled]:hover,
|
||||
fieldset[disabled] .btn-primary:hover,
|
||||
.btn-primary.disabled:focus,
|
||||
.btn-primary[disabled]:focus,
|
||||
fieldset[disabled] .btn-primary:focus,
|
||||
.btn-primary.disabled:active,
|
||||
.btn-primary[disabled]:active,
|
||||
fieldset[disabled] .btn-primary:active,
|
||||
.btn-primary.disabled.active,
|
||||
.btn-primary[disabled].active,
|
||||
fieldset[disabled] .btn-primary.active {
|
||||
background-color: #e84c3d;
|
||||
border-color: #e84c3d;
|
||||
}
|
||||
.btn-info {
|
||||
color: #ffffff;
|
||||
background-color: #3598db;
|
||||
}
|
||||
.btn-info,
|
||||
a.btn-info:link,
|
||||
a.btn-info:visited {
|
||||
color: #ffffff;
|
||||
background-color: #3598db;
|
||||
}
|
||||
a.btn-info:hover,
|
||||
a.btn-info:active {
|
||||
color: #ffffff;
|
||||
background-color: #4ba3df;
|
||||
}
|
||||
.btn-info:hover,
|
||||
.btn-info:focus,
|
||||
.btn-info:active,
|
||||
.btn-info.active,
|
||||
.open .dropdown-toggle.btn-info {
|
||||
color: #ffffff;
|
||||
background-color: #4ba3df;
|
||||
border-color: #4ba3df;
|
||||
}
|
||||
.btn-info:active,
|
||||
.btn-info.active,
|
||||
.open .dropdown-toggle.btn-info {
|
||||
background: #3598db;
|
||||
border-color: #3598db;
|
||||
}
|
||||
.btn-info.disabled,
|
||||
.btn-info[disabled],
|
||||
fieldset[disabled] .btn-info,
|
||||
.btn-info.disabled:hover,
|
||||
.btn-info[disabled]:hover,
|
||||
fieldset[disabled] .btn-info:hover,
|
||||
.btn-info.disabled:focus,
|
||||
.btn-info[disabled]:focus,
|
||||
fieldset[disabled] .btn-info:focus,
|
||||
.btn-info.disabled:active,
|
||||
.btn-info[disabled]:active,
|
||||
fieldset[disabled] .btn-info:active,
|
||||
.btn-info.disabled.active,
|
||||
.btn-info[disabled].active,
|
||||
fieldset[disabled] .btn-info.active {
|
||||
background-color: #3598db;
|
||||
border-color: #3598db;
|
||||
}
|
||||
.btn-danger {
|
||||
color: #ffffff;
|
||||
background-color: #e84c3d;
|
||||
}
|
||||
.btn-danger:hover,
|
||||
.btn-danger:focus,
|
||||
.btn-danger:active,
|
||||
.btn-danger.active,
|
||||
.open .dropdown-toggle.btn-danger {
|
||||
color: #ffffff;
|
||||
background-color: #eb6154;
|
||||
border-color: #eb6154;
|
||||
}
|
||||
.btn-danger:active,
|
||||
.btn-danger.active,
|
||||
.open .dropdown-toggle.btn-danger {
|
||||
background: #eb6154;
|
||||
border-color: #eb6154;
|
||||
}
|
||||
.btn-danger.disabled,
|
||||
.btn-danger[disabled],
|
||||
fieldset[disabled] .btn-danger,
|
||||
.btn-danger.disabled:hover,
|
||||
.btn-danger[disabled]:hover,
|
||||
fieldset[disabled] .btn-danger:hover,
|
||||
.btn-danger.disabled:focus,
|
||||
.btn-danger[disabled]:focus,
|
||||
fieldset[disabled] .btn-danger:focus,
|
||||
.btn-danger.disabled:active,
|
||||
.btn-danger[disabled]:active,
|
||||
fieldset[disabled] .btn-danger:active,
|
||||
.btn-danger.disabled.active,
|
||||
.btn-danger[disabled].active,
|
||||
fieldset[disabled] .btn-danger.active {
|
||||
background-color: #e84c3d;
|
||||
border-color: #e84c3d;
|
||||
}
|
||||
.btn-success {
|
||||
color: #ffffff;
|
||||
background-color: #2dcc70;
|
||||
}
|
||||
.btn-success:hover,
|
||||
.btn-success:focus,
|
||||
.btn-success:active,
|
||||
.btn-success.active,
|
||||
.open .dropdown-toggle.btn-success {
|
||||
color: #ffffff;
|
||||
background-color: #3ed47d;
|
||||
border-color: #3ed47d;
|
||||
}
|
||||
.btn-success:active,
|
||||
.btn-success.active,
|
||||
.open .dropdown-toggle.btn-success {
|
||||
background: #2dcc70;
|
||||
border-color: #2dcc70;
|
||||
}
|
||||
.btn-success.disabled,
|
||||
.btn-success[disabled],
|
||||
fieldset[disabled] .btn-success,
|
||||
.btn-success.disabled:hover,
|
||||
.btn-success[disabled]:hover,
|
||||
fieldset[disabled] .btn-success:hover,
|
||||
.btn-success.disabled:focus,
|
||||
.btn-success[disabled]:focus,
|
||||
fieldset[disabled] .btn-success:focus,
|
||||
.btn-success.disabled:active,
|
||||
.btn-success[disabled]:active,
|
||||
fieldset[disabled] .btn-success:active,
|
||||
.btn-success.disabled.active,
|
||||
.btn-success[disabled].active,
|
||||
fieldset[disabled] .btn-success.active {
|
||||
background-color: #2dcc70;
|
||||
border-color: #2dcc70;
|
||||
}
|
||||
.btn-warning {
|
||||
color: #ffffff;
|
||||
background-color: #f1c40f;
|
||||
}
|
||||
.btn-warning:hover,
|
||||
.btn-warning:focus,
|
||||
.btn-warning:active,
|
||||
.btn-warning.active,
|
||||
.open .dropdown-toggle.btn-warning {
|
||||
color: #ffffff;
|
||||
background-color: #f1c40f;
|
||||
border-color: #f1c40f;
|
||||
}
|
||||
.btn-warning:active,
|
||||
.btn-warning.active,
|
||||
.open .dropdown-toggle.btn-warning {
|
||||
background: #f2ca27;
|
||||
border-color: #f2ca27;
|
||||
}
|
||||
.btn-warning.disabled,
|
||||
.btn-warning[disabled],
|
||||
fieldset[disabled] .btn-warning,
|
||||
.btn-warning.disabled:hover,
|
||||
.btn-warning[disabled]:hover,
|
||||
fieldset[disabled] .btn-warning:hover,
|
||||
.btn-warning.disabled:focus,
|
||||
.btn-warning[disabled]:focus,
|
||||
fieldset[disabled] .btn-warning:focus,
|
||||
.btn-warning.disabled:active,
|
||||
.btn-warning[disabled]:active,
|
||||
fieldset[disabled] .btn-warning:active,
|
||||
.btn-warning.disabled.active,
|
||||
.btn-warning[disabled].active,
|
||||
fieldset[disabled] .btn-warning.active {
|
||||
background-color: #f1c40f;
|
||||
border-color: #f1c40f;
|
||||
}
|
||||
/* Button Sizes */
|
||||
.btn-lg {
|
||||
padding: 10px 16px;
|
||||
font-size: 18px;
|
||||
line-height: 1.33;
|
||||
}
|
||||
.btn-sm {
|
||||
padding: 5px 10px;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
-ms-border-radius: 3px;
|
||||
-o-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.btn-xs {
|
||||
padding: 1px 5px;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
-ms-border-radius: 3px;
|
||||
-o-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
/* ==========================================================================
|
||||
Breadcrumbs
|
||||
========================================================================== */
|
||||
.breadcrumb {
|
||||
background: none;
|
||||
}
|
||||
.breadcrumb > li {
|
||||
font-size: 12px;
|
||||
}
|
||||
/* ==========================================================================
|
||||
Icons
|
||||
========================================================================== */
|
||||
.fa-hover {
|
||||
margin: 5px 0;
|
||||
}
|
||||
.fa-hover i {
|
||||
font-size: 14px;
|
||||
margin-right: 5px;
|
||||
width: 20px;
|
||||
}
|
||||
/* ==========================================================================
|
||||
Panels
|
||||
========================================================================== */
|
||||
.panel {
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
-ms-border-radius: 3px;
|
||||
-o-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.panel > .panel-heading {
|
||||
font-size: 13px;
|
||||
font-weight: 400;
|
||||
text-transform: uppercase;
|
||||
padding: 15px;
|
||||
}
|
||||
.panel .actions {
|
||||
position: absolute;
|
||||
right: 30px;
|
||||
top: 18px;
|
||||
}
|
||||
.panel .actions i {
|
||||
font-size: 1em;
|
||||
margin: 0 3px;
|
||||
}
|
||||
.panel .actions i:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
.panel > .panel-footer {
|
||||
font-size: 13px;
|
||||
font-weight: 400;
|
||||
text-transform: uppercase;
|
||||
padding: 15px;
|
||||
}
|
||||
.panel-default > .panel-heading {
|
||||
border-color: #eff2f7;
|
||||
background: #fafafa;
|
||||
color: #767676;
|
||||
}
|
||||
.panel-default .actions i {
|
||||
font-size: 1em;
|
||||
color: #bdc3c7;
|
||||
margin: 0 3px;
|
||||
}
|
||||
.panel-default .actions i:hover {
|
||||
cursor: pointer;
|
||||
color: #767676;
|
||||
}
|
||||
.panel-default > .panel-footer {
|
||||
border-color: #eff2f7;
|
||||
background: #fafafa;
|
||||
color: #767676;
|
||||
}
|
||||
.panel-primary > .panel-heading {
|
||||
color: #fff;
|
||||
background-color: #e84c3d;
|
||||
border-color: #e84c3d;
|
||||
}
|
||||
.panel-primary {
|
||||
border-color: #e84c3d;
|
||||
}
|
||||
.panel-primary > .panel-heading a,
|
||||
.panel-primary > .panel-heading a:hover {
|
||||
color: #fff;
|
||||
}
|
||||
.panel-solid-default > .panel-heading,
|
||||
.panel-solid-default > .panel-body,
|
||||
.panel-solid-default > .panel-footer {
|
||||
background: #bdc3c7;
|
||||
color: #fff;
|
||||
border: none;
|
||||
}
|
||||
.panel-solid-primary > .panel-heading,
|
||||
.panel-solid-primary > .panel-body,
|
||||
.panel-solid-primary > .panel-footer {
|
||||
background: #e84c3d;
|
||||
color: #fff;
|
||||
border: none;
|
||||
}
|
||||
.panel-solid-success > .panel-heading,
|
||||
.panel-solid-success > .panel-body,
|
||||
.panel-solid-success > .panel-footer {
|
||||
background: #2dcc70;
|
||||
color: #fff;
|
||||
border: none;
|
||||
}
|
||||
.panel-solid-warning > .panel-heading,
|
||||
.panel-solid-warning > .panel-body,
|
||||
.panel-solid-warning > .panel-footer {
|
||||
background: #f1c40f;
|
||||
color: #fff;
|
||||
border: none;
|
||||
}
|
||||
.panel-solid-info > .panel-heading,
|
||||
.panel-solid-info > .panel-body,
|
||||
.panel-solid-info > .panel-footer {
|
||||
background: #3598db;
|
||||
color: #fff;
|
||||
border: none;
|
||||
}
|
||||
.panel-solid-danger > .panel-heading,
|
||||
.panel-solid-danger > .panel-body,
|
||||
.panel-solid-danger > .panel-footer {
|
||||
background: #e84c3d;
|
||||
color: #fff;
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Modal
|
||||
========================================================================== */
|
||||
.modal-footer .btn + .btn {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.modal .modal-body.modal-scroll {
|
||||
max-height: 375px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
#about-modal {
|
||||
opacity: 95%;
|
||||
}
|
||||
/* ==========================================================================
|
||||
Media Queries
|
||||
========================================================================== */
|
||||
@media only screen and (max-width: 767px) and (min-width: 480px) {
|
||||
/* Main Content */
|
||||
#main-content .h1 {
|
||||
font-size: 35px;
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width: 660px) {
|
||||
#header {
|
||||
height: 160px;
|
||||
}
|
||||
#header .brand {
|
||||
width: 100%;
|
||||
}
|
||||
#header .user-nav ul {
|
||||
padding-left: 0;
|
||||
}
|
||||
#header .toggle-navigation.toggle-left {
|
||||
float: left;
|
||||
}
|
||||
.sidebar {
|
||||
margin-left: -240px;
|
||||
}
|
||||
.sidebar-toggle {
|
||||
margin-left: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.main-content-wrapper {
|
||||
margin-left: 0;
|
||||
}
|
||||
.main-content-toggle-left {
|
||||
margin-left: 660px;
|
||||
}
|
||||
.sidebarRight {
|
||||
top: 160px;
|
||||
width: 100%;
|
||||
}
|
||||
.user-nav ul li {
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width: 479px) {
|
||||
/* Main Content */
|
||||
#main-content .h1 {
|
||||
font-size: 22px;
|
||||
}
|
||||
#header .dropdown.messages {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
#buttonPanel {
|
||||
padding:3px;
|
||||
width:auto;
|
||||
}
|
||||
|
||||
#topLinks {
|
||||
float:right;
|
||||
margin-right:5px;
|
||||
margin-top:3px;
|
||||
}
|
||||
|
||||
.lesson-help, .lesson-help-button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.table-nonfluid {
|
||||
width:auto;
|
||||
margin-bottom:15px;
|
||||
}
|
||||
|
||||
cookie-container {
|
||||
margin-bottom:4px;
|
||||
}
|
||||
|
||||
.cookie-table, .param-table {
|
||||
border:1px solid #eee;
|
||||
}
|
||||
|
||||
.cookie-table tr td, .param-table tr td {
|
||||
padding:3px ;
|
||||
padding-left: 5px;
|
||||
width:220px;
|
||||
max-width: 240px;
|
||||
font-size: x-small;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.cookie-table th, .param-table th {
|
||||
border:none;
|
||||
border-right:1px solid #ccc;
|
||||
padding-right:3px;
|
||||
}
|
||||
|
||||
|
||||
.cookie-table td, .param-table td {
|
||||
border:none;
|
||||
padding-left:3px;
|
||||
}
|
||||
|
||||
.developer-controls-table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.developer-controls-table td {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.developer-controls-table a {
|
||||
color: #e84c3d
|
||||
}
|
||||
|
||||
#developer-control-container {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#menu-container a,
|
||||
.developer-controls-table a {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
MENU / Sidebar
|
||||
========================================================================== */
|
||||
/* Sidebar */
|
||||
.sidebar {
|
||||
width: 240px;
|
||||
/*height: 100%;*/
|
||||
background: #222;
|
||||
position: absolute;
|
||||
-webkit-transition: all 0.3s ease-in-out;
|
||||
-moz-transition: all 0.3s ease-in-out;
|
||||
-o-transition: all 0.3s ease-in-out;
|
||||
-ms-transition: all 0.3s ease-in-out;
|
||||
transition: all 0.3s ease-in-out;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
#menu-container {
|
||||
overflow-y:scroll;
|
||||
overflow-x:hidden;
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
/*background-color:#333;*/
|
||||
background-color:blue;
|
||||
}
|
||||
|
||||
|
||||
.sidebar-toggle {
|
||||
margin-left: -240px;
|
||||
}
|
||||
#menu-container ul,
|
||||
#menu-container ul ul {
|
||||
margin: -2px 0 0;
|
||||
padding: 0;
|
||||
}
|
||||
#menu-container ul li {
|
||||
list-style-type: none;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
|
||||
#menu-container ul li a {
|
||||
color: #aeb2b7;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
padding: 5px 0 5px 15px;
|
||||
font-size: 12px;
|
||||
outline: none;
|
||||
-webkit-transition: all 200ms ease-in;
|
||||
-moz-transition: all 200ms ease-in;
|
||||
-o-transition: all 200ms ease-in;
|
||||
-ms-transition: all 200ms ease-in;
|
||||
transition: all 200ms ease-in;
|
||||
}
|
||||
#menu-container ul li a span {
|
||||
display: inline-block;
|
||||
}
|
||||
#menu-container ul ul li {
|
||||
background: #333;
|
||||
margin-bottom: 0;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
border-bottom: none;
|
||||
}
|
||||
#menu-container ul ul li a {
|
||||
font-size: 11px;
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
color: #aeb2b7;
|
||||
margin-left:8px;
|
||||
}
|
||||
#menu-container ul li a i {
|
||||
width: 20px;
|
||||
}
|
||||
#menu-container ul li a i.fa-angle-right,
|
||||
#menu-container ul li a i.fa-angle-left {
|
||||
padding-top: 3px;
|
||||
}
|
||||
#menu-container ul ul {
|
||||
display: none;
|
||||
}
|
||||
#menu-container li.active ul {
|
||||
display: block;
|
||||
}
|
||||
#menu-container ul li a:hover,
|
||||
#menu-container ul li.active > a {
|
||||
color: #e84c3d;
|
||||
}
|
||||
|
||||
#menu-container ul span.lesson-complete {
|
||||
float: right;
|
||||
margin-left: -5px;
|
||||
/*margin-right: 5px;*/
|
||||
padding-top: 15px;
|
||||
display:inline-block;
|
||||
}
|
||||
|
||||
#menu-container ul li.selected, #menu-container li a.selected {
|
||||
background-color: #555;
|
||||
}
|
||||
|
||||
#menu-container ul li.stage {
|
||||
padding-left:3px;
|
||||
}
|
||||
|
||||
#menu-container li.selected, #menu-container a.selected {
|
||||
color:white;
|
||||
}
|
||||
|
||||
#menu-container ul ul.lessonsAndStages.keepOpen {
|
||||
display: block
|
||||
}
|
||||
|
||||
/* HINTS */
|
||||
#lesson-hint-container {
|
||||
display: none;
|
||||
}
|
||||
#hintsViewTop{
|
||||
display: none;
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
#show-prev-hint, #show-next-hint {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.info {
|
||||
color:#e84c3d;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#help-controls {
|
||||
padding-left: 4px;
|
||||
padding-top: 4px
|
||||
}
|
||||
|
||||
.help-button {
|
||||
margin-right:4px;
|
||||
}
|
11
webgoat-container/src/main/resources/static/css/menu.css
Normal file
11
webgoat-container/src/main/resources/static/css/menu.css
Normal file
@ -0,0 +1,11 @@
|
||||
.pviimenudiv td {font-family: "Trebuchet MS", Arial, sans-serif; font-size: 10px}
|
||||
.pviimenudiv p {font-family: "Trebuchet MS", Arial, sans-serif; font-size: 10px; margin-top: 12px; margin-bottom: 6px}
|
||||
.pviimenudiv b {font-family: Verdana, Arial, Helvetica, sans-serif; font-style: normal; color: #666666}
|
||||
.pviimenudiv a:link {color: #333333; text-decoration: underline}
|
||||
.pviimenudiv a:visited {color: #0066FF; text-decoration: underline}
|
||||
.pviimenudiv a:hover {color: red; text-decoration: underline}
|
||||
.pviimenudiv a:active {color: #0066FF; text-decoration: underline}
|
||||
.pviimenudivstage a:link {color: #333333; font-size: 9px; display: block; margin-left: 2em; }
|
||||
.pviimenudivstage a:visited {color: #0066FF; font-size: 9px; display: block; margin-left: 2em; }
|
||||
.pviimenudivstage a:hover {color: red; font-size: 9px; display: block; margin-left: 2em; }
|
||||
.pviimenudivstage a:active {color: #0066FF; font-size: 9px; display: block; margin-left: 2em; }
|
305
webgoat-container/src/main/resources/static/css/webgoat.css
Normal file
305
webgoat-container/src/main/resources/static/css/webgoat.css
Normal file
@ -0,0 +1,305 @@
|
||||
/*
|
||||
body{
|
||||
min-width: 800px;
|
||||
font-family: Arial,sans-serif;
|
||||
color: #333333;
|
||||
line-height: 1.166;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
a:link, a:visited, a:hover {
|
||||
color: #666666;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
color: red;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family: Arial,sans-serif;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
h1{
|
||||
font-family: Verdana,Arial,sans-serif;
|
||||
font-size: 120%;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
h2{
|
||||
font-size: 114%;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
h3{
|
||||
font-size: 100%;
|
||||
color: #334d55;
|
||||
}
|
||||
|
||||
h4{
|
||||
font-size: 100%;
|
||||
font-weight: normal;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
h5{
|
||||
font-size: 100%;
|
||||
color: #334d55;
|
||||
}
|
||||
*/
|
||||
ul{
|
||||
list-style-type: square;
|
||||
}
|
||||
|
||||
ul ul{
|
||||
list-style-type: disc;
|
||||
}
|
||||
|
||||
ul ul ul{
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
#navBar{
|
||||
margin: 0 79% 0 0;
|
||||
padding: 0px;
|
||||
background-color: #999999;
|
||||
}
|
||||
|
||||
#twoCol{
|
||||
margin: 0;
|
||||
padding-left: 13px;
|
||||
}
|
||||
|
||||
#siteName{
|
||||
margin: 0px;
|
||||
padding: 0px 0px 10px 10px;
|
||||
}
|
||||
|
||||
#lessonName{
|
||||
padding: 5px 0px 10px 10px;
|
||||
}
|
||||
|
||||
#globalNav{
|
||||
color: #cccccc;
|
||||
padding: 0px 10px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
#globalNav img{
|
||||
display: block;
|
||||
}
|
||||
|
||||
#globalNav a {
|
||||
font-size: 10px;
|
||||
padding: 0px 4px 0px 0px;
|
||||
}
|
||||
|
||||
.lessonContent{
|
||||
padding: 10px 10px 10px 10px;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.lessonText h3{
|
||||
padding: 30px 0px 5px 0px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.lessonText img{
|
||||
float: left;
|
||||
padding: 0px 10px 0px 0px;
|
||||
margin: 0 5px 5px 0;
|
||||
}
|
||||
|
||||
#bottom{
|
||||
color: #999999;
|
||||
clear: both;
|
||||
font-size: 10px;
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
#navBar ul a:link, #navBar ul a:visited {}
|
||||
|
||||
#navBar ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* hack to fix IE/Win's broken rendering of block-level anchors in lists */
|
||||
#navBar li {}
|
||||
|
||||
/* fix for browsers that don't need the hack */
|
||||
html>body #navBar li {}
|
||||
|
||||
#top{
|
||||
height:136px;
|
||||
background-image: url(img/header/header.jpg);
|
||||
width: 800px;
|
||||
}
|
||||
|
||||
#top_challenge{
|
||||
height:136px;
|
||||
width: 800px;
|
||||
}
|
||||
|
||||
#topLinks{
|
||||
position: relative;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
#topLinks h3{
|
||||
padding: 10px 0px 2px 10px;
|
||||
}
|
||||
|
||||
#topLinks a:link{
|
||||
padding: 2px 0px 2px 10px;
|
||||
width: 100%;
|
||||
voice-family:inherit;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
#topLinks a:visited{
|
||||
border-top: 1px solid #cccccc;
|
||||
padding: 2px 0px 2px 10px;
|
||||
}
|
||||
|
||||
#topLinks a:hover{
|
||||
background-color: #FFFFFF;
|
||||
padding: 5px 2px 2px 10px;
|
||||
}
|
||||
|
||||
#menuSpacer {
|
||||
float: left;
|
||||
width: 225px;
|
||||
}
|
||||
|
||||
#lessonArea {
|
||||
float: right;
|
||||
width: 540px;
|
||||
height: 100%;
|
||||
padding: 10px;
|
||||
}
|
||||
#lessonAreaTop {
|
||||
float: right;
|
||||
width: 540px;
|
||||
height: 15px;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
#wrap {
|
||||
width: 800px;
|
||||
word-wrap:break-word; /* Fixes IE wrapping issue */
|
||||
}
|
||||
|
||||
#topRight {
|
||||
position:absolute;
|
||||
left:380px;
|
||||
top:0px;
|
||||
width:400px;
|
||||
height:23px;
|
||||
z-index:3;
|
||||
float: right;
|
||||
}
|
||||
|
||||
#topLeft {
|
||||
position:absolute;
|
||||
left:100px;
|
||||
top:0px;
|
||||
width:400px;
|
||||
height:23px;
|
||||
z-index:3;
|
||||
float: right;
|
||||
}
|
||||
#topRightInner {
|
||||
position:absolute;
|
||||
left:450px;
|
||||
top:10px;
|
||||
width:300px;
|
||||
height:23px;
|
||||
z-index:4;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.info {
|
||||
color: red;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#reset {
|
||||
text-align: right;
|
||||
font-weight: bold;
|
||||
float: right;
|
||||
display: inline;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#training {
|
||||
text-align: left;
|
||||
font-weight: bold;
|
||||
display: inline;
|
||||
float: left;
|
||||
margin-bottom: 10px;
|
||||
|
||||
}
|
||||
|
||||
#training_wrap {
|
||||
width: 540px;
|
||||
}
|
||||
|
||||
#hint{}
|
||||
#parameter{}
|
||||
#cookie{}
|
||||
#message{
|
||||
margin-bottom: 20px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#lessonPlans {
|
||||
border: 1px solid #000000;
|
||||
background-color: #FFFFFF;
|
||||
margin: 15px;
|
||||
padding: 25px;
|
||||
padding-bottom: 75px;
|
||||
}
|
||||
|
||||
#credits {
|
||||
float: right;
|
||||
}
|
||||
|
||||
#start {
|
||||
height: 370px;
|
||||
width: 700px;
|
||||
padding: 10px 50px 10px 50px;
|
||||
font-size: 15px;
|
||||
}
|
||||
#warning {
|
||||
border: 1px solid #666666;
|
||||
padding: 10px;
|
||||
font-size: 10px;
|
||||
color: #FF3300;
|
||||
width: 600px;
|
||||
margin-left: 100px;
|
||||
margin-right: 100px;
|
||||
}
|
||||
#team {
|
||||
width: 580px;
|
||||
margin-right: 50px;
|
||||
margin-left: 50px;
|
||||
padding-top: 5px;
|
||||
padding-right: 10px;
|
||||
padding-bottom: 5px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
.style1 {
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.style2 {
|
||||
font-size: 10px;
|
||||
}
|
Reference in New Issue
Block a user