Skip to content

Commit

Permalink
Merge pull request #950 from 42organization/GGFE-192-style-lint-error
Browse files Browse the repository at this point in the history
[GGFE-192] stylelint all 속성 순서 설정에 추가
  • Loading branch information
PHJoon authored Aug 22, 2023
2 parents 59c3643 + 106120c commit 0b4b69a
Show file tree
Hide file tree
Showing 15 changed files with 47 additions and 46 deletions.
1 change: 1 addition & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"declarations"
],
"order/properties-order": [
"all",
"position",
"top",
"right",
Expand Down
14 changes: 7 additions & 7 deletions styles/Layout/MegaPhone.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,20 @@
}

.content {
height: 1.1rem;
width: 95%;
display: flex;
justify-content: center;
align-items: center;
width: 95%;
height: 1.1rem;
font-size: 0.7rem;
white-space: nowrap;
justify-content: center;
align-items: center;
}

.intraId {
height: 1rem;
width: 50%;
display: flex;
width: 50%;
height: 1rem;
font-size: 0.5rem;
justify-content: center;
align-items: center;
font-size: 0.5rem;
}
2 changes: 1 addition & 1 deletion styles/Layout/MenuBar.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
font-size: 1.8rem;
}
button {
all: unset;
width: 1.2rem;
font-size: 1.5rem;
color: rgba(101, 97, 102, 1);
text-align: center;
text-shadow: none;
cursor: pointer;
all: unset;
}
}
.menuProfileWrapper {
Expand Down
2 changes: 1 addition & 1 deletion styles/Layout/NotiBar.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
.closeButtonWrapper {
padding-bottom: 1.4rem;
button {
all: unset;
width: 1.2rem;
margin-left: auto;
font-size: 1.5rem;
color: rgba(101, 97, 102, 1);
text-align: center;
text-shadow: none;
cursor: pointer;
all: unset;
}
}

Expand Down
2 changes: 1 addition & 1 deletion styles/ProfileColor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ $edge-skyblue: linear-gradient(
);

@mixin profileEdge($size) {
height: $size;
width: $size;
height: $size;
margin-top: 0.2rem;
margin-bottom: 0.2rem;
border-radius: 50%;
Expand Down
2 changes: 1 addition & 1 deletion styles/admin/announcement/AnnounceEdit.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
gap: 1rem;

button {
all: unset;
width: 5rem;
height: 2rem;
font-size: $small-font;
Expand All @@ -96,7 +97,6 @@
cursor: pointer;
background: gray;
border-radius: 0.5rem;
all: unset;
}

:nth-child(2) {
Expand Down
2 changes: 1 addition & 1 deletion styles/admin/modal/AdminNoti.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,11 @@
flex-wrap: wrap;

input {
all: unset;
width: calc(100% - 4rem);
padding: 0.5rem 0.8rem;
margin-left: 0.5rem;
color: black;
all: unset;
}
.icons {
span {
Expand Down
2 changes: 1 addition & 1 deletion styles/admin/season/SeasonCreate.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
align-items: center;

button {
all: unset;
width: 4rem;
height: 1.5rem;
font-size: $small-font;
Expand All @@ -48,6 +49,5 @@
cursor: pointer;
background: $btn-blue;
border-radius: 0.5rem;
all: unset;
}
}
2 changes: 1 addition & 1 deletion styles/admin/season/SeasonList.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
}

.editBtn {
all: unset;
width: 3rem;
height: 1.6rem;
margin: 0 0.2rem;
Expand All @@ -45,5 +46,4 @@
cursor: pointer;
background: $dark-gray;
border-radius: 0.5rem;
all: unset;
}
8 changes: 4 additions & 4 deletions styles/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -117,17 +117,18 @@ $text-shadow-blue: 2px 2px 0px $pp-blue;
}

@mixin match-noti-button {
all: unset;
padding: 0.2rem 0.5rem;
margin: 0.7rem 0;
font-weight: 700;
color: $light-gray;
text-align: center;
cursor: pointer;
background: rgba(255, 255, 255, 0.3);
all: unset;
}

@mixin reload-button {
all: unset;
width: 1.6rem;
height: 1.6rem;
font-weight: 700;
Expand All @@ -136,7 +137,6 @@ $text-shadow-blue: 2px 2px 0px $pp-blue;
cursor: pointer;
background: rgba(255, 255, 255, 0.3);
border-radius: 50%;
all: unset;
}

@mixin pageWrap {
Expand Down Expand Up @@ -176,6 +176,7 @@ $text-shadow-blue: 2px 2px 0px $pp-blue;
}

@mixin button($btn-color, $txt-color, $width: 8rem, $height: 2.8rem) {
all: unset;
width: $width;
height: $height;
font-size: $medium-font;
Expand All @@ -188,7 +189,6 @@ $text-shadow-blue: 2px 2px 0px $pp-blue;
$btn-color
);
border-radius: $small-radius;
all: unset;
}

@mixin select-buttons($width: 8rem, $height: 2.8rem) {
Expand Down Expand Up @@ -228,6 +228,7 @@ $text-shadow-blue: 2px 2px 0px $pp-blue;
}

@mixin modal-phrase {
margin: 1rem 0;
margin-bottom: 2rem;
text-align: center;
.emoji {
Expand All @@ -238,7 +239,6 @@ $text-shadow-blue: 2px 2px 0px $pp-blue;
margin-top: 0.5rem;
line-height: 1.5;
}
margin: 1rem 0;
}

@mixin modalContainer($type) {
Expand Down
2 changes: 1 addition & 1 deletion styles/main/SearchBar.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
justify-content: space-between;
align-items: center;
input {
all: unset;
box-sizing: border-box;
width: calc(100% - 4rem);
padding: 0.7rem 0.5rem;
color: #ffffff;
all: unset;
&::placeholder {
color: #1f0b36;
}
Expand Down
2 changes: 1 addition & 1 deletion styles/match/MatchBoard.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
}

.slotButton {
all: unset;
display: flex;
height: 2.3rem;
padding: 0 0.6rem;
margin: 0.1rem;
cursor: pointer;
border-radius: $mini-radius;
all: unset;
justify-content: space-between;
align-items: center;

Expand Down
36 changes: 18 additions & 18 deletions styles/modal/store/GachaBall.module.scss
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
@mixin ball($color, $outline, $angle) {
position: absolute;
width: 3rem;
height: 3rem;
border-radius: 100%;
overflow: hidden;
background-color: $color;
border: solid 0.25rem $outline;
position: absolute;
overflow: hidden;
border-radius: 100%;
transform: rotate($angle);

&::after {
content: '';
display: block;
position: absolute;
top: 50%;
height: 200%;
display: block;
width: 200%;
height: 200%;
content: '';
background-color: #f7fcff;
border-radius: 100%;
border: inherit;
border-radius: 100%;
transform: translate(17%, -55%);
}
}
Expand All @@ -31,63 +31,63 @@
background-color: #38f3fd49;
border: 0.625rem solid #b2c9f7;
border-radius: 15%;
opacity: 0.8;
box-shadow: 0 0.625rem 1.25rem rgb(255, 255, 255) inset;
opacity: 0.8;
.balls {
position: relative;
.ball0 {
@include ball(#ec6767, #d14040, 90deg);
margin-top: 45%;
right: 18%;
margin-top: 45%;
}
.ball1 {
@include ball(#2facff, #3660bb, 60deg);
margin-top: 65%;
}
.ball2 {
@include ball(#2fffc8, #1f9978, 230deg);
margin-top: 48%;
left: 33%;
margin-top: 48%;
}
.ball3 {
@include ball(#e7ff2f, #abbd20, 210deg);
margin-top: 67%;
left: 50%;
margin-top: 67%;
}
.ball4 {
@include ball(#eb7bff, #e23eff, 40deg);
margin-top: 70%;
left: 30%;
margin-top: 70%;
}
.ball5 {
@include ball(#0aaf46, #02501f, 230deg);
margin-top: 41%;
left: 1%;
margin-top: 41%;
}
.ball6 {
@include ball(#fffc68, #e5e11e, 200deg);
margin-top: 40%;
right: 1%;
margin-top: 40%;
}
.ball7 {
@include ball(#b943f4, #66127d, 180deg);
margin-top: 71%;
left: 10%;
margin-top: 71%;
}
.ball8 {
@include ball(#ff2f47, #911a28, 80deg);
margin-top: 50%;
left: 13%;
margin-top: 50%;
}
.ball9 {
@include ball(#090488, #04023f, 100deg);
margin-top: 55%;
right: 5%;
margin-top: 55%;
}
.ball10 {
@include ball(#ff7b2f, #d94f00, 270deg);
margin-top: 71%;
right: 2%;
margin-top: 71%;
}
}
}
Expand Down
12 changes: 6 additions & 6 deletions styles/modal/store/InventoryModal.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@
.idPreviewContainer {
.title {
margin: 0 0 0.3rem 0.5rem;
color: $dark-gray;
font-size: $small-font;
color: $dark-gray;
}
}

Expand All @@ -81,22 +81,22 @@
img {
width: 5.5rem;
height: 5.5rem;
border-radius: 50%;
overflow: hidden;
border-radius: 50%;
object-fit: cover;
}
svg {
margin: 0 1.5rem;
}
.profilePreview {
display: flex;
justify-content: center;
align-items: center;
width: 5.5rem;
height: 5.5rem;
border-radius: 50%;
background-color: #c7b1ee;
cursor: pointer;
background-color: #c7b1ee;
border-radius: 50%;
justify-content: center;
align-items: center;
svg {
width: 2.5rem;
height: 2.5rem;
Expand Down
4 changes: 2 additions & 2 deletions styles/rank/RankList.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@
}
}
.statusMessage {
justify-self: left;
max-width: 100%;
color: $dark-gray;
overflow: hidden;
color: $dark-gray;
text-overflow: ellipsis;
white-space: nowrap;
justify-self: left;
}
.ppp {
font-weight: 600;
Expand Down

0 comments on commit 0b4b69a

Please sign in to comment.