wide/static/css/base.css

336 lines
5.0 KiB
CSS
Raw Normal View History

2015-01-01 05:06:33 +03:00
/*
2018-01-01 07:35:13 +03:00
* Copyright (c) 2014-2018, b3log.org & hacpai.com
2015-01-01 05:06:33 +03:00
*
2014-11-12 18:13:14 +03:00
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
2015-01-01 05:06:33 +03:00
*
2018-03-12 07:28:33 +03:00
* https://www.apache.org/licenses/LICENSE-2.0
2015-01-01 05:06:33 +03:00
*
2014-11-12 18:13:14 +03:00
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
2015-01-01 05:06:33 +03:00
*/
2014-11-12 18:13:14 +03:00
/*
* themes for base.
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 0.1.0.0, Dec 6, 2015
*/
2014-09-02 14:09:01 +04:00
/* start reset & function */
2014-11-29 16:49:57 +03:00
::-webkit-scrollbar {
background: none;
width: 16px;
height: 16px;
}
2014-12-03 09:37:59 +03:00
::-webkit-scrollbar-corner {
display: none;
background-color: transparent;
}
2014-11-29 16:49:57 +03:00
::-webkit-scrollbar-thumb {
border: solid 0 rgba(0, 0, 0, 0);
border-right-width: 4px;
border-left-width: 4px;
2014-12-03 09:37:59 +03:00
border-radius: 9px;
box-shadow: inset 0 0 0 1px rgba(128, 128, 128, 0.2), inset 0 0 0 4px rgba(128, 128, 128, 0.2);
}
::-webkit-scrollbar-thumb:horizontal {
border-bottom-width: 4px;
border-top-width: 4px;
2014-11-29 16:49:57 +03:00
}
2014-08-29 13:24:08 +04:00
body {
font-size: 13px;
margin: 0;
2014-09-03 13:23:42 +04:00
color: #000;
2014-09-26 11:39:13 +04:00
overflow: hidden;
2014-10-28 03:48:11 +03:00
font-family: Helvetica;
2014-08-29 13:24:08 +04:00
}
2014-08-18 17:45:43 +04:00
ul {
2014-08-19 13:07:35 +04:00
padding: 0;
margin: 0;
2014-09-03 13:23:42 +04:00
list-style: none;
2014-08-18 17:45:43 +04:00
}
2014-08-29 13:24:08 +04:00
* {
box-sizing: border-box;
}
2014-12-14 07:20:39 +03:00
a {
color: #4183c4;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
img {
vertical-align: middle;
}
2014-10-10 12:04:59 +04:00
input,
button {
font-family: Helvetica;
2014-10-10 12:04:59 +04:00
}
2014-08-29 13:24:08 +04:00
.fn-left {
float: left;
}
.fn-right {
float: right;
}
2014-08-18 17:45:43 +04:00
.fn-clear:before,
.fn-clear:after {
display: table;
content: "";
}
.fn-clear:after {
clear: both;
}
.fn-none {
2014-08-19 13:07:35 +04:00
display: none;
2014-08-18 17:45:43 +04:00
}
2014-10-12 18:58:08 +04:00
/* end reset & function */
2014-11-14 12:06:13 +03:00
/* start common */
2014-11-17 12:35:35 +03:00
.ft-small {
color: #999;
font-size: 12px;
}
2014-12-08 10:18:28 +03:00
.ft-red {
color: #9d0000;
}
2014-11-14 12:06:13 +03:00
.list li {
cursor: pointer;
line-height: 20px;
padding: 0 3px;
word-wrap: normal;
word-break: normal;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.list li.selected,
2014-12-01 11:54:22 +03:00
.list li:hover {
2014-11-14 12:06:13 +03:00
background-color: #3875d7;
color: #FFF;
}
2014-11-17 12:35:35 +03:00
.list li.selected .ft-small,
.list li:hover .ft-small {
color: #FFF;
}
2015-02-13 19:00:38 +03:00
/* end common */
/* start icon */
@font-face {
font-family: 'icomoon';
src:url('fonts/icomoon.eot?35cb2z');
src:url('fonts/icomoon.eot?#iefix35cb2z') format('embedded-opentype'),
url('fonts/icomoon.woff?35cb2z') format('woff'),
url('fonts/icomoon.ttf?35cb2z') format('truetype'),
url('fonts/icomoon.svg?35cb2z#icomoon') format('svg');
font-weight: normal;
font-style: normal;
}
.font-ico,
[class^="ico-"] {
2015-02-13 19:00:38 +03:00
font-family: 'icomoon';
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
cursor: pointer;
2015-12-06 06:46:39 +03:00
font-size: 13px;
2015-02-13 19:00:38 +03:00
line-height: 20px;
}
.ico-book:before {
content: "\e623";
}
.ico-price:before {
content: "\e616";
}
.ico-start:before {
content: "\e9d7";
}
.ico-share:before {
content: "\e61f";
}
.ico-github:before {
content: "\f00a";
}
2015-03-07 19:01:06 +03:00
.ico-git:before {
content: "\e624";
}
2015-02-13 19:00:38 +03:00
.ico-tencent:before {
content: "\e622";
}
.ico-weibo:before {
content: "\e621";
}
.ico-googleplus:before {
content: "\e61a";
}
.ico-twitter:before {
content: "\e61c";
}
.ico-email:before {
content: "\e619";
}
.ico-facebook:before {
content: "\e61b";
}
.ico-moveup:before {
content: "\f148";
}
.ico-movedown:before {
content: "\f149";
}
.ico-keyboard:before {
content: "\f11c";
}
.ico-findfiles:before {
content: "\e603";
}
.ico-find:before {
content: "\e602";
}
.ico-editor:before {
content: "\e604";
}
.ico-tree:before {
content: "\e600";
}
.ico-build:before {
content: "\e601";
}
.ico-notification:before {
content: "\e607";
}
.ico-report:before {
content: "\e605";
}
.ico-comment:before {
content: "\e620";
}
.ico-goline:before {
content: "\e61e";
}
.ico-info:before {
content: "\e61d";
}
.ico-signup:before {
content: "\e606";
}
.ico-signout:before {
content: "\e618";
}
.ico-redo:before {
content: "\e615";
}
.ico-undo:before {
content: "\e60e";
}
.ico-about:before {
content: "\e60d";
}
.ico-import:before {
content: "\f0ee";
}
.ico-export:before {
content: "\f0ed";
}
.ico-refresh:before {
content: "\f021";
}
.ico-remove:before {
content: "\e60b";
}
.ico-save:before {
content: "\f0c7";
}
.ico-max:before {
content: "\e609";
}
.ico-format:before {
content: "\e612";
}
.ico-buildrun:before {
content: "\e60c";
}
.ico-stop:before {
content: "\e60f";
}
.ico-restore:before {
content: "\e613";
}
.toolbars .ico-restore:before {
content: "\e60a";
}
.ico-min:before {
content: "\e614";
position: absolute;
right: 5px;
}
.ico-close:before {
content: "\e611";
}
/* end ico */