optimized file layout and gitignored generated files
This commit is contained in:
parent
ca70118f60
commit
4ab6ede5ee
22 changed files with 4 additions and 3435 deletions
48
scss/import/_footer.scss
Normal file
48
scss/import/_footer.scss
Normal file
|
@ -0,0 +1,48 @@
|
|||
footer {
|
||||
background: rgb(30, 30, 45);
|
||||
border-top: 1px solid rgb(40, 40, 60);
|
||||
color: rgb(215, 215, 225);
|
||||
text-transform: lowercase;
|
||||
.ui.container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-height: 64px;
|
||||
width: 1127px !important;
|
||||
.links {
|
||||
margin-left: auto;
|
||||
a {
|
||||
color: rgb(215, 215, 225);
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
> * {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
margin-left: 30px;
|
||||
}
|
||||
a {
|
||||
&[href*="/api/swagger"] {
|
||||
@if $vrifoxcustomization == true and $type == frontend {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
&[href*="gitea.io"]:not(.customlink) {
|
||||
@if $vrifoxcustomization == true {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
.version {
|
||||
@if $vrifoxcustomization == true and $type == frontend {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@if $disablelanguagebutton == true {
|
||||
.language {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
27
scss/import/_main.scss
Normal file
27
scss/import/_main.scss
Normal file
|
@ -0,0 +1,27 @@
|
|||
* {
|
||||
scrollbar-color: rgb(255, 130, 130) rgb(60, 60, 90);
|
||||
scrollbar-width: thin;
|
||||
&::selection {
|
||||
background: rgb(245, 245, 255);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
body {
|
||||
background: rgb(40, 40, 60);
|
||||
color: rgb(245, 245, 255);
|
||||
font-family: $font-family;
|
||||
}
|
||||
a {
|
||||
color: rgb(255, 255, 255);
|
||||
transition: color 0.2s;
|
||||
&:hover {
|
||||
color: rgb(255, 130, 130);
|
||||
}
|
||||
}
|
||||
|
||||
body > .full.height::first-line, // makes »This website works better with JavaScript.« invisible, but there is still a gap if javascript is disabled (client-side).
|
||||
.full.height > span {
|
||||
font-size: 0;
|
||||
line-height: 0px;
|
||||
}
|
88
scss/import/_nav.scss
Normal file
88
scss/import/_nav.scss
Normal file
|
@ -0,0 +1,88 @@
|
|||
.ui.main.menu {
|
||||
background: rgb(60, 60, 90);
|
||||
border-bottom: 0;
|
||||
font-size: 15px;
|
||||
min-height: 64px;
|
||||
font-family: $font-family;
|
||||
#navbar {
|
||||
width: 1127px ;
|
||||
padding: 0;
|
||||
.item {
|
||||
color: rgb(245, 245, 255);
|
||||
&.brand {
|
||||
margin: 0 .5rem 0 0;
|
||||
.mini.image {
|
||||
transition: opacity .2s;
|
||||
&:hover {
|
||||
opacity: .9;
|
||||
}
|
||||
}
|
||||
.button.mobile-only {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@if $singleuser == true {
|
||||
&[href*="explore"],
|
||||
&[href*="docs.gitea"] {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
&:not(.brand) {
|
||||
border-radius: 0;
|
||||
display: block;
|
||||
margin: 0px 0px;
|
||||
padding: 24px;
|
||||
transition: background .2s, color .2s;
|
||||
&:hover {
|
||||
background: rgb(50, 50, 75);
|
||||
}
|
||||
&.active {
|
||||
background: rgb(50, 50, 75);
|
||||
}
|
||||
}
|
||||
}
|
||||
.seperator {
|
||||
cursor: default;
|
||||
display: block;
|
||||
padding: 22px;
|
||||
}
|
||||
@if $singleuser == true {
|
||||
.right.stackable.menu {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
.dropdown.item > .menu {
|
||||
margin-top: 0;
|
||||
}
|
||||
.dropdown.item > .menu,
|
||||
&.text.menu .dropdown.item > .menu {
|
||||
border: 0;
|
||||
z-index: 110;
|
||||
}
|
||||
.dropdown.item:hover,
|
||||
.link.item:hover,
|
||||
.active.item:hover,
|
||||
a.item:hover {
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767.98px) {
|
||||
.ui.main.menu {
|
||||
flex-direction: row;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
white-space: nowrap;
|
||||
#navbar {
|
||||
.item {
|
||||
width: auto !important;
|
||||
}
|
||||
.right.custom.menu {
|
||||
display: inherit !important;
|
||||
flex-direction: row !important;
|
||||
margin-left: auto !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
109
scss/import/explore.scss
Normal file
109
scss/import/explore.scss
Normal file
|
@ -0,0 +1,109 @@
|
|||
|
||||
/* explore: repositories / main */
|
||||
|
||||
.explore {
|
||||
.secondary.menu {
|
||||
background-color: rgb(70, 70, 105) !important;
|
||||
border-radius: 0;
|
||||
.item {
|
||||
color: rgb(215, 215, 225);
|
||||
&:hover {
|
||||
color: rgb(255, 255, 255) !important;
|
||||
}
|
||||
&.active {
|
||||
color: rgb(245, 245, 255) !important;
|
||||
&:hover {
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
}
|
||||
.label {
|
||||
background: rgb(60, 60, 90);
|
||||
}
|
||||
}
|
||||
}
|
||||
.container {
|
||||
@if $nojavascript == true {
|
||||
.filter.menu {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
form.form {
|
||||
.input {
|
||||
input {
|
||||
background: rgb(40, 40, 60);
|
||||
border: 2px solid rgb(60, 60, 90);
|
||||
color: rgb(245, 245, 255);
|
||||
&:focus {
|
||||
background: rgb(50, 50, 75);
|
||||
border: 2px solid rgb(60, 60, 90);
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
}
|
||||
.button {
|
||||
background: rgb(60, 60, 90);
|
||||
border: 0;
|
||||
&:hover {
|
||||
background: rgb(50, 50, 75);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.divider {
|
||||
border-bottom: 1px solid rgb(60, 60, 90);
|
||||
}
|
||||
.repository.list {
|
||||
.item {
|
||||
&:not(:first-child) {
|
||||
border-top: 1px solid rgb(60, 60, 90);
|
||||
}
|
||||
.header {
|
||||
a.name {
|
||||
i.archive.icon {
|
||||
color: rgb(215, 215, 225) !important;
|
||||
}
|
||||
}
|
||||
.metas {
|
||||
span {
|
||||
color: rgb(215, 215, 225) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
.description {
|
||||
p {
|
||||
color: rgb(245, 245, 255);
|
||||
&.time {
|
||||
color: rgb(215, 215, 225);
|
||||
}
|
||||
}
|
||||
.tags {
|
||||
a .label {
|
||||
background: rgb(60, 60, 90);
|
||||
color: rgb(245, 245, 255);
|
||||
&:hover {
|
||||
background: rgb(70, 70, 105);
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* explore: users */
|
||||
|
||||
.explore.users {
|
||||
.container {
|
||||
.user.list {
|
||||
.content {
|
||||
.header {
|
||||
color: rgb(245, 245, 255);
|
||||
}
|
||||
.description {
|
||||
color: rgb(245, 245, 255);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
1051
scss/import/repository.scss
Normal file
1051
scss/import/repository.scss
Normal file
File diff suppressed because it is too large
Load diff
217
scss/import/user.scss
Normal file
217
scss/import/user.scss
Normal file
|
@ -0,0 +1,217 @@
|
|||
|
||||
/* user: profile repositories / main */
|
||||
|
||||
.user {
|
||||
.container {
|
||||
.grid {
|
||||
.card {
|
||||
background: rgb(50, 50, 75);
|
||||
box-shadow: none;
|
||||
color: rgb(245, 245, 255);
|
||||
.content {
|
||||
.header {
|
||||
color: rgb(245, 245, 255);
|
||||
}
|
||||
}
|
||||
.extra.content {
|
||||
ul {
|
||||
color: rgb(245, 245, 255);
|
||||
li:not(:last-child) {
|
||||
border-bottom: 1px solid rgb(60, 60, 90);
|
||||
}
|
||||
a {
|
||||
color: rgb(255, 255, 255);
|
||||
&:hover {
|
||||
color: rgb(255, 130, 130);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.secondary.pointing.menu {
|
||||
background: rgb(70, 70, 105);
|
||||
border: 0;
|
||||
border-radius: 5px 5px 0 0;
|
||||
margin-top: -15px;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
padding: 0 20px;
|
||||
position: sticky;
|
||||
scrollbar-color: rgb(215, 215, 225) rgb(70, 70, 105);
|
||||
top: 0;
|
||||
transform: rotateX(180deg);
|
||||
z-index: 100;
|
||||
.item {
|
||||
border-bottom: 2px solid transparent;
|
||||
border-radius: 5px 5px 0 0;
|
||||
color: rgb(245, 245, 255);
|
||||
font-family: $font-family;
|
||||
margin-bottom: 10px;
|
||||
transform: rotateX(180deg);
|
||||
transition: background .2s, color .2s;
|
||||
&:hover {
|
||||
background: rgb(60, 60, 90);
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
&.active {
|
||||
border-bottom: 2px solid rgb(245, 245, 255);
|
||||
color: rgb(245, 245, 255);
|
||||
&:hover {
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
}
|
||||
@if $nojavascript == true {
|
||||
svg {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.label {
|
||||
background: rgb(245, 245, 255);
|
||||
color: rgb(70, 70, 105);
|
||||
}
|
||||
@if $singleuser == true {
|
||||
&[href*="stars"],
|
||||
&[href*="following"],
|
||||
&[href*="followers"] {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@if $nojavascript == true {
|
||||
.filter.menu {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
form.form {
|
||||
.input {
|
||||
input {
|
||||
background: rgb(40, 40, 60);
|
||||
border: 2px solid rgb(60, 60, 90);
|
||||
color: rgb(245, 245, 255);
|
||||
&:focus {
|
||||
background: rgb(50, 50, 75);
|
||||
border: 2px solid rgb(60, 60, 90);
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
}
|
||||
.button {
|
||||
background: rgb(60, 60, 90);
|
||||
border: 0;
|
||||
&:hover {
|
||||
background: rgb(50, 50, 75);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.divider {
|
||||
border-bottom: 1px solid rgb(60, 60, 90);
|
||||
}
|
||||
.repository.list {
|
||||
.item {
|
||||
&:not(:first-child) {
|
||||
border-top: 1px solid rgb(60, 60, 90);
|
||||
}
|
||||
.header {
|
||||
a.name {
|
||||
font-family: $font-family;
|
||||
i.archive.icon {
|
||||
color: rgb(215, 215, 225) !important;
|
||||
}
|
||||
}
|
||||
.metas {
|
||||
@if $singleuser == true {
|
||||
display: none;
|
||||
}
|
||||
span {
|
||||
color: rgb(215, 215, 225) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
.description {
|
||||
p {
|
||||
color: rgb(245, 245, 255);
|
||||
&.time {
|
||||
color: rgb(215, 215, 225);
|
||||
}
|
||||
}
|
||||
.tags {
|
||||
a .label {
|
||||
background: rgb(60, 60, 90);
|
||||
color: rgb(245, 245, 255);
|
||||
&:hover {
|
||||
background: rgb(70, 70, 105);
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* user: profile public activity */
|
||||
|
||||
.user.profile {
|
||||
.container {
|
||||
.grid {
|
||||
.feeds {
|
||||
.news {
|
||||
.content {
|
||||
span {
|
||||
color: rgb(215, 215, 225) !important;
|
||||
}
|
||||
}
|
||||
p.grey {
|
||||
span {
|
||||
color: rgb(215, 215, 225);
|
||||
}
|
||||
}
|
||||
.svg {
|
||||
fill: rgb(215, 215, 225);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* user: signin */
|
||||
|
||||
.user.signin {
|
||||
.container {
|
||||
.header {
|
||||
background: rgb(60, 60, 90);
|
||||
border: 0;
|
||||
color: rgb(245, 245, 255);
|
||||
}
|
||||
.segment {
|
||||
background: rgb(50, 50, 75);
|
||||
border: 0;
|
||||
color: rgb(245, 245, 255);
|
||||
.form {
|
||||
.field {
|
||||
label {
|
||||
color: rgb(245, 245, 255);
|
||||
&::after {
|
||||
color: rgb(255, 130, 130);
|
||||
}
|
||||
}
|
||||
input {
|
||||
background: rgb(40, 40, 60);
|
||||
}
|
||||
.green.button {
|
||||
background: rgb(80, 80, 120);
|
||||
box-shadow: none;
|
||||
color: rgb(245, 245, 255);
|
||||
&:hover {
|
||||
background: rgb(70, 70, 105);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in a new issue