mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
made global less styles
This commit is contained in:
parent
c2f42ea721
commit
4e18eba558
15 changed files with 2846 additions and 2799 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
:global {
|
||||||
.button {
|
.button {
|
||||||
background: #444444;
|
background: #444444;
|
||||||
padding: 4px 16px;
|
padding: 4px 16px;
|
||||||
|
@ -68,3 +69,4 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
:global {
|
||||||
.dialog {
|
.dialog {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
@ -211,6 +212,7 @@
|
||||||
.spin {
|
.spin {
|
||||||
animation: spin infinite reverse 2s linear;
|
animation: spin infinite reverse 2s linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dialog-maplist-icon {
|
.dialog-maplist-icon {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
|
@ -539,3 +541,4 @@
|
||||||
padding: 5px 0;
|
padding: 5px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
:global {
|
||||||
.gpx-title {
|
.gpx-title {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
@ -97,3 +98,4 @@
|
||||||
background: lighten(@bar_background, 10%);
|
background: lighten(@bar_background, 10%);
|
||||||
box-shadow: rgba(0, 0, 0, 0.5) 0 5px 5px 10px;
|
box-shadow: rgba(0, 0, 0, 0.5) 0 5px 5px 10px;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
:global {
|
||||||
.logo-preview {
|
.logo-preview {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
@ -20,5 +21,4 @@
|
||||||
transform-origin: 100% 100%;
|
transform-origin: 100% 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
@import 'switch.less';
|
@import 'switch.less';
|
||||||
@import 'gpx.less';
|
@import 'gpx.less';
|
||||||
|
|
||||||
|
:global {
|
||||||
body {
|
body {
|
||||||
font-family: 'Rubik', sans-serif;
|
font-family: 'Rubik', sans-serif;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
|
@ -123,11 +124,15 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: @mobile_breakpoint) {
|
@media (max-width: @mobile_breakpoint) {
|
||||||
.desktop-only { display: none; }
|
.desktop-only {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: @mobile_breakpoint) {
|
@media (min-width: @mobile_breakpoint) {
|
||||||
.mobile-only { display: none; }
|
.mobile-only {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
|
@ -165,3 +170,4 @@ input {
|
||||||
.justify-end {
|
.justify-end {
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
:global {
|
||||||
#map {
|
#map {
|
||||||
width: 50% !important;
|
width: 50% !important;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
@ -363,4 +364,4 @@
|
||||||
stroke-width: 0.2px;
|
stroke-width: 0.2px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
:global {
|
||||||
.control-bar {
|
.control-bar {
|
||||||
background: @bar_background;
|
background: @bar_background;
|
||||||
border-radius: @panel_radius;
|
border-radius: @panel_radius;
|
||||||
|
@ -792,3 +793,4 @@
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
:global {
|
||||||
.progress {
|
.progress {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -14,3 +15,4 @@
|
||||||
transition: width 500ms;
|
transition: width 500ms;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
:global {
|
||||||
.renderer-shade {
|
.renderer-shade {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
@ -51,3 +52,4 @@
|
||||||
|
|
||||||
transform-origin: 100% 100%;
|
transform-origin: 100% 100%;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
:global {
|
||||||
.router-waypoint {
|
.router-waypoint {
|
||||||
width: 40px;
|
width: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
|
@ -39,3 +40,4 @@
|
||||||
.router-helper__button {
|
.router-helper__button {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
:global {
|
||||||
.save-helper {
|
.save-helper {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -14,8 +15,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes jump {
|
@keyframes jump {
|
||||||
0% { transform: translate3d(0, 0, 0) scale(0.5); }
|
0% {
|
||||||
100% { transform: translate3d(0, -20px, 0) scale(1); }
|
transform: translate3d(0, 0, 0) scale(0.5);
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
transform: translate3d(0, -20px, 0) scale(1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.save-loader {
|
.save-loader {
|
||||||
|
@ -40,8 +45,13 @@
|
||||||
svg {
|
svg {
|
||||||
fill: white;
|
fill: white;
|
||||||
|
|
||||||
&:nth-child(2) { animation-delay: 200ms; }
|
&:nth-child(2) {
|
||||||
&:nth-child(3) { animation-delay: 400ms; }
|
animation-delay: 200ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:nth-child(3) {
|
||||||
|
animation-delay: 400ms;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
|
@ -123,6 +133,7 @@
|
||||||
fill: white;
|
fill: white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.save-text {
|
.save-text {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
line-height: 1.1em;
|
line-height: 1.1em;
|
||||||
|
@ -171,3 +182,4 @@
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
@ease-out-quint : cubic-bezier(0.23, 1, 0.32, 1);
|
@ease-out-quint : cubic-bezier(0.23, 1, 0.32, 1);
|
||||||
@ease-in-quint : cubic-bezier(0.755, 0.05, 0.855, 0.06);
|
@ease-in-quint : cubic-bezier(0.755, 0.05, 0.855, 0.06);
|
||||||
|
|
||||||
|
:global {
|
||||||
.borderBox() {
|
.borderBox() {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); // remove tap highlight color for mobile safari
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); // remove tap highlight color for mobile safari
|
||||||
|
@ -138,6 +139,7 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
|
||||||
&-active {
|
&-active {
|
||||||
// border-color: tint(@primary-color, 50%);
|
// border-color: tint(@primary-color, 50%);
|
||||||
background-color: white;
|
background-color: white;
|
||||||
|
@ -204,9 +206,11 @@
|
||||||
&-dot {
|
&-dot {
|
||||||
left: 2px;
|
left: 2px;
|
||||||
margin-bottom: -4px;
|
margin-bottom: -4px;
|
||||||
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
margin-bottom: -4px;
|
margin-bottom: -4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
margin-bottom: -4px;
|
margin-bottom: -4px;
|
||||||
}
|
}
|
||||||
|
@ -337,3 +341,4 @@
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
:global {
|
||||||
.leaflet-dragging .sticker-container {
|
.leaflet-dragging .sticker-container {
|
||||||
transition: none !important;
|
transition: none !important;
|
||||||
}
|
}
|
||||||
|
@ -261,3 +262,4 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
:global {
|
||||||
.switch {
|
.switch {
|
||||||
height: 1em;
|
height: 1em;
|
||||||
width: 2em;
|
width: 2em;
|
||||||
|
@ -30,3 +31,4 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
:global {
|
||||||
.user-bar {
|
.user-bar {
|
||||||
// width: 160px;
|
// width: 160px;
|
||||||
|
|
||||||
|
@ -5,6 +6,7 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-bar-guest {
|
.user-bar-guest {
|
||||||
// width: 168px;
|
// width: 168px;
|
||||||
@media (min-width: @mobile_breakpoint) {
|
@media (min-width: @mobile_breakpoint) {
|
||||||
|
@ -90,6 +92,7 @@
|
||||||
z-index: 4;
|
z-index: 4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-panel-title {
|
.user-panel-title {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
@ -154,3 +157,4 @@
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue