1
0
Fork 0
mirror of synced 2024-06-01 10:29:48 +12:00
appwrite/public/styles/scopes/console.less

760 lines
13 KiB
Plaintext
Raw Normal View History

2019-05-09 18:54:39 +12:00
.console {
height: 100%;
width: 100%;
padding: 0;
body {
position: relative;
height: ~"calc(100% - 70px)";
width: ~"calc(100% - 320px)";
padding-top: 70px;
padding-bottom: 0;
.func-padding-end(50px);
.func-padding-start(270px);
margin: 0;
color: #4b4b4b;
2019-08-17 18:09:09 +12:00
background: #eceff1;
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 {
.console-back {
display: block;
}
.account {
display: none;
}
}
&.index {
.console-back {
display: none;
}
.account {
display: block;
}
}
.console-back {
display: none;
}
&:before {
content: '';
display: block;
position: absolute;
width: ~"calc(100% - 220px)";
height: 100px;
top: -100px;
left: 0;
right: 0;
background: #ffffff;
z-index: 1000;
.func-border-start(220px, #132a3b);
}
}
header {
position: fixed;
top: 0;
width: ~"calc(100% - 280px)";
height: 40px;
line-height: 40px;
padding: 15px 30px;
background: #fff;
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;
.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;
background-color: #ececec;
color: #868686;
}
}
.account {
.func-margin-start(25px);
.text-one-liner;
&:hover {
border-bottom: none;
}
}
.avatar {
height: 40px;
width: 40px;
}
.notifications {
position: relative;
font-size: 20px;
a {
color: #1b3445;
}
&:after {
position: absolute;
content: "";
display: block;
background: @config-color-danger;
width: 8px;
height: 8px;
border-radius: 50%;
top: 3px;
.func-end(3px);
}
}
nav {
2019-08-05 17:51:02 +12:00
//box-shadow: 0 0 2px rgba(0, 0, 0, .05);
2019-05-09 18:54:39 +12:00
background: #1b3445;
background: linear-gradient(rgb(19, 42, 59), rgb(48, 40, 57));
2019-08-05 17:51:02 +12:00
background: linear-gradient(#143650, #302839);
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;
2019-05-13 05:20:53 +12:00
border-bottom: none;
2019-05-09 18:54:39 +12:00
&:hover {
2019-05-13 05:20:53 +12:00
border-bottom: none;
2019-05-09 18:54:39 +12:00
}
img {
display: inline-block;
margin-top: 9px;
width: 75%;
}
svg g {
fill: @config-color-focus
}
}
.icon {
display: block;
border: none;
margin: 18px 10px 50px 10px;
img {
display: block;
}
&:hover {
border-bottom: none;
svg g {
fill: @config-color-focus
}
}
}
2019-08-05 17:51:02 +12:00
.container {
2020-01-18 02:27:59 +13:00
overflow: auto;
2019-08-06 16:19:16 +12:00
height: ~"calc(100% - 183px)";
padding-bottom: 50px;
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 {
//border-bottom: solid 1px #182d3c;
.margin-bottom-small;
//padding-bottom: 5px;
&.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;
2019-05-09 18:54:39 +12:00
a {
2019-08-06 16:19:16 +12:00
border-top: solid 1px #2a253a;
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;
background: @config-color-focus;
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;
font-weight: 500;
//background: #142a3a;
//background: @config-color-focus;
}
}
}
&: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
//border-top: solid 1px @config-color-fade-super;
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;
2019-08-05 17:51:02 +12:00
&:nth-child(3n),
&.new {
2019-05-09 18:54:39 +12:00
.func-margin-end(0);
}
}
}
.dashboard {
padding: 20px;
min-height: 95px;
2019-05-09 18:54:39 +12:00
overflow: hidden;
position: relative;
z-index: 1;
hr {
margin: 20px -20px;
}
footer {
margin: -20px;
padding: 20px;
background: #fcfeff;
border: none;
color: @config-color-link;
}
.col {
position: relative;
&:last-child:after {
display: none;
}
&:after {
content: "";
display: block;
2019-08-05 17:51:02 +12:00
width: 2px;
2019-08-17 18:09:09 +12:00
background: #eceff1;
height: ~"calc(100% + 110px)";
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 {
color: @config-color-focus;
vertical-align: bottom;
2019-12-14 17:15:28 +13:00
line-height: 45px;
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;
}
}
.unit {
font-weight: 500;
line-height: 20px;
vertical-align: bottom;
font-size: 16px;
display: inline-block;
margin-bottom: 5px;
.func-margin-start(5px);
color: @config-color-focus;
}
.metric {
color: @config-color-focus;
font-weight: 400;
font-size: 13px;
line-height: 16px;
}
.range {
color: @config-color-fade;
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;
}
2019-08-08 18:11:47 +12:00
.chart-metric {
width: 19%;
@media @tablets, @phones {
width: 100%;
}
}
2019-05-09 18:54:39 +12:00
.chart {
2019-08-08 18:11:47 +12:00
width: 80%;
2019-05-09 18:54:39 +12:00
position: relative;
height: 0;
padding-top: 20px;
padding-bottom: 26%;
.func-margin-end(-2px);
overflow: hidden;
//border-radius: 10px;
//padding-top: 15px;
background-color: #ffffff;
background-image:
2019-08-05 17:51:02 +12:00
linear-gradient(transparent 1px, transparent 1px),
linear-gradient(90deg, transparent 1px, transparent 1px),
linear-gradient(rgb(241, 241, 241) 1px, transparent 1px),
linear-gradient(90deg, rgb(241, 241, 241) 1px, transparent 1px);
2019-05-09 18:54:39 +12:00
background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
background-repeat: round;
2019-08-05 17:51:02 +12:00
border: solid 1px rgb(241, 241, 241);
2019-05-09 18:54:39 +12:00
border-right: solid 1px transparent;
border-bottom: solid 1px transparent;
2019-08-08 18:11:47 +12:00
@media @tablets, @phones {
width: 100%;
float: none;
margin-bottom: 20px;
}
2019-05-09 18:54:39 +12:00
canvas {
position: absolute;
bottom: 0;
display: block;
height: 100%;
width: 100%;
}
}
}
.link-list {
li {
margin-bottom: 15px;
}
i {
display: inline-block;
width: 30px;
height: 30px;
line-height: 30px;
text-align: center;
background: @config-color-fade;
color: @config-color-fade-super;
border-radius: 50%;
.func-margin-end(15px);
&.fade {
background: transparent;
color: @config-color-fade;
}
}
}
.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;
background: #f6f7f8;
opacity: .7;
z-index: 300;
}
}
.app-section {
height: 90px;
}
.confirm {
background: @config-color-link;
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
.scroll-to {
display: none;
}
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-01-18 02:27:59 +13:00
}