Skip to content

Commit f2bec72

Browse files
committed
init dark mode
1 parent 8100492 commit f2bec72

File tree

22 files changed

+188
-1242
lines changed

22 files changed

+188
-1242
lines changed

source/src/main/webapp/ErrorPages/Error.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<html>
5151
<head>
5252
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
53-
<link rel="stylesheet" type="text/css" href="css/global/crb_style.css">
53+
<link rel="stylesheet" type="text/css" href="css/global/crb_style2.css">
5454

5555
<link rel="icon" type="image/png" href="images/favicon.ico.png"><!-- Major Browsers -->
5656
<!--[if IE]><link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico"/><![endif]--><!-- Internet Explorer-->

source/src/main/webapp/ErrorPages/Error403.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<html>
5151
<head>
5252
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
53-
<link rel="stylesheet" type="text/css" href="css/global/crb_style.css">
53+
<link rel="stylesheet" type="text/css" href="css/global/crb_style2.css">
5454

5555
<link rel="icon" type="image/png" href="images/favicon.ico.png"><!-- Major Browsers -->
5656
<!--[if IE]><link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico"/><![endif]--><!-- Internet Explorer-->

source/src/main/webapp/ErrorPages/Error404.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<html>
5151
<head>
5252
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
53-
<link rel="stylesheet" type="text/css" href="css/global/crb_style.css">
53+
<link rel="stylesheet" type="text/css" href="css/global/crb_style2.css">
5454

5555
<link rel="icon" type="image/png" href="images/favicon.ico.png"><!-- Major Browsers -->
5656
<!--[if IE]><link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico"/><![endif]--><!-- Internet Explorer-->

source/src/main/webapp/Homepage.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
<a href="./RunTests.jsp" class="marginLeft15">Launch Test Case</a>
116116
</div>
117117
<div class="col-sm-5 col-xs-5 panel panelPE" id="exeRunningPanel"
118-
style="margin-top: 5px; padding-top: 10px; background-color: lightgray; color: black; display: none">
118+
style="margin-top: 5px; padding-top: 10px; background-color: var(--crb-grey-color); color: black; display: none">
119119
<div class="row " style="height: 30px;">
120120
<div class="col-xs-3 status marginBottom10" style="">
121121
<span class="glyphicon pull-left glyphicon-refresh spin" onclick="loadExeRunning();" title="click to refresh" style="margin-right: 5px;"></span>

source/src/main/webapp/Login.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<script type='text/javascript' src='js/global/global.js'></script>
4141
<title>Login</title>
4242
</head>
43-
<body style="background-color: #fff">
43+
<body style="background-color: var(--crb-bg)">
4444
<%@ include file="include/utils/modal-confirmation.html"%>
4545

4646
<script type="text/javascript">

source/src/main/webapp/Logout.jsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<head>
2929
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
3030
<%@ include file="include/global/dependenciesInclusions.html" %>
31-
<link rel="stylesheet" type="text/css" href="css/global/crb_style.css">
31+
<link rel="stylesheet" type="text/css" href="css/global/crb_style2.css">
3232

3333
<link rel="icon" type="image/png" href="images/favicon.ico.png"><!-- Major Browsers -->
3434
<!--[if IE]><link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico"/><![endif]--><!-- Internet Explorer-->
@@ -38,7 +38,7 @@
3838
<META HTTP-EQUIV="refresh" CONTENT="1;URL=./">
3939
<title>Logout</title>
4040
</head>
41-
<body style="background-color: #fff">
41+
<body style="background-color: var(--crb-blue-light-color)">
4242
<script type="text/javascript">
4343
envTuning("<%=System.getProperty("org.cerberus.environment")%>");
4444
sessionStorage.clear();

source/src/main/webapp/Prompt.jsp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
margin: 0;
3636
padding: 0;
3737
font-family: Arial, sans-serif;
38-
background-color: #f9f9f9;
38+
background-color: var(--crb-bg);
3939
}
4040
4141
#historySidebar {
@@ -44,7 +44,7 @@
4444
left: -400px;
4545
width: 280px;
4646
height: 100%;
47-
background-color: #fff;
47+
background-color: var(--crb-bg);
4848
border-right: 1px solid #ccc;
4949
padding: 1rem;
5050
overflow-y: auto;
@@ -124,7 +124,7 @@
124124
125125
.input-bar {
126126
padding: 1rem;
127-
background-color: white;
127+
background-color: var(--crb-bg);
128128
display: flex;
129129
border-top: 1px solid #ccc;
130130
}

source/src/main/webapp/TestCaseScript.jsp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@
6161

6262
<h1 class="page-title-line">Test Case Script</h1>
6363
<div class="panel no-border" style="margin-top: 10px;">
64-
<div style="min-height:150px;background-color:#f5f6fa">
65-
<div id="divPanelDefault" class="panel-default" style="z-index:100; top: 0;height:150px;background-color:#f5f6fa">
66-
<div class="panel-heading" style="border-radius: 10px;margin-bottom: 0px;background-color: white;border: 1px solid #eee;" id="testCaseTitle">
64+
<div style="min-height:150px;background-color:var(--crb-grey-light-color)">
65+
<div id="divPanelDefault" class="panel-default" style="z-index:100; top: 0;height:150px;background-color:var(--crb-grey-light-color)">
66+
<div class="panel-heading" style="border-radius: 10px;margin-bottom: 0px;background-color: var(--crb-white-color);border: 1px solid var(--crb-grey-light-color);" id="testCaseTitle">
6767
<div class="" style="width:100%">
6868
<div class="col-lg-5" style="padding: 0px;">
6969
<div class="row">
@@ -127,7 +127,7 @@
127127
</div>
128128
</div>
129129
</div>
130-
<div class="panel-body" id="tcBody" style="display:none;background-color:white">
130+
<div class="panel-body" id="tcBody" style="display:none;background-color:var(--crb-white-color)">
131131
<div class="tab-content">
132132
<div class="center tab-pane fade in active" id="tabSteps">
133133
<nav class="col-lg-4 col-md-12" id="nav-execution" style="z-index:1;padding-left: 0px;">
@@ -138,7 +138,7 @@
138138
</div>
139139
<div id="tcButton">
140140
<!--<h4>Actions</h4>-->
141-
<button class="btn btn-block addStep-btn marginTop25" id="addStep" disabled>Add Step</button>
141+
<button class="btn btn-block btnLightTurquoise marginTop25" id="addStep" disabled>Add Step</button>
142142
<!-- <button class="btn btn-info btn-block marginTop25" id="duplicateStep" disabled>Duplicate Step</button>-->
143143
</div>
144144
</div>
@@ -165,10 +165,10 @@
165165
<button class="btn btn-default" title="Is Library" data-toggle="tooltip" id="isLib">
166166
<span class="glyphicon glyphicon-book"></span>
167167
</button>
168-
<button class="btn add-btn config-btn" id="stepPlus">
168+
<button class="btn add-btn btnLightOrange" id="stepPlus">
169169
<span class="glyphicon glyphicon-cog"></span>
170170
</button>
171-
<button class="btn add-btn deleteItem-btn" id="deleteStep" disabled>
171+
<button class="btn add-btn btnLightRed" id="deleteStep" disabled>
172172
<span class="glyphicon glyphicon-trash"></span>
173173
</button>
174174
</div>

0 commit comments

Comments
 (0)