solar / FTV / assets / style / main.css
main.css
Raw
html, body {
	font-family: Segoe UI, sans-serif;
	color: #e0e0e0;
	background: #292929;
	margin: 0;
	padding: 0;
}
main {
    display: flex;
	margin: 12px;
    padding-top: 46px;
    /*padding-left: 250px;*/
    flex-direction: row;
	flex-grow: 1;
}
.m--container {
	position: relative;
    display: flex;
    flex-direction: row;
}
.m--sidebar {
	display: none;
	position: fixed;
	height: calc(100% - 46px);
	width: 250px;
    padding-top: 46px;
	background: #2f2f2f;
	box-shadow: 0 0 8px 1px rgba(0,0,0,0.6);
}
.ms--block {
	display: flex;
	width: 100%;
	height: 100%;
}
.msb--content {
	position: relative;
	/*background: rgba(255, 255, 255, 0.1);*/
	flex-grow: 1;
}
.msb--content .s--item {
	padding: 20px 16px;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}
.msb--content .s--item a {
	display: flex;
	flex-direction: row;
}
.msb--content .s--item .sprite {
	margin-right: 12px;
	width: 24px;
	height: 24px;
}
.msb--content .s--item:hover {
	background: rgba(255,255,255,0.1);;
}
.m--content {
	flex-grow: 1;
}
.m--results-sidebar {
	flex-grow: 0;
	margin: 6px;
}
input {
	/*border: 1px solid #eaeaea;*/
	border: none;
	border-radius: 2px;
	padding: 6px 6px;
	line-height: 18px;
    background: #676767;
    color: #e0e0e0;
}
select {
	/*border: 1px solid #eaeaea;*/
	border: none;
	border-radius: 2px;
	padding: 6.5px 4px;
	line-height: 18px;
    background: #676767;
    color: #e0e0e0;
}
sub, sup {
	font-size: 10px;
	letter-spacing: -1px;
}
h2, h3 {
	margin-bottom: 6px;
}
input[readonly="readonly"] {
	background: rgba(255,255,255,0.03);
    color: inherit;
}
.results-table-monthly td, .input-table-monthly td {
	text-align: center;
}
.results-table-monthly td input, .input-table-monthly td input {
	width: 76px
}
.results-table-monthly th, .input-table-monthly th {
	font-weight: normal;
}
.rtm--item {
	text-align: center;
	width: 72px;
}
.rtmi--label {
	/*font-family: times;*/
}
.rtmi--unit {
	color: #eaeaea;
	font-size: 12px;
}
.rtmh--month-number {
	font-size: 20px;
}
.rtmh--month-number::after {
	content: ".";
	display: inline-block;
}
.rtmh--month-name {
	font-size: 14px;
	opacity: 0.8;
}

.i--row::after {
	content: '';
	display: block;
	clear: left;
}
.i--row .i--item {
	float: left;
    width: 350px;
}
.i--row .i--item.full {
}
.i--row .i--item.full input {
}
.i--item {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin: 6px 0;
}
.i--item.result {
	border-left: 4px solid #fae39e;
    background: #fae39e1c;
    border-radius: 2px;
    padding: 6px 0;
}
.ii--label {
	width: 48px;
    height: 48px;
    line-height: 42px;
    margin: 0 6px;
    text-align: center;
    flex-shrink: 0;
    overflow: hidden;
    /*background: #9c754457;*/
    border-radius: 2px;
}
.ii--title {
    font-size: 14px;
}
.ii--unit {
	padding: 4px 12px;
}
.ii--input-container input {
	width: 84px;
}
.ii--input-container {
	display: inline-block;
	float: left;
}
.ii--unit {
	display: inline-block;
}

.block {
	padding: 12px;
	margin: 6px 0;
    background: #2f2f2f;
    box-shadow: 0 0 4px 1px rgb(0 0 0 / 20%);
}
.t--container {
    background: #2f2f2f;
    box-shadow: 0 0 4px 1px rgb(0 0 0 / 20%);
}
.t--head ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.t--head li {
	display: inline-block;
}
.t--head .t--tab {
	display: block;
	padding: 12px 24px;
	text-decoration: none;
	color: rgba(255,255,255,0.25);
}
.t--head .t--tab.active {
	position: relative;
	background: #2f2f2f;
	box-shadow: 0 0 4px 1px rgb(0 0 0 / 20%);
	color: inherit;
}
.t--head .t--tab.active::after { /* to hide overlaping shadow*/
    content: '';
    display: block;
    position: absolute;
    background: inherit;
    width: 100%;
    height: 12px;
    left: 0;
    top: calc(100% - 6px);
}
.t--content {
	display: none;
	margin: 12px;
}
.t--content.active {
	display: inline-block;
}

#graph-day {
	margin: 40px;
	height: 400px;
}
#graph-month {
	margin: 40px;
	height: 400px;
}
#graph-month-y {
	margin: 40px;
	height: 400px;
}
#horizont {
	margin: 40px;
	height: 400px;
}
svg {
	overflow: visible;
}

.svg-path {
	fill: #f7d56e;
	stroke: #f7d56e;
	stroke-width: 2;
	fill-opacity: 0.25;
}
.svg-circles {
	fill: #cb780b;
}
.svg-rect {
	fill: #cb780b;
}
.svg-text {
	/*fill: #eaeaea;*/
}
.graph .g--label {
	opacity: 0;
	transition: opacity 0.1s;
	pointer-events: none;
}
.graph .g--circle {
	fill: #fff;
}
.graph .g--circle.pop {
	opacity: 0;
}
.graph .g--circle:hover {
	fill: inherit;
	opacity: 1;
}
.graph .g--circle:hover ~ .g--label {
	opacity: 1;
}
.g--h-lines line {
	stroke: rgb(255 255 255 / 4%);
	stroke-width: 2;
}
.g--h-lines text {
	fill: rgb(255 255 255 / 40%);
	stroke-width: 2;
}

.toolbar {
	position: fixed;
	top: 0;
	left: 0;
    z-index: 999;
	width: 100%;
	background: #2f2f2f;
	box-shadow: 0 0 8px 1px rgba(0,0,0,0.6);
}
.toolbar h1 {
	position: absolute;
	top: 0;
	right: 0;
	margin: 5px 8px;
	opacity: 0.6;
	font-weight: normal;
}
.toolbar h1 .text {
	float: left;
    line-height: 32px;
    margin-right: 12px;
}
.toolbar h1 .sprite {
	display: inline-block;
	width: 32px;
	height: 32px;
	vertical-align: top;
	margin: 2px;
}
.t--btn {
    padding: 4px;
    margin: 3px;
    background: none;
    border: none;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    border-radius: 2px;
}
.t--btn:hover {
	background: rgba(255,255,255,0.2);
}
.t--btn .sprite {
	display: inline-block;
	width: 32px;
	height: 32px;
	margin-right: 6px;
	vertical-align: middle;
}
.tb--text {
	vertical-align: middle;
	margin-right: 6px;
}

.btn {
	display: block;
	float: right;
	border: none;
    padding: 6px;
    margin: 0 2px;
    border-radius: 2px;
}
.btn .sprite {
	float: left;
	width: 18px;
	height: 18px
}
.btn .text {
	margin-left: 6px;
}
.btn.catalog {
    background: #355f80;
    /*color: #17466b;*/
}
.btn.remove {
    background: #ffa1a3;
    color: #6f1415;
}
.btn.add {
    background: #d0faa6;
    color: #206f14;
}

input[type="checkbox"]:disabled {
	background: blue;
}
input[type="checkbox"]:disabled::after {
    content: "";
    background: #fff;
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 2px;
}
input[type="checkbox"]:disabled:checked::after {
    content: "\02714";
    background: #86d266;
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    padding: 2px;
    line-height: 13px;
    text-align: center;
}

.advanced-select {
    display: flex;
    position: absolute;
    top: 15px;
    border-radius: 4px;
    background: #d4d4d4c7;
    color: #333;
    padding: 6px;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 12px 1px rgb(0 0 0 / 25%);
}
.advanced-select input {
    background: #fff;
    color: inherit;
}
.advanced-select input[name="title"] {
    color: inherit;
    font-size: 20px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}
.advanced-select hr {
	height: 1px;
    background: #8a8a8a;
    border: none;
    margin: 12px 32px;
}
.advanced-select td {
    padding: 4px 8px;
}
.advanced-select .as--sidebar {
}
.advanced-select.hidden {
	display: none;
}
.as--content {
	margin: 4px;
}
.as--search-container {
	position: relative;
	margin: 4px 4px 10px 4px;
}
.as--search-container input {
	width: 100%;
	padding: 9px 8px 8px 36px;
}
.as--search-container .assc--icon {
    position: absolute;
    top: 10px;
    left: 10px;
    opacity: 0.8;
}
.as--option-container {
	border-radius: 2px;
    margin: 4px;
    background: #fff;
    color: #333;
    height: 360px;
    min-width: 250px;
    overflow-y: scroll;
}
.as--option {
	cursor: pointer;
	padding: 6px 8px;
    white-space: nowrap;
}
.as--option.hidden {
	display: none;
}
.as--option:active {
	background: #fff;
}

.input-appliance .ia--ilu.sprite {
	width: 24px;
	height: 24px;
}
.ia--row {
	margin: 6px 2px;
}

.collapse .c--content {
}
.collapse .c--content.hidden {
	display: none;
}
.collapse .c--collapse-button {
	display: flex;
	width: 100%;
	background: none;
	border: none;
	color: inherit;
	font-size: inherit;
	align-items: center;
    margin: 12px 0;
}
.collapse .ccb--arrow {
	flex-grow: 0;
}
.collapse .ccb--label {
	flex-grow: 0;
	white-space: nowrap;
	margin: 0 18px;
}
.collapse .ccb--hr {
	flex-grow: 1;
	height: 2px;
	background: #5d5d5d;
	width: 100%;
}

.sprite {
	display: block;
	width: 16px;
	height: 16px;
	background-size: 100%;
}