Files
anonymous_github/public/css/style.css
2020-06-05 13:17:10 +02:00

293 lines
4.4 KiB
CSS

.fadeIn {
opacity: 1;
animation-name: fadeInOpacity;
animation-iteration-count: 1;
animation-timing-function: ease-in;
animation-duration: 0.6s;
}
@keyframes fadeInOpacity {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
textarea,
select,
input,
button {
outline: none;
}
html,
body {
position: relative;
height: 100%;
}
header {
position: relative;
min-height: 100%;
}
.view {
width: 100%;
color: #ffffff;
}
.top-nav-collapse {
background: #4a507b !important;
}
.navbar {
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
font-weight: 300;
transition: background-color 0.5s ease;
}
.navbar .nav-link.nav-icon {
padding: 0 0.5rem;
}
.navbar .nav-link .fa {
font-size: 30px;
line-height: 40px;
}
.navbar:not(.top-nav-collapse) {
background: transparent !important;
}
@media (max-width: 991px) {
.navbar:not(.top-nav-collapse) {
background: #4a507b !important;
}
}
.rgba-gradient {
background: -moz-linear-gradient(
45deg,
rgba(51, 51, 51, 0.82),
rgba(13, 17, 198, 0.69) 100%
);
background: -webkit-linear-gradient(
45deg,
rgba(51, 51, 51, 0.82),
rgba(13, 17, 198, 0.69) 100%
);
background: linear-gradient(
to 45deg,
rgba(51, 51, 51, 0.82),
rgba(13, 17, 198, 0.69) 100%
);
}
a:hover {
text-decoration: none;
}
.white_border,
.black_border {
border: 1px solid white;
padding: 7px;
background: transparent;
color: white;
min-width: 115px;
}
a.white_border,
a.white_border:hover,
a.black_border,
a.black_border:hover {
padding: 10px;
color: white;
}
.white_border:focus,
.black_border:focus {
background: #333333;
border: 1px solid #333333;
}
.white_border::placeholder,
.black_border::placeholder {
/* Chrome, Firefox, Opera, Safari 10.1+ */
color: #cccccc;
opacity: 1; /* Firefox */
}
.black_border {
border: 1px solid #333333;
}
a.black_border,
a.black_border:hover {
color: #333333;
}
.black_border::placeholder {
/* Chrome, Firefox, Opera, Safari 10.1+ */
color: #666666;
opacity: 1; /* Firefox */
}
.active .container {
transition: height 1s ease;
}
.add_form {
display: none;
}
.active .add_form {
display: block;
}
.main {
width: 100%;
margin: auto;
height: 100%;
}
.hljs {
background: #f8f8f8 !important;
}
pre {
margin: 0;
background: #f8f8f8;
-moz-tab-size: 4;
tab-size: 4;
}
/* for block of numbers */
.hljs-ln-numbers {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
text-align: right;
color: #d1d1d1;
vertical-align: top;
padding-right: 5px !important;
}
/* for block of code */
.hljs-ln-code {
padding-left: 5px !important;
}
.files {
position: sticky;
top: 0;
height: 100%;
overflow: scroll;
z-index: 9;
background: #ecedef;
}
.files a {
display: block;
padding: 4px 4px 4px 30px;
color: #6e6e6f;
}
.files .file,
.files .folder {
position: relative;
color: #6e6e6f;
cursor: pointer;
}
.files .file.active a,
.files .file a:hover {
background: #c7cbd2;
color: #77777a;
}
.files ul {
list-style: none;
margin: 0;
padding: 0;
}
.files li ul {
padding-left: 10px;
}
.files .folder tree {
display: none;
}
.files .folder.open > tree {
display: block;
}
.files .file::before {
content: "\f15b";
font-family: FontAwesome;
position: absolute;
left: 0px;
width: 7px;
padding: 4px;
padding-left: 8px;
color: #3ba3f8;
}
.files .folder::before {
content: "\f07b";
}
.files .folder.open::before {
content: "\f07c";
}
.paths {
background-color: #ffffff;
padding: 8px 4px;
position: absolute;
top: 0;
right: 0;
left: 0;
z-index: 0;
border-radius: 0;
}
.paths a {
color: #000000;
}
@media (max-width: 640px) {
.main {
width: 100%;
}
.container-fluid {
padding: 0;
}
.files {
margin: 0;
border-left: 0;
border-right: 0;
border-radius: 0;
}
}
.repos {
margin: 0;
padding: 0;
}
.repo {
list-style: none;
margin: 0;
padding: 3px 7px;
background: #fdfdfd;
border: 1px solid #ddd;
border-top: 0;
}
.repo .options {
float: right;
}
.main > .container-fluid,
.main > .container-fluid > .row,
.body {
height: 100%;
position: relative;
}
.content {
height: 100%;
overflow: scroll;
padding-top: 42px;
background: #f8f8f8;
}
.file-content {
padding: 4px 7px;
}
.file-error {
font-weight: bold;
font-size: 50px;
text-align: center;
padding-top: 100px;
}