1
0
Fork 0
mirror of synced 2024-05-16 10:42:34 +12:00
appwrite/public/styles/scopes/console.less

1043 lines
18 KiB
Plaintext
Raw Normal View History

2019-05-09 18:54:39 +12:00
.console {
width: 100%;
padding: 0;
2020-04-28 20:35:51 +12:00
//overflow: auto;
2020-03-05 02:07:19 +13:00
overscroll-behavior: none;
2020-02-01 00:57:25 +13:00
2019-05-09 18:54:39 +12:00
body {
position: relative;
width: ~"calc(100% - 320px)";
2020-04-28 20:35:51 +12:00
// overflow: auto;
2019-05-09 18:54:39 +12:00
padding-top: 70px;
padding-bottom: 0;
.func-padding-end(50px);
.func-padding-start(270px);
margin: 0;
2020-02-12 02:09:44 +13:00
color: var(--config-color-normal);
background: var(--config-console-background);
2019-05-09 18:54:39 +12:00
.project-only {
2019-08-07 00:22:54 +12:00
display: none !important;
2019-05-09 18:54:39 +12:00
}
&.show-nav {
.project-only {
2019-08-07 00:22:54 +12:00
display: inline-block !important;
2019-05-09 18:54:39 +12:00
}
}
&.hide-nav {
2020-02-21 09:44:35 +13:00
.func-padding-start(50px);
width: ~"calc(100% - 100px)";
header {
width: ~"calc(100% - 50px)";
.logo {
display: inline-block;
}
}
2019-05-09 18:54:39 +12:00
.console-back {
display: block;
}
2020-05-01 06:47:20 +12:00
.console-index {
display: none;
}
2019-05-09 18:54:39 +12:00
.account {
display: none;
}
}
&.index {
.console-back {
display: none;
}
2020-05-01 06:47:20 +12:00
.console-index {
display: block;
}
2019-05-09 18:54:39 +12:00
.account {
display: block;
}
}
2020-05-01 06:47:20 +12:00
.console-index {
display: block;
}
2019-05-09 18:54:39 +12:00
.console-back {
display: none;
}
}
2020-02-29 21:08:07 +13:00
main {
2020-03-03 18:07:23 +13:00
min-height: 480px;
2020-02-29 21:08:07 +13:00
}
2019-05-09 18:54:39 +12:00
header {
position: fixed;
top: 0;
width: ~"calc(100% - 280px)";
height: 40px;
line-height: 40px;
padding: 15px 30px;
2020-02-12 02:09:44 +13:00
background: var(--config-color-background-fade);
2019-08-06 16:19:16 +12:00
box-shadow: 0 0 2px rgba(0, 0, 0, .10);
2019-05-09 18:54:39 +12:00
margin: 0 -50px;
z-index: 2;
font-size: 14px;
2020-02-21 09:44:35 +13:00
.logo {
display: none;
border: none;
2020-03-05 02:07:19 +13:00
2020-02-21 09:44:35 +13:00
&:hover {
border: none;
opacity: .8;
}
img {
height: 26px;
margin: 7px 0;
}
}
.setup-new {
2019-06-08 22:39:42 +12:00
width: 40px;
height: 40px;
line-height: 40px;
}
2019-05-09 18:54:39 +12:00
.list {
width: 240px;
select {
height: 40px;
line-height: 40px;
padding-top: 0;
padding-bottom: 0;
border: none;
border-radius: 26px;
2020-02-12 02:09:44 +13:00
background-color: var(--config-console-nav-switch-background);
color: var(--config-console-nav-switch-color);
2019-05-09 18:54:39 +12:00
}
}
.account {
.func-margin-start(25px);
.text-one-liner;
}
2020-04-22 19:03:34 +12:00
.switch-theme {
margin: 2px 0;
}
2019-05-09 18:54:39 +12:00
.avatar {
height: 40px;
width: 40px;
}
2020-04-22 19:03:34 +12:00
.account-button {
background: transparent;
position: absolute;
width: 100%;
height: 40px;
border-radius: 0;
z-index: 1;
}
2019-05-09 18:54:39 +12:00
.notifications {
position: relative;
font-size: 20px;
a {
color: #1b3445;
}
&:after {
position: absolute;
content: "";
display: block;
2020-02-11 06:04:57 +13:00
background: var(--config-color-danger);
2019-05-09 18:54:39 +12:00
width: 8px;
height: 8px;
border-radius: 50%;
top: 3px;
.func-end(3px);
}
}
nav {
background: #1b3445;
2020-02-12 02:09:44 +13:00
background: linear-gradient(var(--config-console-nav-start), var(--config-console-nav-end));
2019-05-09 18:54:39 +12:00
color: #788c99;
position: fixed;
height: 100%;
width: 220px;
top: 0;
.func-start(0);
.logo {
height: 39px;
padding: 15px 20px;
display: block;
img {
display: inline-block;
2020-02-21 09:44:35 +13:00
margin-top: 7px;
margin-bottom: 14px;
2019-05-09 18:54:39 +12:00
}
svg g {
2020-02-11 06:04:57 +13:00
fill: var(--config-color-focus)
2019-05-09 18:54:39 +12:00
}
}
.icon {
display: block;
border: none;
margin: 18px 10px 50px 10px;
img {
display: block;
}
&:hover {
border-bottom: none;
svg g {
2020-02-11 06:04:57 +13:00
fill: var(--config-color-focus)
2019-05-09 18:54:39 +12:00
}
}
}
2019-08-05 17:51:02 +12:00
.container {
2020-01-18 02:27:59 +13:00
overflow: auto;
2020-02-24 07:36:08 +13:00
height: ~"calc(100% - 133px)";
2019-08-07 00:22:54 +12:00
width: 100%;
2019-08-05 17:51:02 +12:00
}
2019-05-09 18:54:39 +12:00
.project-box {
padding: 20px;
text-align: center;
display: block;
border: none;
line-height: 100px;
height: 100px;
img {
max-height: 80px;
max-width: 80%;
display: inline-block;
vertical-align: middle;
}
}
.project {
display: block;
padding: 85px 25px 20px 25px;
color: #788c99;
position: relative;
border: none;
height: 20px;
&:hover {
border-bottom: none;
}
.name {
height: 20px;
line-height: 20px;
margin: 0;
padding: 0;
display: inline-block;
max-width: 100%;
}
.arrow {
display: block;
position: absolute;
.func-end(5px);
top: 10px;
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 5px solid #788c99;
transform: rotate(225deg);
}
img {
position: absolute;
bottom: 40px;
display: block;
margin-bottom: 10px;
max-height: 35px;
max-width: 40%;
}
}
.subtitle {
2019-12-14 17:15:28 +13:00
padding: 0 30px;
2019-05-09 18:54:39 +12:00
display: block;
font-size: 12px;
font-weight: 300;
}
.links {
.margin-bottom-small;
&.top {
border: none;
padding-bottom: 0;
2019-08-05 17:51:02 +12:00
margin-bottom: 5px !important;
2019-05-09 18:54:39 +12:00
}
&.bottom {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding-bottom: 0;
border: none;
2019-08-05 17:51:02 +12:00
margin-bottom: 0 !important;
2020-02-23 21:57:51 +13:00
box-shadow: 0 0 10px rgba(0,0,0,.1);
2019-05-09 18:54:39 +12:00
a {
2020-02-12 02:09:44 +13:00
border-top: solid 1px var(--config-console-nav-border);
2019-05-09 18:54:39 +12:00
border-bottom: none;
}
}
.sub {
display: inline-block;
border: none;
width: 25px;
height: 25px;
line-height: 25px;
border-radius: 50%;
padding: 0;
2020-02-11 06:04:57 +13:00
background: var(--config-color-focus);
2019-05-09 18:54:39 +12:00
color: #ffffff;
text-align: center;
font-size: 12px;
margin: 18px;
i {
width: auto;
margin: 0;
}
&:hover {
border: none;
}
}
a {
2019-12-14 17:15:28 +13:00
padding: 8px 20px;
2019-05-09 18:54:39 +12:00
border: none;
display: block;
color: #87a5b9;
font-weight: 400;
.func-border-start(5px, transparent);
2019-12-17 16:40:37 +13:00
font-size: 13px;
2019-05-09 18:54:39 +12:00
i {
.func-margin-end(8px);
width: 22px;
display: inline-block;
}
2019-08-05 17:51:02 +12:00
&:hover,
&.selected {
2019-05-09 18:54:39 +12:00
color: #e4e4e4;
}
}
}
&:after {
content: '';
display: block;
position: absolute;
background: #302839;
height: 100px;
width: 100%;
bottom: -100px;
}
}
}
2019-08-05 17:51:02 +12:00
>footer {
2019-05-09 18:54:39 +12:00
width: ~"calc(100% + 100px)";
margin: 0 -50px;
box-sizing: border-box;
2019-08-17 18:09:09 +12:00
background: transparent;
2019-05-09 18:54:39 +12:00
.func-padding-end(30px);
.func-padding-start(30px);
2019-08-17 18:09:09 +12:00
ul {
float: none;
text-align: center;
li {
float: none;
display: inline-block;
}
}
2019-05-09 18:54:39 +12:00
}
.projects {
.clear;
position: relative;
li {
.pull-start;
.func-margin-end(50px);
margin-bottom: 50px;
width: 270px;
2020-02-21 09:44:35 +13:00
&:nth-child(3n) {
2019-05-09 18:54:39 +12:00
.func-margin-end(0);
}
}
}
.dashboard {
padding: 20px;
overflow: hidden;
position: relative;
z-index: 1;
2020-10-31 08:53:27 +13:00
margin-bottom: 2px;
2019-05-09 18:54:39 +12:00
2020-05-13 08:16:33 +12:00
.chart {
width: 80%;
2020-06-14 08:26:45 +12:00
@media @phones, @tablets {
width: 100%;
}
2020-05-13 08:16:33 +12:00
}
2019-05-09 18:54:39 +12:00
hr {
2020-10-31 08:53:27 +13:00
margin: 20px -25px;
2020-02-25 01:56:57 +13:00
height: 2px;
background: var(--config-console-background);
@media @phones,
@tablets {
height: 3px;
}
2019-05-09 18:54:39 +12:00
}
footer {
margin: -20px;
padding: 20px;
background: #fcfeff;
border: none;
2020-02-11 06:04:57 +13:00
color: var(--config-color-link);
2019-05-09 18:54:39 +12:00
}
.col {
position: relative;
&:last-child:after {
display: none;
}
&:after {
content: "";
display: block;
2019-08-05 17:51:02 +12:00
width: 2px;
2020-02-12 02:09:44 +13:00
background: var(--config-console-background);
2019-05-09 18:54:39 +12:00
position: absolute;
top: -20px;
bottom: -20px;
.func-end(24px);
2019-08-05 17:51:02 +12:00
@media @phones,
@tablets {
2019-05-09 18:54:39 +12:00
width: ~"calc(100% + 40px)";
height: 3px;
position: static;
margin: 20px -20px;
}
}
}
.value {
2020-02-11 06:04:57 +13:00
color: var(--config-color-focus);
2019-05-09 18:54:39 +12:00
vertical-align: bottom;
2019-12-14 17:15:28 +13:00
line-height: 45px;
2019-05-09 18:54:39 +12:00
2020-10-31 08:53:27 +13:00
&.small {
line-height: 35px;
}
2019-05-09 18:54:39 +12:00
.sum {
2019-12-14 17:15:28 +13:00
font-size: 45px;
line-height: 45px;
2019-05-09 18:54:39 +12:00
font-weight: 700;
vertical-align: bottom;
2020-10-31 08:53:27 +13:00
&.small {
font-size: 25px;
line-height: 25px;
}
2019-05-09 18:54:39 +12:00
}
}
.unit {
font-weight: 500;
line-height: 20px;
vertical-align: bottom;
font-size: 16px;
display: inline-block;
margin-bottom: 5px;
.func-margin-start(5px);
2020-02-11 06:04:57 +13:00
color: var(--config-color-focus);
2019-05-09 18:54:39 +12:00
}
.metric {
2020-02-11 06:04:57 +13:00
color: var(--config-color-focus);
2019-05-09 18:54:39 +12:00
font-weight: 400;
font-size: 13px;
line-height: 16px;
}
.range {
2020-02-11 06:04:57 +13:00
color: var(--config-color-fade);
2019-05-09 18:54:39 +12:00
font-weight: 400;
font-size: 14px;
line-height: 16px;
}
a {
display: block;
font-weight: 400;
font-size: 14px;
line-height: 16px;
padding: 0;
border: none;
}
2021-08-21 04:37:37 +12:00
.chart-bar {
height: 5rem;
width: auto;
display: flex;
align-items: flex-end;
@media @desktops {
padding-right: 15px;
}
.bar {
width: 12.5%;
background-color: var(--config-color-chart-fade);
margin: 0 2px;
border-top: 2px solid var(--config-color-chart);
&:hover {
background-color: var(--config-color-chart);
}
.bar-loop (@i) when (@i > -1) {
&.bar-@{i} {
height: ~"@{i}%";
}
&.bar-@{i} when(@i = 0) {
border-top: 1px solid var(--config-color-chart);
}
.bar-loop(@i - 10);
}
.bar-loop (100);
&.bar-5 {
height: 5%;
}
}
}
2020-05-13 08:16:33 +12:00
}
2019-05-09 18:54:39 +12:00
2020-05-13 08:16:33 +12:00
.chart-metric {
width: 19%;
2019-08-08 18:11:47 +12:00
2020-05-13 08:16:33 +12:00
@media @tablets, @phones {
width: 100%;
2019-08-08 18:11:47 +12:00
}
2020-05-13 08:16:33 +12:00
}
2019-08-08 18:11:47 +12:00
.chart {
2020-06-14 08:26:45 +12:00
width: 100%;
position: relative;
2020-06-14 08:26:45 +12:00
height: 0;
padding-top: 20px;
padding-bottom: 26%;
.func-margin-end(-2px);
overflow: hidden;
background-color: var(--config-color-background-fade);
background-image:
linear-gradient(transparent 1px, transparent 1px),
linear-gradient(90deg, transparent 1px, transparent 1px),
linear-gradient(var(--config-border-color) 1px, transparent 1px),
linear-gradient(90deg, var(--config-border-color) 1px, transparent 1px);
background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
background-repeat: round;
border: solid 1px var(--config-border-color);
border-right: solid 1px transparent;
border-bottom: solid 1px transparent;
@media @tablets, @phones {
width: 100%;
padding-bottom: 32%;
float: none;
margin-bottom: 20px;
}
canvas {
position: absolute;
bottom: 0;
display: block;
height: 100%;
width: 100%;
}
2020-05-13 08:16:33 +12:00
}
.chart-notes {
font-size: 12px;
li {
line-height: 20px;
display: inline-block;
.func-margin-end(15px);
&::before {
display: inline-block;
content: '';
width: 14px;
height: 14px;
background: var(--config-color-normal);
border-radius: 50%;
.func-margin-end(8px);
vertical-align: middle;
2019-08-08 18:11:47 +12:00
}
2020-10-31 08:53:27 +13:00
&:nth-child(1), &.blue {
2021-08-21 04:37:37 +12:00
color: var(--config-color-chart);
2020-05-13 08:16:33 +12:00
&::before {
2021-08-21 04:37:37 +12:00
background: var(--config-color-chart);
2020-05-13 08:16:33 +12:00
}
}
2020-10-31 08:53:27 +13:00
&:nth-child(2), &.green {
2020-05-13 08:16:33 +12:00
color: #4eb55b;
&::before {
background: #4eb55b;
}
}
2020-10-31 08:53:27 +13:00
&:nth-child(3), &.orange {
2020-05-13 08:16:33 +12:00
color: #ec9323;
&::before {
background: #ec9323;
}
2019-05-09 18:54:39 +12:00
}
2020-10-31 08:53:27 +13:00
&:nth-child(4), &.red {
color: #dc3232;
&::before {
background: #dc3232;
}
}
2019-05-09 18:54:39 +12:00
}
}
.community {
a {
2020-07-02 10:34:47 +12:00
padding: 0 10px;
display: inline-block;
}
}
2019-05-09 18:54:39 +12:00
.link-list {
li {
margin-bottom: 15px;
}
i {
display: inline-block;
width: 30px;
height: 30px;
line-height: 30px;
text-align: center;
2020-02-11 06:04:57 +13:00
background: var(--config-color-fade);
color: var(--config-color-fade-super);
2019-05-09 18:54:39 +12:00
border-radius: 50%;
.func-margin-end(15px);
&.fade {
background: transparent;
2020-02-11 06:04:57 +13:00
color: var(--config-color-fade);
2019-05-09 18:54:39 +12:00
}
}
}
.provider {
width: 50px;
height: 50px;
background: #f5f5f5;
color: #868686;
line-height: 50px;
text-align: center;
font-size: 25px;
border-radius: 50%;
&.facebook {
color: #ffffff;
background: #3b5998;
}
&.twitter {
color: #ffffff;
background: #55beff;
}
&.telegram {
color: #ffffff;
background: #3ba9e1;
}
&.github {
color: #ffffff;
background: #24292e;
}
&.whatsapp {
color: #ffffff;
background: #25d366;
}
&.linkedin {
color: #ffffff;
background: #1074af;
}
&.microsoft {
color: #ffffff;
background: #137ad4;
}
&.google {
color: #ffffff;
background: #4489f1;
}
&.bitbucket {
color: #ffffff;
background: #2a88fb;
}
&.gitlab {
color: #faa238;
background: #30353e;
}
&.instagram {
color: #ffffff;
2019-08-05 17:51:02 +12:00
background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
2019-05-09 18:54:39 +12:00
}
}
2019-08-29 00:29:45 +12:00
2019-05-09 18:54:39 +12:00
.premium {
z-index: 3;
margin-top: 320px;
.message {
height: 190px;
overflow: hidden;
position: absolute;
top: -280px;
}
&:after {
content: '';
position: absolute;
top: 0;
left: -20px;
right: -20px;
bottom: -20px;
2020-02-11 06:04:57 +13:00
background: var(--config-color-background);
2019-05-09 18:54:39 +12:00
opacity: .7;
z-index: 300;
}
}
.app-section {
height: 90px;
}
.confirm {
2020-02-11 06:04:57 +13:00
background: var(--config-color-link);
2019-05-09 18:54:39 +12:00
color: #ffffff;
border-radius: 25px;
padding: 12px;
line-height: 28px;
text-align: center;
.action {
font-weight: 500;
cursor: pointer;
}
}
.platforms {
overflow: hidden;
.box {
overflow: hidden;
img {
width: 50px;
margin: 0 auto;
margin-bottom: 20px;
}
.cover {
margin: -30px -30px 30px -30px;
padding: 30px;
&.android {
background: #a4ca24;
h1 {
color: #ffffff;
font-size: 18px;
margin-top: 20px;
}
}
}
}
.col {
text-align: center;
line-height: 30px;
}
a {
display: block;
margin: -20px;
padding: 20px;
&:hover {
background: #fbfeff;
}
}
img {
display: block;
margin: 0 30px;
width: ~"calc(100% - 60px)";
border-radius: 50%;
margin-bottom: 20px;
}
}
2020-01-31 06:22:32 +13:00
2020-05-04 17:04:30 +12:00
.document-nav {
display: none;
position: sticky;
top: 90px;
@media only screen and (min-width: 1380px) {
display: block;
}
ul {
position: absolute;
width: 200px;
.func-start(-260px);
li {
margin-bottom: 20px;
.selected {
font-weight: 500;
}
}
}
}
2020-01-31 06:22:32 +13:00
.scroll-to {
display: none;
}
2020-02-25 01:56:57 +13:00
2020-03-05 02:07:19 +13:00
@media @desktops {
.logo {
.top {
display: none!important;
}
}
}
2020-02-25 01:56:57 +13:00
@media @phones, @tablets {
>header {
2020-02-27 10:54:12 +13:00
width: ~"calc(100% - 30px)"!important;
margin: 0 -30px;
padding: 15px;
nav {
width: 100%;
2020-03-05 02:07:19 +13:00
height: 70px;
overflow: hidden;
&.close {
background: transparent;
.logo {
.nav {
display: none!important;
}
}
}
&.open {
height: 100%;
.logo {
.top {
display: none!important;
}
}
.bottom {
display: block!important;
}
button {
color: #87a5b9;
}
}
button {
margin: 9px;
background: transparent;
color: var(--config-color-normal);
&:hover, &:focus {
background: transparent;
}
}
.logo {
display: block!important;
position: absolute;
top: 0;
left: 50%;
margin: auto;
transform: translateX(-50%);
}
.bottom {
display: none!important;
}
2020-02-27 10:54:12 +13:00
}
2020-02-25 01:56:57 +13:00
}
>footer {
width: auto;
margin: 50px -30px 0 -30px!important;
padding: 0 30px 30px 30px;
}
body {
2020-02-27 10:54:12 +13:00
height: "calc(100% - 70px)"!important;
2020-02-25 01:56:57 +13:00
width: ~"calc(100% - 60px)"!important;
2020-02-27 10:54:12 +13:00
padding: 70px 30px 0 30px!important;
2020-02-25 01:56:57 +13:00
}
.cover {
padding: 25px 30px;
margin: 0 -30px;
}
}
2020-02-27 10:54:12 +13:00
@media @phones {
body {
height: "calc(100% - 70px)"!important;
width: ~"calc(100% - 40px)"!important;
padding: 70px 20px 0 20px!important;
}
.cover {
padding: 20px 20px;
margin: 0 -20px;
}
>header {
margin: 0 -20px;
.list {
width: 175px;
font-size: 14px;
}
}
>footer {
margin: 50px -20px 0 -20px!important;
padding: 0 20px 20px 20px;
}
}
2019-05-09 18:54:39 +12:00
}
.dev-feature {
display: none;
}
.prod-feature {
display: none;
}
.development {
.dev-feature {
display: block;
2019-08-05 17:51:02 +12:00
opacity: .6 !important;
2019-05-09 18:54:39 +12:00
outline: solid yellow 3px;
outline-offset: 3px;
&.dev-inline {
display: inline-block;
}
}
.prod-feature {
display: none;
}
}
.production {
.dev-feature {
display: none;
}
.prod-feature {
display: block;
}
2019-08-14 16:57:27 +12:00
}
.search {
2019-08-14 23:52:14 +12:00
opacity: 1!important;
2019-08-14 16:57:27 +12:00
@media @phones, @tablets {
button {
margin-top: 20px;
}
}
2020-07-25 18:26:25 +12:00
}