nim-theNewWeb/public/css/styles.css

444 lines
8.0 KiB
CSS
Raw Normal View History

2022-08-06 16:51:49 -04:00
/*//////////////////////////////////////////////////////////////////
[ FONT ]*/
@font-face {
font-family: Poppins-Regular;
src: url('../fonts/poppins/Poppins-Regular.ttf');
}
@font-face {
font-family: Poppins-Medium;
src: url('../fonts/poppins/Poppins-Medium.ttf');
}
@font-face {
font-family: Poppins-Bold;
src: url('../fonts/poppins/Poppins-Bold.ttf');
}
@font-face {
font-family: Poppins-SemiBold;
src: url('../fonts/poppins/Poppins-SemiBold.ttf');
}
html, body {
2022-07-31 16:45:47 -04:00
margin: 0;
2022-08-06 16:51:49 -04:00
font-family: Poppins-Regular, sans-serif;
height:100%;
2022-07-31 16:45:47 -04:00
}
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
2022-07-31 16:45:47 -04:00
}
2022-08-06 16:51:49 -04:00
a {
font-family: Poppins-Regular;
font-size: 14px;
line-height: 1.7;
color: #666666;
margin: 0px;
transition: all 0.4s;
-webkit-transition: all 0.4s;
-o-transition: all 0.4s;
-moz-transition: all 0.4s;
}
2022-07-31 16:45:47 -04:00
:root {
--accent-color: #0053b8;
--lightest-gray: rgb(244, 244, 244);
--light-gray: rgb(144, 144, 144);
--medium-gray: rgb(96, 96, 96);
--dark-gray: rgb(13, 13, 13);
--animation-duration: 200ms;
--animation-timing-curve: ease-in-out;
--blue-joplin-color: #0053b8;
--light-blue-joplin-color: rgb(237, 241, 243);
--header-height: 50px;
2022-07-31 16:45:47 -04:00
}
.header {
display: flex;
align-items: center;
position: sticky;
top: 0;
background-color: white;
box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.4);
padding: 0 0.5rem;
height: var(--header-height);
}
.login {
font-size: large;
fill: var(--blue-joplin-color);
/* max-width: fit-content; */
2022-07-31 16:45:47 -04:00
position: absolute;
top: 30%;
2022-07-31 16:45:47 -04:00
left: 50%;
transform: translate(-52%, -50%);
2022-07-31 16:45:47 -04:00
}
/* Create two equal columns that floats next to each other */
.column {
float: left;
padding: 10px;
2022-08-04 01:03:03 -04:00
height: calc(100vh - var(--header-height));
/* height: auto; */
/* flex: 50%; */
2022-08-04 01:03:03 -04:00
width: 100%;
}
2022-08-04 01:03:03 -04:00
.column .scrollbar {
/* margin-left: 30px; */
/* float: left; */
/* min-height: 100px; */
height: 800px;
2022-08-04 01:03:03 -04:00
background: #fff;
overflow-y: scroll;
/* margin-bottom: 25px; */
}
.left {
width: 25%;
}
.right {
width: 75%;
}
2022-08-04 01:03:03 -04:00
.row {
display: flex;
width: 100%;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
2022-07-31 16:45:47 -04:00
.menu-icon-btn {
background: none;
border: none;
padding: 0;
}
.menu-icon {
width: 25px;
height: 25px;
fill: var(--medium-gray);
cursor: pointer;
}
.menu-icon:hover {
fill: var(--dark-gray);
}
.sidebar {
flex-shrink: 0;
overflow: hidden;
width: 75px;
border-right: 1px solid var(--light-gray);
display: flex;
flex-direction: column;
height: calc(100vh - var(--header-height));
padding-top: 1rem;
align-items: center;
justify-content: stretch;
transition: width var(--animation-duration) var(--animation-timing-curve);
position: sticky;
left: 0;
top: var(--header-height);
}
.sidebar .hidden-sidebar {
opacity: 0;
width: 0;
transition: opacity var(--animation-duration) var(--animation-timing-curve);
}
.sidebar.open .hidden-sidebar {
width: 100%;
height: auto;
opacity: 1;
}
.sidebar .top-sidebar {
display: flex;
flex-direction: column;
align-items: center;
}
.sidebar .channel-logo {
display: block;
width: 30px;
height: 30px;
transition: var(--animation-duration) var(--animation-timing-curve);
}
.sidebar.open .channel-logo {
width: 90px;
height: 90px;
}
2022-08-04 01:03:03 -04:00
.sidebar .channel-logo>img {
2022-07-31 16:45:47 -04:00
width: 100%;
height: 100%;
}
.middle-sidebar {
overflow-y: auto;
overflow-x: hidden;
flex-grow: 1;
margin: 1rem 0;
}
.middle-sidebar,
.bottom-sidebar {
width: 100%;
}
.container {
display: flex;
height: 94%;
2022-07-31 16:45:47 -04:00
}
.vertical-center {
margin: 0;
position: absolute;
top: 50%;
-ms-transform: translateY(-50%);
transform: translateY(-50%);
/* border: 5px solid #FFFF00; */
text-align: center;
}
.content {
/* margin: 1rem; */
width: 1200px;
min-height: 100px;
height: auto;
margin: 80px auto 0px auto;
/* background-color: black; */
padding: 10px 10px;
display:table;
overflow:hidden;
height:100%;
2022-07-31 16:45:47 -04:00
}
.sidebar-list {
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
list-style: none;
}
.sidebar.open .sidebar-link {
justify-content: flex-start;
}
.sidebar-icon {
width: 25px;
height: 25px;
flex-shrink: 0;
fill: var(--blue-joplin-color);
}
.sidebar-list .hidden-sidebar {
margin-left: 1.5rem;
white-space: nowrap;
}
.sidebar-link {
display: flex;
width: 100%;
2022-08-06 16:51:49 -04:00
padding: 0.5rem 0;
2022-07-31 16:45:47 -04:00
color: var(--light-gray);
text-decoration: none;
align-items: center;
padding-left: 25px;
}
.sidebar-list-item {
position: relative;
width: 100%;
fill: var(--light-gray);
}
.sidebar-list-item.active {
fill: var(--accent-color);
background-color: var(--light-blue-joplin-color);
}
.sidebar-list-item:hover {
background-color: var(--light-blue-joplin-color);
}
.sidebar-list-item.active::before {
content: "";
background-color: var(--accent-color);
height: 100%;
left: 0;
width: 3px;
position: absolute;
}
.sidebar.open {
width: 200px;
}
.your-channel {
color: var(--dark-gray);
2022-08-06 16:51:49 -04:00
font-size: 1.5rem;
2022-07-31 16:45:47 -04:00
font-weight: bold;
margin-bottom: 0.15rem;
margin-top: 0.5rem;
}
.channel-name {
color: var(--medium-gray);
2022-08-06 16:51:49 -04:00
font-size: 1.0rem;
2022-07-31 16:45:47 -04:00
}
.sidebar .top-sidebar {
height: 30px;
transition: height var(--animation-duration) var(--animation-timing-curve);
}
.sidebar.open .top-sidebar {
height: 150px;
2022-07-31 16:45:47 -04:00
}
.sidebar .top-sidebar .hidden-sidebar {
text-align: center;
width: 100%;
}
2022-08-04 01:03:03 -04:00
.force-overflow {
min-height: 450px;
}
.scrollbar-primary::-webkit-scrollbar {
2022-08-06 16:51:49 -04:00
width: 6px;
2022-08-04 01:03:03 -04:00
background-color: #F5F5F5;
}
.scrollbar-primary::-webkit-scrollbar-thumb {
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
background-color: #4285F4;
}
.scrollbar-danger::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
background-color: #F5F5F5;
border-radius: 10px;
}
.scrollbar-danger::-webkit-scrollbar {
width: 12px;
background-color: #F5F5F5;
}
.scrollbar-danger::-webkit-scrollbar-thumb {
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
background-color: #ff3547;
}
.scrollbar-warning::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
background-color: #F5F5F5;
border-radius: 10px;
}
.scrollbar-warning::-webkit-scrollbar {
width: 12px;
background-color: #F5F5F5;
}
.scrollbar-warning::-webkit-scrollbar-thumb {
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
background-color: #FF8800;
}
.scrollbar-success::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
background-color: #F5F5F5;
border-radius: 10px;
}
.scrollbar-success::-webkit-scrollbar {
width: 12px;
background-color: #F5F5F5;
}
.scrollbar-success::-webkit-scrollbar-thumb {
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
background-color: #00C851;
}
.scrollbar-info::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
background-color: #F5F5F5;
border-radius: 10px;
}
.scrollbar-info::-webkit-scrollbar {
width: 12px;
background-color: #F5F5F5;
}
.scrollbar-info::-webkit-scrollbar-thumb {
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
background-color: #33b5e5;
}
.scrollbar-default::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
background-color: #F5F5F5;
border-radius: 10px;
}
.scrollbar-default::-webkit-scrollbar {
width: 12px;
background-color: #F5F5F5;
}
.scrollbar-default::-webkit-scrollbar-thumb {
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
background-color: #2BBBAD;
2022-07-31 16:45:47 -04:00
}
2022-08-04 01:03:03 -04:00
.scrollbar-secondary::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
background-color: #F5F5F5;
border-radius: 10px;
2022-07-31 16:45:47 -04:00
}
2022-08-04 01:03:03 -04:00
.scrollbar-secondary::-webkit-scrollbar {
width: 12px;
background-color: #F5F5F5;
2022-07-31 16:45:47 -04:00
}
2022-08-04 01:03:03 -04:00
.scrollbar-secondary::-webkit-scrollbar-thumb {
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
background-color: #aa66cc;
2022-08-06 16:51:49 -04:00
}
.fancytree-container {
outline: none;
}