Rename CSS files
This commit is contained in:
parent
aeda6be407
commit
cd2b8c32e4
@ -1,137 +0,0 @@
|
||||
/* Layout rules (specific) */
|
||||
|
||||
.left.col {
|
||||
left: 0;
|
||||
right: 300px;
|
||||
}
|
||||
|
||||
.right.col {
|
||||
width: 300px;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.header.row {
|
||||
height: 75px;
|
||||
line-height: 75px;
|
||||
}
|
||||
|
||||
.body.row {
|
||||
top: 75px;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.footer.row {
|
||||
height: 50px;
|
||||
bottom: 0;
|
||||
line-height: 50px;
|
||||
}
|
||||
|
||||
.header {
|
||||
font-size: 1.4em;
|
||||
color: #eee;
|
||||
background: #696f77;
|
||||
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
|
||||
padding: 0 0.5em;
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #696f77),
|
||||
color-stop(100%, #28343b));
|
||||
background: -webkit-linear-gradient(top, #696f77 0%, #28343b 100%);
|
||||
background: -ms-linear-gradient(top, #696f77 0%, #28343b 100%);
|
||||
}
|
||||
|
||||
.body {
|
||||
background: #ddd
|
||||
}
|
||||
|
||||
.right.col {
|
||||
border-left: 1px solid black;
|
||||
}
|
||||
|
||||
.right.col .body {
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
/* Common rules */
|
||||
|
||||
.centered {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: "Lucida Sans Unicode", sans-serif;
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 6px 12px;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Waiting pane rules */
|
||||
|
||||
#waitingDiv h1 {
|
||||
font-size: 28px;
|
||||
text-align: center
|
||||
}
|
||||
|
||||
/* Chat rules */
|
||||
|
||||
.message-item {
|
||||
border-top: 1px solid black;
|
||||
padding: 10px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.message-item.first {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.log {
|
||||
color: green;
|
||||
}
|
||||
|
||||
#messageList {
|
||||
bottom: 50px;
|
||||
}
|
||||
|
||||
#messageInput {
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
/* Username page */
|
||||
|
||||
.jumbotron {
|
||||
margin: 48px auto;
|
||||
padding: 48px 60px;
|
||||
width: 80%;
|
||||
background-color: #eee;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.jumbotron p {
|
||||
margin-bottom: 15px;
|
||||
font-size: 21px;
|
||||
font-weight: 200;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.form-control {
|
||||
width: 100%;
|
||||
height: 24px;
|
||||
padding: 6px 12px;
|
||||
font-size: 14px;
|
||||
color: #555;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
}
|
@ -3,9 +3,9 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Lingo</title>
|
||||
<link rel="stylesheet" href="panes.css">
|
||||
<link rel="stylesheet" href="cube-grid.css">
|
||||
<link rel="stylesheet" href="client.css">
|
||||
<link rel="stylesheet" href="layout.css">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="usernameDiv" class="jumbotron">
|
||||
|
80
server/src/main/resources/static/layout.css
Normal file
80
server/src/main/resources/static/layout.css
Normal file
@ -0,0 +1,80 @@
|
||||
/* Generic layout rules */
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.row, .col {
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.row {
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.col {
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.scroll-x {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.scroll-y {
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
/* Specific layout rules */
|
||||
|
||||
.left.col {
|
||||
left: 0;
|
||||
right: 300px;
|
||||
}
|
||||
|
||||
.right.col {
|
||||
width: 300px;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.header.row {
|
||||
height: 75px;
|
||||
line-height: 75px;
|
||||
}
|
||||
|
||||
.body.row {
|
||||
top: 75px;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.footer.row {
|
||||
height: 50px;
|
||||
bottom: 0;
|
||||
line-height: 50px;
|
||||
}
|
||||
|
||||
.header {
|
||||
font-size: 1.4em;
|
||||
color: #eee;
|
||||
background: #696f77;
|
||||
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
|
||||
padding: 0 0.5em;
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #696f77),
|
||||
color-stop(100%, #28343b));
|
||||
background: -webkit-linear-gradient(top, #696f77 0%, #28343b 100%);
|
||||
background: -ms-linear-gradient(top, #696f77 0%, #28343b 100%);
|
||||
}
|
||||
|
||||
.body {
|
||||
background: #ddd
|
||||
}
|
||||
|
||||
.right.col {
|
||||
border-left: 1px solid black;
|
||||
}
|
||||
|
||||
.right.col .body {
|
||||
padding: 0 10px;
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
/* Layout rules (generic) */
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.row, .col {
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.row {
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.col {
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.scroll-x {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.scroll-y {
|
||||
overflow-y: auto;
|
||||
}
|
85
server/src/main/resources/static/style.css
Normal file
85
server/src/main/resources/static/style.css
Normal file
@ -0,0 +1,85 @@
|
||||
/* Common rules */
|
||||
|
||||
.centered {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: "Lucida Sans Unicode", sans-serif;
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 6px 12px;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Chat pane */
|
||||
|
||||
.message-item {
|
||||
border-top: 1px solid black;
|
||||
padding: 10px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.message-item.first {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.log {
|
||||
color: green;
|
||||
}
|
||||
|
||||
#messageList {
|
||||
bottom: 50px;
|
||||
}
|
||||
|
||||
#messageInput {
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
/* Username page */
|
||||
|
||||
.jumbotron {
|
||||
margin: 48px auto;
|
||||
padding: 48px 60px;
|
||||
width: 80%;
|
||||
background-color: #eee;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.jumbotron p {
|
||||
margin-bottom: 15px;
|
||||
font-size: 21px;
|
||||
font-weight: 200;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.form-control {
|
||||
width: 100%;
|
||||
height: 24px;
|
||||
padding: 6px 12px;
|
||||
font-size: 14px;
|
||||
color: #555;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
/* Waiting pane */
|
||||
|
||||
#waitingDiv h1 {
|
||||
font-size: 28px;
|
||||
text-align: center
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user