hledger/hledger-web/static/hledger.css

215 lines
3.8 KiB
CSS
Raw Normal View History

/* hledger web ui styles */
2009-11-19 23:54:05 +03:00
/*------------------------------------------------------------------------------------------*/
/* 1. colours */
/* green */
::-moz-placeholder {
font-style:italic;
}
:-moz-placeholder {
font-style:italic;
}
::-webkit-input-placeholder {
font-style:italic;
}
:-ms-input-placeholder {
font-style:italic;
}
2020-01-05 12:03:42 +03:00
/*------------------------------------------------------------------------------------------*/
/* 2. fonts */
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
/*------------------------------------------------------------------------------------------*/
/* 4. typeahead styles */
.tt-hint {
color: #bbb;
}
.tt-dropdown-menu {
padding: 8px 0;
background-color: #fff;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.2);
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
-webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
-moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
box-shadow: 0 5px 10px rgba(0,0,0,.2);
overflow:auto;
max-height:300px;
}
.tt-suggestion {
padding: 3px 20px;
font-size: 18px;
line-height: 24px;
}
.tt-suggestion.tt-cursor {
color: #fff;
background-color: #0097cf;
}
.tt-suggestion p {
margin: 0;
}
.twitter-typeahead {
width:100%;
}
code {
font-weight: bold;
color: black;
}
2016-10-14 21:27:03 +03:00
ul {
list-style-type: none;
2018-06-17 15:31:10 +03:00
padding: 0;
2016-10-14 21:27:03 +03:00
}
#main-content {
padding-left: 30px;
}
#sidebar-menu {
overflow:hidden;
border-right: 1px solid #ebebeb;
}
#sidebar-menu .main-menu {
table-layout: fixed;
word-wrap: break-word;
}
#sidebar-menu .main-menu td {
padding: 1px !important;
2016-10-14 21:27:03 +03:00
border-top: 1px solid #ebebeb;
overflow: hidden;
white-space:nowrap;
text-overflow:ellipsis;
font-size: 16px;
}
2016-10-25 00:16:33 +03:00
#sidebar-menu .main-menu .ff-wrapper { /* This wrapper is needed because firefox won't apply overflow to a td-tag */
overflow:hidden;
text-overflow:ellipsis;
2016-10-14 21:27:03 +03:00
}
2016-10-14 21:27:03 +03:00
#sidebar-menu .main-menu .top {
border: none !important;
}
#sidebar-menu .main-menu a {
display: inline;
2018-06-17 18:42:41 +03:00
font-size: 16px;
font-weight: 500;
color: #2F2F2F;
padding: 4px 20px;
2016-10-14 21:27:03 +03:00
}
#sidebar-menu .main-menu a:hover {
2018-06-17 18:42:41 +03:00
color: #11427D;
text-decoration: none;
background-color: transparent;
2016-10-14 21:27:03 +03:00
}
2018-06-17 18:42:41 +03:00
#sidebar-menu .main-menu .only {
2016-10-14 21:27:03 +03:00
visibility: hidden;
padding: 1px;
2016-10-14 21:27:03 +03:00
}
2018-06-17 18:42:41 +03:00
#sidebar-menu .main-menu tr:hover .only {
2016-10-14 21:27:03 +03:00
visibility: visible;
}
2018-06-17 18:42:41 +03:00
#sidebar-menu .main-menu .inacct, #sidebar-menu .main-menu .inacct .acct-name {
font-weight: bold;
2018-06-17 18:42:41 +03:00
color: #11427D;
2016-10-25 16:52:16 +03:00
background-color: #f9f9f9;
}
2016-10-24 16:34:33 +03:00
#sidebar-menu .main-menu .amount {
float: right;
overflow-x:auto;
2018-06-17 18:42:41 +03:00
font-weight: 500 !important;
2016-10-24 16:34:33 +03:00
}
2016-10-25 00:16:33 +03:00
#sidebar-menu .main-menu .acct {
width:60%;
2016-10-25 00:16:33 +03:00
vertical-align:bottom;
}
2018-06-17 18:42:41 +03:00
.transactionsreport .posting td {
2016-10-14 21:27:03 +03:00
border: none !important;
}
.negative {
color: #a94442;
}
2016-10-18 20:03:10 +03:00
2016-10-25 23:30:37 +03:00
.date {
whitespace: nowrap;
}
2016-10-18 20:03:10 +03:00
.col-any-0 {
width:0 !important;
height:0 !important;
2016-10-18 20:03:10 +03:00
float: left;
2016-10-24 16:43:43 +03:00
opacity:0;
2016-10-18 20:03:10 +03:00
}
2016-10-21 10:00:42 +03:00
2016-10-21 20:03:30 +03:00
.tgl-icon {
font-size:large;
}
2016-10-21 19:04:28 +03:00
@media screen and (max-width: 768px) {
2016-10-21 10:00:42 +03:00
.row-offcanvas {
position: relative;
-webkit-transition: all .25s ease-out;
-o-transition: all .25s ease-out;
transition: all .25s ease-out;
}
.row-offcanvas-right {
right: 0;
}
.row-offcanvas-left {
left: 0;
}
.row-offcanvas-right
.sidebar-offcanvas {
2016-10-21 19:04:28 +03:00
right: -90%;
2016-10-21 10:00:42 +03:00
}
.row-offcanvas-left
.sidebar-offcanvas {
2016-10-21 19:04:28 +03:00
left: -90%;
2016-10-21 10:00:42 +03:00
}
.row-offcanvas-right.active {
2016-10-21 19:04:28 +03:00
right: 90%;
2016-10-21 10:00:42 +03:00
}
.row-offcanvas-left.active {
2016-10-21 19:04:28 +03:00
left: 90%;
2016-10-21 10:00:42 +03:00
}
.sidebar-offcanvas {
position: absolute;
top: 0;
2016-10-21 19:04:28 +03:00
width: 90%;
2016-10-21 10:00:42 +03:00
}
#sidebar-menu .main-menu td {
max-width: 200px;
}
2016-10-21 10:00:42 +03:00
}