From 054f027786299bda5bbf7cecdb8790409fe9ec03 Mon Sep 17 00:00:00 2001 From: lilia Date: Fri, 7 Nov 2014 00:34:02 -0800 Subject: [PATCH] Remove unused stylesheets Move the remaining to /stylesheets --- css/buttons.css | 42 ------- css/forms.css | 29 ----- css/popup.css | 183 ------------------------------- {css => stylesheets}/options.css | 0 4 files changed, 254 deletions(-) delete mode 100644 css/buttons.css delete mode 100644 css/forms.css delete mode 100644 css/popup.css rename {css => stylesheets}/options.css (100%) diff --git a/css/buttons.css b/css/buttons.css deleted file mode 100644 index d5853bb03..000000000 --- a/css/buttons.css +++ /dev/null @@ -1,42 +0,0 @@ -.btn { - display: inline-block; - padding: 0.5em; - border: 2px solid #acdbf5; - border-radius: 4px; - background-color: #fff; - color: #7fd0ed; - font-weight: bold; -} -.btn:hover { - cursor: pointer; - outline: none; - background-color: #7fd0ed; - border-color: #acdbf5; - color: #fff; -} -.btn:active, .btn:focus { - outline: 2px dashed #acdbf5; - outline-offset: 2px; -} -.btn.selected , -.btn:active { - background-color: #7fd0ed; - border: 2px solid #acdbf5; - color: #fff; -} -.btn:active { - background-color: #f1fafd; - color: #7fd0ed; -} - -.btn-square { - display: inline-block; - width: 32px; - line-height: 15px; -} - -.btn-sm.btn-square { - padding: 0; - width: 25px; - height: 25px; -} diff --git a/css/forms.css b/css/forms.css deleted file mode 100644 index 754121954..000000000 --- a/css/forms.css +++ /dev/null @@ -1,29 +0,0 @@ -input[type=text], textarea { - position: relative; - display: inline-block; - padding: 0.5em; - border: 2px solid #7fd0ed; - border-radius: 4px; - background-color: #fafafa; - color: #333333; -} - -input.invalid { - border-color: #ff3333; -} - -input[type=submit]:focus, -input[type=text]:focus { - outline: 2px dashed #acdbf5; - outline-offset: 2px; -} - -textarea { - resize: vertical; - width: 100%; - min-height: 100px; - box-sizing: border-box; - font-family: Helvetica, Arial, sans-serif; - font-size: 14px; - line-height: 18px; -} diff --git a/css/popup.css b/css/popup.css deleted file mode 100644 index 1ba10c3ba..000000000 --- a/css/popup.css +++ /dev/null @@ -1,183 +0,0 @@ -/* - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . - */ - -.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; } -.clearfix:after { clear: both; } -.clearfix { zoom: 1; } - -body { - margin: 0; - min-height: 500px; - font-family: sans-serif; - color: #333; -} -/* layout 2 col full height */ -html { - overflow: auto; - height: 100%; -} -body { - margin:0; - padding:0; - border:0; - width:100%; - height: 100%; - min-width:400px; /* Minimum width of layout - remove line if not required */ -} -/* column container */ -.colmask { - position:relative; - clear:both; - float:left; - width:100%; /* width of whole page */ - height: 100%; - overflow:hidden; /* This chops off any overhanging divs */ - padding-top: 50px; - box-sizing: border-box; -} -/* common column settings */ -.colleft { - float:left; - width:100%; - height: 100%; - position:relative; -} -.col1, -.col2 { - float:left; - position:relative; - padding:0 0 1em 0; - overflow:hidden; -} -/* 2 Column (left menu) settings */ -.leftmenu .colleft { - right:72%; /* right column width */ - background:#f4f4f4; /* left column background colour */ -} -.leftmenu .col1 { - width:72%; /* right column content width */ - left:100%; /* 100% plus left column left padding */ -} -.leftmenu .col2 { - width:28%; /* left column content width (column width minus left and right padding) */ -} - -header { - position: fixed; - width: 100%; - box-sizing: border-box; - padding: 5px 0; - height: 50px; - background-color: #7fd0ed; -} -/* end layout */ - -#main { - box-sizing: border-box; - padding-bottom: 100px; - height: 100%; - border-left: 2px solid #acdbf5; -} -#main form { - position: absolute; - width: 100%; - padding: 1em; - bottom: 0; - right: 0; - box-sizing: border-box; - height: 100px; - background-color: #ddd; -} -.container { - margin: auto; - padding: 0 1em; -} - - -label { - float: left; - margin-right: 1em; -} - -#compose-create, -#compose-cancel { - float: right; -} - -#send .conversation { - padding: 0.3em 1em; -} - -#send_numbers { - max-width: 70%; - margin-bottom: 1em; -} - -#send_numbers:focus + .contacts, -.contacts:hover { - display: block; - z-index: 10; -} - -.contacts { - display: none; - position: absolute; - left: 10px; -} - -.contact { - border: solid 1px #ccc; - background: #fff; - font-size: 88%; - padding-right: 5px; - cursor: pointer; -} - -.contact .pic { - display: block; - float: left; - width: 30px; - height: 30px; - background: #ddd; -} - -.contact .name, .contact .number { - line-height: 30px; - margin-left: 5px; -} - -ul { - margin: 0; - padding: 0; -} -li { - list-style: none; -} -#send_link ~ #new-chat-help, -#new-group ~ #new-group-help { - display: none; -} -#send_link:hover ~ #new-chat-help, -#new-group:hover ~ #new-group-help { - display: block; -} -.help { - display: inline-block; - position: fixed; - top: 10; - right: 10; - font-size: 0.8em; - color: #7fd0ed; -} diff --git a/css/options.css b/stylesheets/options.css similarity index 100% rename from css/options.css rename to stylesheets/options.css