From cd2b8c32e45ca00323a1386be5c0fd651ddbcdb1 Mon Sep 17 00:00:00 2001 From: Charles Gould Date: Fri, 6 Jan 2017 17:28:06 -0500 Subject: [PATCH] Rename CSS files --- server/src/main/resources/static/client.css | 137 ------------------- server/src/main/resources/static/client.html | 4 +- server/src/main/resources/static/layout.css | 80 +++++++++++ server/src/main/resources/static/panes.css | 28 ---- server/src/main/resources/static/style.css | 85 ++++++++++++ 5 files changed, 167 insertions(+), 167 deletions(-) delete mode 100644 server/src/main/resources/static/client.css create mode 100644 server/src/main/resources/static/layout.css delete mode 100644 server/src/main/resources/static/panes.css create mode 100644 server/src/main/resources/static/style.css diff --git a/server/src/main/resources/static/client.css b/server/src/main/resources/static/client.css deleted file mode 100644 index 9303cb4..0000000 --- a/server/src/main/resources/static/client.css +++ /dev/null @@ -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; -} diff --git a/server/src/main/resources/static/client.html b/server/src/main/resources/static/client.html index 17da2e6..7a71afc 100644 --- a/server/src/main/resources/static/client.html +++ b/server/src/main/resources/static/client.html @@ -3,9 +3,9 @@ Lingo - - + +
diff --git a/server/src/main/resources/static/layout.css b/server/src/main/resources/static/layout.css new file mode 100644 index 0000000..71ea130 --- /dev/null +++ b/server/src/main/resources/static/layout.css @@ -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; +} diff --git a/server/src/main/resources/static/panes.css b/server/src/main/resources/static/panes.css deleted file mode 100644 index 4cd6429..0000000 --- a/server/src/main/resources/static/panes.css +++ /dev/null @@ -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; -} diff --git a/server/src/main/resources/static/style.css b/server/src/main/resources/static/style.css new file mode 100644 index 0000000..530608a --- /dev/null +++ b/server/src/main/resources/static/style.css @@ -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 +}