-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #454 from strapi/install-plugin
Install plugin
- Loading branch information
Showing
6 changed files
with
116 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
153 changes: 95 additions & 58 deletions
153
packages/strapi-helper-plugin/lib/src/components/PopUpWarning/styles.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,114 +1,151 @@ | ||
.popUpWarning { /* stylelint-disable */ | ||
width: 37.5rem!important; | ||
-webkit-font-smoothing: antialiased !important; | ||
} | ||
|
||
.header { | ||
border: none!important; | ||
margin-left: 30px; | ||
margin-right: 30px; | ||
padding-bottom: 11px !important; | ||
border-bottom: 1px solid #F6F6F6; | ||
|
||
> h4 { | ||
width: 100%; | ||
text-align: center; | ||
font-family: Lato; | ||
font-weight: bold!important; | ||
font-size: 1.8rem!important; | ||
} | ||
|
||
> button { | ||
margin-right: 0!important; | ||
color: #C3C5C8; | ||
opacity: 1; | ||
font-size: 1.8rem; | ||
font-weight: 100; | ||
z-index: 999; | ||
cursor: pointer; | ||
|
||
> span { | ||
display: none; | ||
} | ||
|
||
&:hover, &:focus { | ||
color: #C3C5C8; | ||
opacity: 1; | ||
outline: 0!important; | ||
} | ||
|
||
&:before { | ||
content: '\F00d'; | ||
position: absolute; | ||
top: 14px; | ||
right: 14px; | ||
font-family: 'FontAwesome'; | ||
font-weight: 400; | ||
font-size: 1.2rem; | ||
} | ||
} | ||
} | ||
.modalPosition { | ||
top: 16.8rem; | ||
left: 18.2rem; | ||
margin-top: 0 !important; | ||
|
||
.modalPosition { | ||
> div { | ||
width: 37.5rem; | ||
padding: 0 !important; | ||
border:none; | ||
border-radius: 2px; | ||
width: 37.5rem; | ||
padding: 0; | ||
} | ||
} | ||
.modalDangerBodyContainer { | ||
padding-top: .1rem; | ||
|
||
.modalBodyContainer { | ||
padding: .1rem; | ||
color: #F64D0A; | ||
text-align: center; | ||
font-family: Lato; | ||
font-size: 1.3rem; | ||
|
||
> img { | ||
width: 2.5rem; | ||
margin-bottom: 1.5rem; | ||
} | ||
|
||
> p { | ||
line-height: 1.8rem; | ||
} | ||
color: #F64D0A; | ||
text-align: center; | ||
font-family: Lato; | ||
font-size: 1.3rem; | ||
} | ||
|
||
.modalBody { | ||
padding: 16px 30px 15px 30px !important; | ||
} | ||
|
||
|
||
.buttonContainer { | ||
width: 100%; | ||
padding: 0 .5rem; | ||
display: flex; | ||
margin-top: 3.5rem; | ||
width: 100%; | ||
margin-top: 37px; | ||
justify-content: space-between; | ||
|
||
> button { | ||
position: relative; | ||
height: 3rem; | ||
width: 15rem; | ||
position: relative; | ||
border-radius: 0.3rem; | ||
text-transform: capitalize; | ||
background-color: transparent; | ||
cursor: pointer; | ||
text-transform: capitalize; | ||
font-family: Lato; | ||
&:focus { | ||
outline: 0; | ||
} | ||
cursor: pointer; | ||
|
||
> i { | ||
margin-right: 1.3rem; | ||
} | ||
|
||
&:focus { | ||
outline: 0; | ||
} | ||
&:hover { | ||
&::after { | ||
position: absolute; | ||
width: 100%; | ||
height: 100%; | ||
top: 0; | ||
left: 0; | ||
border-radius: 0.3rem; | ||
content: ''; | ||
opacity: 0.1; | ||
background: #FFFFFF; | ||
} | ||
} | ||
&::after { | ||
content: ''; | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
border-radius: 0.3rem; | ||
background: #FFFFFF; | ||
opacity: 0.1; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.primary { | ||
font-weight: 500; | ||
border: none !important; | ||
background: linear-gradient(315deg, #0097F6 0%, #005EEA 100%); | ||
-webkit-font-smoothing: antialiased; | ||
color: white !important; | ||
border: none !important; | ||
font-weight: 500; | ||
|
||
&:active, &:focus, &:hover { | ||
box-shadow: inset 1px 1px 3px rgba(0,0,0,.15); | ||
background: linear-gradient(315deg, #0097F6 0%, #005EEA 100%); | ||
background-color: transparent; | ||
border: none; | ||
} | ||
background-color: transparent; | ||
background: linear-gradient(315deg, #0097F6 0%, #005EEA 100%); | ||
box-shadow: inset 1px 1px 3px rgba(0,0,0,.15); | ||
} | ||
-webkit-font-smoothing: antialiased; | ||
} | ||
|
||
.secondary { | ||
// height: 32px !important; | ||
color: #F64D0A !important; | ||
border: 0.1rem solid #F64D0A !important; | ||
position: relative; | ||
border: 0.1rem solid #F64D0A !important; | ||
border-radius: 3px; | ||
color: #F64D0A !important; | ||
overflow: hidden; | ||
|
||
&:active { | ||
border: 0.15rem solid #F64D0A; | ||
} | ||
&:focus, &:hover { | ||
background-color: transparent !important; | ||
color: #F64D0A; | ||
border: 0.1rem solid #F64D0A; | ||
} | ||
} | ||
.bordered { | ||
margin-top: -.4rem; | ||
margin-left: 3rem; | ||
margin-right: 3rem; | ||
border: 1px solid #F6F6F6; | ||
border: 0.15rem solid #F64D0A; | ||
} | ||
|
||
&:focus, &:hover { | ||
border: 0.1rem solid #F64D0A; | ||
background-color: transparent !important; | ||
color: #F64D0A; | ||
} | ||
} |