Skip to content
Snippets Groups Projects
page.css 22.6 KiB
Newer Older
Augustin Lemesle's avatar
Augustin Lemesle committed
/* Paths */
/* Colors */
/* Global Media Queries */
/* Direction */
/* Default Page styles */
.defaultPage {
  display: flex;
  color: #333;
  font-size: 14px;
  text-align: center;
  min-height: 100%;
  max-width: 100vw;
  padding: 20px 0 120px;
}
@media (min-width: 1024px) {
  .defaultPage {
    font-size: 15px;
    padding-top: 30px;
  }
}
@media (min-width: 1600px) {
  .defaultPage {
    font-size: 16px;
  }
}
.defaultPage h1 {
  margin: 0;
  padding: 15px 0 25px;
  font-size: 20px;
  text-transform: uppercase;
}
@media (min-width:  768px) {
  .defaultPage h1 {
    margin: 0;
    padding: 18px 0 32px;
    font-size: 25px;
    text-transform: uppercase;
  }
}
@media (min-width: 1600px) {
  .defaultPage h1 {
    font-size: 28px;
  }
}
.defaultPage h1 strong {
  font-size: 115%;
  font-weight: 700;
}
.defaultPage h5 {
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 14px;
}
@media (min-width:  768px) {
  .defaultPage h5 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 20px;
  }
}
@media (min-width: 1280px) {
  .defaultPage h5 {
    font-size: 19px;
  }
}
.defaultPage h3 {
  font-size: 18px;
}
@media (min-width:  768px) {
  .defaultPage h3 {
    font-size: 21px;
  }
}
@media (min-width: 1600px) {
  .defaultPage h3 {
Allan Blanchard's avatar
Allan Blanchard committed
    font-size: 24px;
Augustin Lemesle's avatar
Augustin Lemesle committed
  }
}
.defaultPage article {
  margin: auto;
  position: relative;
  z-index: 2;
}
.defaultPage .pageWrapper {
  padding: 0 15px 40px;
  margin: 0 auto;
  max-width: 1260px;
}
@media (min-width:  768px) {
  .defaultPage .pageWrapper {
    padding-bottom: 20px;
  }
}
.ie10 .versionsPage,
.ie11 .versionsPage,
.ie10 .authorsPage,
.ie11 .authorsPage {
  display: block;
  text-align: center;
}
.ie10 .versionsPage:before,
.ie11 .versionsPage:before,
.ie10 .authorsPage:before,
.ie11 .authorsPage:before {
  display: inline-block;
  vertical-align: middle;
  content: '';
  height: 70vh;
}
.ie10 .versionsPage > div,
.ie11 .versionsPage > div,
.ie10 .authorsPage > div,
.ie11 .authorsPage > div,
.ie10 .versionsPage > article,
.ie11 .versionsPage > article,
.ie10 .authorsPage > article,
.ie11 .authorsPage > article {
  display: inline-block;
  vertical-align: middle;
  text-align: left;
}
/* Author Page */
@media (min-width:  768px) {
  .authorPageContent {
    width: 90%;
  }
}
@media (min-width: 1280px) {
  .authorPageContent {
    width: 810px;
  }
}
@media (min-width: 1600px) {
  .authorPageContent {
    width: 850px;
  }
}
.authorPageContent nav a {
  color: #333;
  transition: all 0.1s;
Augustin Lemesle's avatar
Augustin Lemesle committed
}
.nonTouch .authorPageContent nav a:hover {
  color: #f36521;
}
.authorPageContent h5 {
  font-size: 110%;
}
.authorPageContent .contentInfoBox + .contentInfoBox {
  margin-top: 60px;
}
@media (min-width:  768px) {
  .authorPageContent .contentInfoBox + .contentInfoBox {
    margin-top: 75px;
  }
}
@media (min-width: 1890px) {
  .authorPageContent .contentInfoBox + .contentInfoBox {
    margin-top: 90px;
  }
}
@media (min-width: 1890px) {
  .authorPageContent .contentInfoBox {
    margin-top: 20px;
  }
}
.authorPageContent .authorInfo {
  margin-bottom: 15px;
}
.authorPageContent .authorInfo p {
  display: table;
  margin: 7px auto;
}
.authorPageContent .authorInfo .title {
  display: block;
  font-size: 110%;
  font-weight: 600;
}
.authorPageContent .authorInfo img {
  height: 50px;
}
@media (min-width:  768px) {
  .authorList {
    padding-top: 5px;
  }
  .authorList .authorInfo {
    text-align: left;
    display: inline-block;
Augustin Lemesle's avatar
Augustin Lemesle committed
    vertical-align: top;
    padding: 0 8px 12px;
  }
  .authorList .authorInfo p {
    display: block;
  }
}
@media (min-width: 1024px) {
  .authorList .authorInfo {
Augustin Lemesle's avatar
Augustin Lemesle committed
    padding: 0 14px 12px;
  }
}
@media (min-width: 1280px) {
  .authorList .authorInfo .title {
    margin-bottom: 4px;
  }
}
/* Usage Page styles */
.usagePage {
  padding-top: 0;
  overflow: hidden;
}
.usagePageContent {
  text-align: left;
}
.codeDemoHead {
  background: #fff;
  color: #fff;
  box-shadow: 0 12px 30px 0 rgba(0, 0, 0, 0.25);
}
@media (min-width:  768px) {
  .codeDemoHead {
    margin: 30px auto 0;
    width: 86%;
    max-width: 1260px;
  }
}
@media (min-width: 1024px) {
  .codeDemoHead {
    box-shadow: rgba(0, 0, 0, 0.3) 0px 54px 70px 0px;
    width: 74%;
  }
}
.codeDemoHead .tabletScreen {
  width: 290px;
  padding-bottom: 170px;
}
@media (min-width: 360px) {
  .codeDemoHead .tabletScreen {
    width: 330px;
    padding-bottom: 190px;
  }
}
@media (min-width:  768px) {
  .codeDemoHead .tabletScreen {
    width: 440px;
    padding-bottom: 254px;
  }
}
@media (min-width: 1600px) {
  .codeDemoHead .tabletScreen {
    width: 700px;
    padding-bottom: 400px;
  }
}
@media (min-width: 1890px) {
  .codeDemoHead .tabletScreen {
    width: 810px;
    padding-bottom: 464px;
  }
}
.codeDemoHead .tabletScreen .code {
  line-height: 11px;
  top: 0;
  margin-top: 10%;
}
@media (min-width:  768px) {
  .codeDemoHead .tabletScreen .code {
    line-height: 1.1;
  }
}
.codeDemoHead figure img {
  display: block;
  margin: 0 auto;
}
.contentWrap {
  padding: 0 15px;
}
@media (min-width:  768px) {
  .contentWrap {
    padding: 0;
    margin-left: auto;
    margin-right: auto;
    width: 86%;
    max-width: 1260px;
  }
}
@media (min-width: 1024px) {
  .contentWrap {
    width: 74%;
  }
}
.contentFluid {
  width: 100vw;
  display: block;
  clear: both;
}
.paragraphGroup {
  margin-bottom: 46px;
}
@media (min-width:  768px) {
  .paragraphGroup {
    margin-bottom: 55px;
  }
}
@media (min-width: 1600px) {
  .paragraphGroup {
    margin-bottom: 68px;
  }
}
@media (min-width: 1890px) {
  .paragraphGroup {
    margin-bottom: 75px;
  }
}
.paragraphGroup h3 {
  color: #484848;
  margin: 0 0 23px;
}
@media (min-width:  768px) {
  .paragraphGroup h3 {
    margin-bottom: 32px;
  }
}
@media (min-width: 1600px) {
  .paragraphGroup h3 {
    margin-bottom: 42px;
  }
}
.paragraphGroup p {
  margin: 0 0 15px;
}
@media (min-width:  768px) {
  .paragraphGroup p {
    margin-bottom: 20px;
  }
}
.paragraphGroup:first-child {
  margin-top: 35px;
}
@media (min-width:  768px) {
  .paragraphGroup:first-child {
    margin-top: 55px;
  }
}
@media (min-width: 1600px) {
  .paragraphGroup:first-child {
    margin-top: 68px;
  }
}
@media (min-width: 1890px) {
  .paragraphGroup:first-child {
    margin-top: 75px;
  }
}
@media (min-width: 1024px) {
  .paragraphGroup.splitBox {
    display: flex;
    align-items: center;
  }
  .paragraphGroup.splitBox h3 {
    word-break: break-word;
    padding-right: 20px;
    width: 25%;
    max-width: 25%;
    flex: 0 1 25%;
  }
  .paragraphGroup.splitBox > div {
    width: 75%;
    max-width: 75%;
    flex: 0 1 75%;
  }
}
.recommendBlock {
  background: #f6f6f6;
  padding: 25px 0;
  margin-bottom: 15px;
}
@media (min-width:  768px) {
  .recommendBlock {
    padding: 40px 0 30px;
    margin-bottom: 50px;
  }
}
@media (min-width: 1024px) {
  .recommendBlock {
    padding: 50px 0 45px;
    margin-bottom: 60px;
  }
}
@media (min-width: 1600px) {
  .recommendBlock {
    padding: 60px 0;
    margin-bottom: 90px;
  }
}
.recommendBlock h3 {
  margin: 0;
}
.recommendBlock .swiper-button-next,
.recommendBlock .swiper-button-prev {
  color: #cdb178;
  font-size: 42px;
  text-shadow: 0 0 1px;
}
.recommendBlock .swiper-button-prev {
  left: -10px;
}
.recommendBlock .swiper-button-next {
  right: -10px;
}
.caseStudyItem {
  padding: 30px 0;
  text-align: center;
}
@media (min-width:  768px) {
  .caseStudyItem {
    width: 570px;
    text-align: left;
    margin: 0 auto;
  }
}
@media (min-width: 1024px) {
  .caseStudyItem {
    width: 720px;
  }
}
@media (min-width: 1600px) {
  .caseStudyItem {
    width: 810px;
    padding: 30px 0 40px;
  }
}
@media (min-width: 1890px) {
  .caseStudyItem {
    width: 850px;
  }
}
.caseStudyItem figure {
  background: #fff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
  display: inline-block;
  position: relative;
  width: 200px;
  height: 215px;
  margin-bottom: 30px;
}
@media (min-width:  768px) {
  .caseStudyItem figure {
    box-shadow: 12px 12px 36px rgba(0, 0, 0, 0.1);
    display: inline-block;
    vertical-align: top;
    margin: 0;
  }
}
@media (min-width: 1600px) {
  .caseStudyItem figure {
    width: 230px;
    height: 242px;
  }
}
@media (min-width: 1890px) {
  .caseStudyItem figure {
    width: 250px;
    height: 270px;
  }
}
.caseStudyItem figure .img {
  background-color: #fff;
}
.caseStudyItem h4 {
  margin: 0 0 15px;
  font-size: 18px;
  text-transform: uppercase;
}
@media (min-width: 1024px) {
  .caseStudyItem h4 {
    font-size: 23px;
  }
}
@media (min-width: 1600px) {
  .caseStudyItem h4 {
    font-size: 26px;
  }
}
@media (min-width: 1890px) {
  .caseStudyItem h4 {
    font-size: 28px;
  }
}
.caseStudyItem p {
  margin: 0 0 20px;
}
.caseStudyItem > div {
  padding: 0 20px;
}
@media (min-width:  768px) {
  .caseStudyItem > div {
    display: inline-block;
    vertical-align: top;
    width: 364px;
    padding-top: 10px;
    padding-right: 10px;
  }
}
@media (min-width: 1024px) {
  .caseStudyItem > div {
    width: 510px;
    padding-left: 30px;
  }
}
@media (min-width: 1600px) {
  .caseStudyItem > div {
    width: 570px;
    padding: 12px 20px 0 50px;
  }
}
@media (min-width: 1890px) {
  .caseStudyItem > div {
    width: 580px;
    padding: 14px 20px 0 54px;
  }
}
/* Case study page */
.caseStudyPage {
  display: block;
  text-align: left;
  padding-top: 20px;
  padding-top: 10px;
}
.breadcrumb {
  margin-top: 10px;
  margin-bottom: 10px;
}
@media (min-width: 1024px) {
  .breadcrumb.backNavigation {
    position: absolute;
    transform: translateX(-100%);
    width: auto;
    margin: 0;
    padding-right: 20px;
    font-size: 84%;
  }
}
.backLink {
  color: #c19e56;
  font-weight: 600;
  font-size: 110%;
  transition: all 0.1s;
Augustin Lemesle's avatar
Augustin Lemesle committed
}
.nonTouch .backLink:hover {
  color: #f36521;
}
.backLink i {
  font-size: 80%;
  text-shadow: 0 1px 0;
}
@media (min-width: 1024px) {
  .backLink i {
    margin-right: 5px;
  }
}
Augustin Lemesle's avatar
Augustin Lemesle committed
.backLink2 {
  color: #c19e56;
  font-weight: 600;
  font-size: 110%;
  transition: all 0.1s;
Augustin Lemesle's avatar
Augustin Lemesle committed
}
.nonTouch .backLink2:hover {
  color: #f36521;
}
.backLink2 i {
  font-size: 80%;
  text-shadow: 0 1px 0;
}
@media (min-width: 1024px) {
  .backLink2 i {
    margin-right: 5px;
  }
}
Augustin Lemesle's avatar
Augustin Lemesle committed
@media (min-width:  768px) {
  .videoHead {
    margin: 20px auto 0;
    width: 86%;
    max-width: 1260px;
  }
}
@media (min-width: 1024px) {
  .videoHead {
    width: 74%;
    margin-top: 35px;
    margin-bottom: 45px;
  }
}
.videoHead figure {
  box-shadow: 0 12px 30px 0 rgba(0, 0, 0, 0.25);
  position: relative;
  width: 100%;
  padding-bottom: 56.7%;
}
@media (min-width: 1024px) {
  .videoHead figure {
    box-shadow: 0 54px 70px 0 rgba(0, 0, 0, 0.3);
    padding-bottom: 42%;
  }
}
.videoHead iframe,
.videoHead video,
.videoHead img,
.videoHead .img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
}
.caseStudyHead {
  text-align: center;
  margin: 20px 0 0;
}
@media (min-width: 1024px) {
  .caseStudyHead {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.caseStudyHead .img {
  background-size: contain;
  mix-blend-mode: color;
  display: inline-block;
  width: 180px;
  height: 45px;
  vertical-align: middle;
}
@media (min-width: 1280px) {
  .caseStudyHead .img {
    width: 160px;
    height: 54px;
  }
}
.caseStudyHead img {
  height: 50px;
}
@media (min-width: 1024px) {
  .caseStudyHead img {
    display: inline-block;
    vertical-align: middle;
    margin-left: 30px;
  }
}
@media (min-width: 1600px) {
  .caseStudyHead img {
    height: 60px;
  }
}
@media (min-width: 1600px) {
  .caseStudyHead img {
    height: 66px;
  }
}
.caseStudyHead h1 {
  padding: 8px 0 0;
  font-size: 18px;
}
@media (min-width: 1024px) {
  .caseStudyHead h1 {
    display: inline-block;
    vertical-align: middle;
    max-width: 300px;
    text-align: left;
    padding: 3px 25px;
    border-left: 1px solid #eee;
    margin-left: 25px;
    font-size: 21px;
  }
}
@media (min-width: 1600px) {
  .caseStudyHead h1 {
    font-size: 25px;
    margin-left: 30px;
    padding: 4px 30px;
  }
}
@media (min-width: 1600px) {
  .caseStudyHead h1 {
    font-size: 28px;
  }
}
.arrowList li {
  padding-left: 19px;
  position: relative;
  margin-bottom: 5px;
  line-height: 1.5;
}
.arrowList li:before {
  content: '\e906';
  display: inline-block;
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  letter-spacing: 0;
  -webkit-font-feature-settings: "liga";
  -moz-font-feature-settings: "liga=1";
  -moz-font-feature-settings: "liga";
  -ms-font-feature-settings: "liga" 1;
  -o-font-feature-settings: "liga";
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: absolute;
  left: 2px;
  top: 0;
  font-size: 75%;
  line-height: 2.3;
  color: #f79929;
  text-shadow: -1px 0 0;
}
details {
  display: block;
  padding-left: 16px;
  margin-bottom: 4px;
  font-size: 90%;
}

.pluginList details {
  margin-left: 1vw;
}

.pluginList details summary {
  cursor: pointer;
}

Augustin Lemesle's avatar
Augustin Lemesle committed
details summary {
  display: block;
  position: relative;
  font-size: 14px;
  transition: all 0.1s;
Augustin Lemesle's avatar
Augustin Lemesle committed
}
@media (min-width:  768px) {
  details summary {
    font-size: 15px;
  }
}
@media (min-width: 1024px) {
  details summary {
    font-size: 16px;
  }
}
@media (min-width: 1600px) {
  details summary {
    font-size: 16px;
Augustin Lemesle's avatar
Augustin Lemesle committed
  }
}
details summary::-webkit-details-marker {
  display: none;
}
details summary::-moz-details-marker {
  display: none;
}
details summary:focus,
details summary:active {
  outline: 0 none;
}
details summary + * {
  animation: slideDownIn 0.35s;
  padding-top: 6px;
}
details summary:before {
  content: '\e906';
  display: inline-block;
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  letter-spacing: 0;
  -webkit-font-feature-settings: "liga";
  -moz-font-feature-settings: "liga=1";
  -moz-font-feature-settings: "liga";
  -ms-font-feature-settings: "liga" 1;
  -o-font-feature-settings: "liga";
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: absolute;
  left: -14px;
  top: 0;
  font-size: 75%;
  line-height: 1.8;
  color: #f79929;
  text-shadow: -1px 0 0;
  transition: all 0.1s;
Augustin Lemesle's avatar
Augustin Lemesle committed
}

.testPlugin {
	display: inline;
}

Augustin Lemesle's avatar
Augustin Lemesle committed
.nonTouch details summary:hover {
  color: #f16521;
}
.pluginList details[open] summary {
  color: #f16521;
}
.pluginList details[open] summary:before {
  transform: rotate(90deg) translate(1px, 2px);
}
.pluginList html[class*=' ie'] details summary + * {
  display: none;
}
.pluginList html[class*=' ie'] details summary.active {
  color: #f16521;
}
.pluginList html[class*=' ie'] details summary.active:before {
  transform: rotate(90deg) translate(2px, 2px);
}
.pluginList html[class*=' ie'] details summary.active + * {
  display: block;
}

Augustin Lemesle's avatar
Augustin Lemesle committed
/* Screen shots block */
.screenshotsBlock {
  margin-bottom: 50px;
}
@media (min-width: 1280px) {
  .screenshotsBlock {
    margin-bottom: 65px;
  }
}
@media (min-width: 1890px) {
  .screenshotsBlock {
    margin-bottom: 80px;
  }
}
.screenshotsList {
  display: block;
  font-size: 0;
  margin: 0 -1%;
}
@media (min-width:  600px) {
  .screenshotsList {
    margin: 0 -16px;
  }
}
.screenshotsList .screenshot {
  display: inline-block;
  cursor: pointer;
  width: 48%;
  height: 0;
  padding-bottom: 34%;
  position: relative;
  overflow: hidden;
  margin: 1%;
}
@media (min-width:  600px) {
  .screenshotsList .screenshot {
    width: 32.5%;
    padding-bottom: 21%;
    margin: 0 0.4% 0.8%;
  }
}
.screenshotsList .screenshot .img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}
.screenshotsList .screenshot a {
  color: #fff;
  background: rgba(10, 10, 10, 0.8);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  padding: 8px;
  box-sizing: border-box;
  font-size: 13px;
  transition: all 0.1s;
Augustin Lemesle's avatar
Augustin Lemesle committed
}
.nonTouch .screenshotsList .screenshot a {
  height: 100%;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.nonTouch .screenshotsList .screenshot a:hover {
  opacity: 1;
}
@media (min-width:  768px) {
  .screenshotsList .screenshot a {
    padding: 14px;
  }
}
.recommendedCases {
  margin-bottom: 50px;
}
@media (min-width: 1280px) {
  .recommendedCases {
    margin-bottom: 65px;
  }
}
@media (min-width: 1890px) {
  .recommendedCases {
    margin-bottom: 80px;
  }
}
.recommendedList {
  display: flex;
  justify-content: space-between;
}
@media (min-width:  600px) {
  .recommendedList {
    justify-content: flex-start;
    margin: 0 -0.4%;
  }
}
.recommendedList .casestudy {
  width: 48.5%;
  max-width: 48.5%;
  flex: 0 0 48.5%;
  margin: 0;
  position: relative;
  overflow: hidden;
}
@media (min-width:  600px) {
  .recommendedList .casestudy {
    width: 32.7%;
    max-width: 32.7%;
    flex-basis: 32.7%;
    margin: 0 0.4% 0.8%;
  }
}
.recommendedList .casestudy figure {
  width: 100%;
  padding-bottom: 70%;
  position: relative;
}
.recommendedList .casestudy .img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}
.recommendedList .casestudy a {
  color: #fff;
  background: rgba(10, 10, 10, 0.8);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  padding: 8px;
  box-sizing: border-box;
  font-size: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (min-width:  768px) {
  .recommendedList .casestudy a {
    font-size: 100%;
    padding: 14px;
  }
}
@media (min-width: 1024px) {
  .recommendedList .casestudy a {
    align-items: flex-start;
    padding: 20px 12%;
  }
  .recommendedList .casestudy a strong {
    font-size: 110%;
    display: block;
    margin-bottom: 14px;
  }
}
.recommendedList .casestudy a span {
  display: none;
}
@media (min-width: 1024px) {
  .recommendedList .casestudy a span {
    display: block;
    opacity: 0.8;
    width: 100%;
  }
}
/* Versions Page */
.versionsPage {