-
Notifications
You must be signed in to change notification settings - Fork 20
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 #22 from mendix/previews
Updated previews
- Loading branch information
Showing
7 changed files
with
74 additions
and
87 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
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
43 changes: 16 additions & 27 deletions
43
styles/sass/lib/layouts/_layout-atlas-device-wrapper.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,51 +1,40 @@ | ||
.devicephone { | ||
width: 375px; | ||
height: 765px; | ||
width: 340px; | ||
height: 600px; | ||
margin: auto; | ||
padding: 120px 40px; | ||
background: url(../../../resources/phone.png) no-repeat center center; | ||
|
||
.deviceframe, | ||
.deviceshadowwrapper { | ||
border-radius: 28px; | ||
} | ||
} | ||
|
||
.devicetablet { | ||
width: 1005px; | ||
height: 780px; | ||
width: 1015px; | ||
height: 765px; | ||
margin: auto; | ||
padding: 120px 100px; | ||
padding: 80px 40px; | ||
background: url(../../../resources/tablet.png) no-repeat center center; | ||
|
||
.deviceframe { | ||
border-radius: 20px; | ||
} | ||
} | ||
|
||
.deviceframe { | ||
width: 100%; | ||
height: 100%; | ||
border: none; | ||
} | ||
.deviceshadowwrapper { | ||
position: relative; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
.deviceshadow { | ||
position: absolute; | ||
z-index: 2; | ||
top: 0; | ||
right: 0; | ||
bottom: 0; | ||
left: 0; | ||
content: ""; | ||
pointer-events: none; | ||
box-shadow: inset 10px 0 10px -10px black, inset -10px 0 10px -10px black; | ||
} | ||
|
||
.devicedisclaimer { | ||
margin-top: 80px; | ||
padding: 10px; | ||
text-align: center; | ||
color: $gray-light; | ||
border-top: 1px solid $border-color-default; | ||
font-size: 12px; | ||
line-height: 20px; | ||
} | ||
.devicephone .devicedisclaimer { | ||
margin-top: 120px; | ||
} | ||
.devicetablet .devicedisclaimer { | ||
margin-top: 80px; | ||
} |