mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-28 17:01:16 +00:00
Fix Styling (#758)
* style: ensure consistent indentation * style: add spacing * style: add newlines * style: simplify html * fix: update javascript indent size in contribution guidelines
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;500&display=swap");
|
||||
|
||||
:root {
|
||||
--primary-bg: rgba(23, 23, 23, 90%);
|
||||
--active-bg: #dc143c;
|
||||
@@ -15,6 +16,7 @@
|
||||
font-family: "Poppins", sans-serif !important;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.text {
|
||||
position: absolute;
|
||||
background: var(--primary-bg);
|
||||
@@ -47,11 +49,13 @@
|
||||
left: 45vw;
|
||||
top: -100px;
|
||||
}
|
||||
|
||||
.top.show {
|
||||
transition: 0.5s;
|
||||
top: 10px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.top.hide {
|
||||
transition: 0.5s;
|
||||
top: -100px;
|
||||
@@ -62,11 +66,13 @@
|
||||
top: 50%;
|
||||
right: -100px;
|
||||
}
|
||||
|
||||
.right.show {
|
||||
transition: 0.5s;
|
||||
right: 10px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.right.hide {
|
||||
transition: 0.5s;
|
||||
right: -100px;
|
||||
@@ -83,8 +89,9 @@
|
||||
left: 10px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.left.hide {
|
||||
transition: 0.5s;
|
||||
left: -100px;
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
+6
-6
@@ -10,7 +10,7 @@ html::-webkit-scrollbar {
|
||||
border-left: 0.5rem solid #20bb44;
|
||||
font-size: 1.5vh;
|
||||
}
|
||||
|
||||
|
||||
.primary {
|
||||
background-color: rgba(23, 23, 23, 90%);
|
||||
border-radius: 10px;
|
||||
@@ -18,7 +18,7 @@ html::-webkit-scrollbar {
|
||||
border-left: 5px solid #1c75d2;
|
||||
font-size: 1.5vh;
|
||||
}
|
||||
|
||||
|
||||
.error {
|
||||
background-color: rgba(23, 23, 23, 90%);
|
||||
border-radius: 10px;
|
||||
@@ -26,7 +26,7 @@ html::-webkit-scrollbar {
|
||||
border-left: 5px solid #c10114;
|
||||
font-size: 1.5vh;
|
||||
}
|
||||
|
||||
|
||||
.police {
|
||||
background-color: rgba(23, 23, 23, 90%);
|
||||
border-radius: 10px;
|
||||
@@ -34,7 +34,7 @@ html::-webkit-scrollbar {
|
||||
border-left: 5px solid #2197f2;
|
||||
font-size: 1.5vh;
|
||||
}
|
||||
|
||||
|
||||
.ambulance {
|
||||
background-color: rgba(23, 23, 23, 90%);
|
||||
border-radius: 10px;
|
||||
@@ -42,7 +42,7 @@ html::-webkit-scrollbar {
|
||||
border-left: 5px solid #f44236;
|
||||
font-size: 1.5vh;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
.success {
|
||||
@@ -78,4 +78,4 @@ html::-webkit-scrollbar {
|
||||
border-radius: 10px;
|
||||
box-shadow: 0rem 0rem 0.1rem 0.05rem #000000;
|
||||
border-left: 5px solid #f44236;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user