begiresh
Version:
A mobile application smart banner for Iranian markets
177 lines (176 loc) • 5.02 kB
CSS
/** Default Theme **/
.begiresh-show .begiresh {
display: block;
}
.begiresh {
display: none;
}
.begiresh.theme-default {
position: fixed;
left: 0;
right: 0;
bottom: 0;
width: 100%;
max-width: 750px;
margin: auto;
background: #a4c639;
font-family: 'Vazir', 'Roboto', Tahoma;
z-index: 9998;
overflow: hidden;
direction: rtl;
-webkit-font-smoothing: antialiased;
-webkit-text-size-adjust: none;
}
.begiresh.theme-default .begiresh-container {
margin: 0 auto;
padding: 8px 12px;
white-space: nowrap;
position: relative;
}
.begiresh.theme-default .begiresh-container .begiresh-close {
position: absolute;
right: 12px;
top: 23px;
padding: 4px;
border-radius: 50%;
color: white;
background-color: rgba(255, 255, 255, 0.3);
font-family: 'Gorbeh Icons';
font-size: 14px;
line-height: 1;
text-align: center;
text-decoration: none;
-webkit-font-smoothing: subpixel-antialiased;
-webkit-transition: all 200ms ease-in-out;
transition: all 200ms ease-in-out;
}
.begiresh.theme-default .begiresh-container .begiresh-close:after {
content: '\E14C';
}
.begiresh.theme-default .begiresh-container .begiresh-close:active,
.begiresh.theme-default .begiresh-container .begiresh-close:hover {
background-color: rgba(179, 179, 179, 0.3);
}
.begiresh.theme-default .begiresh-container .begiresh-download {
position: absolute;
left: 12px;
top: 0;
bottom: 0;
margin: auto 0;
height: 24px;
font-size: 14px;
line-height: 24px;
text-align: center;
text-decoration: none;
}
.begiresh.theme-default .begiresh-container .begiresh-download .begiresh-download-text {
background-color: rgba(33, 33, 33, 0.87);
color: white;
padding: 6px 12px;
border-radius: 4px;
-webkit-transition: all 200ms ease-in-out;
transition: all 200ms ease-in-out;
}
.begiresh.theme-default .begiresh-container .begiresh-download .begiresh-download-text:active,
.begiresh.theme-default .begiresh-container .begiresh-download .begiresh-download-text:hover {
background-color: rgba(0, 0, 0, 0.87);
}
.begiresh.theme-default .begiresh-container .begiresh-info {
display: inline-block;
vertical-align: middle;
margin-right: 34px;
}
.begiresh.theme-default .begiresh-container .begiresh-info .begiresh-icon {
vertical-align: middle;
width: 57px;
height: 57px;
background-size: cover;
border-radius: 16px;
float: right;
}
.begiresh.theme-default .begiresh-container .begiresh-info .begiresh-meta {
float: right;
padding: 8px 12px;
}
.begiresh.theme-default .begiresh-container .begiresh-info .begiresh-meta span {
display: block;
color: white;
font-weight: bold;
}
.begiresh.theme-default .begiresh-container .begiresh-info .begiresh-meta span.begiresh-title {
font-size: 13px;
line-height: 1.2em;
}
.begiresh.theme-default .begiresh-container .begiresh-info .begiresh-meta span.begiresh-author,
.begiresh.theme-default .begiresh-container .begiresh-info .begiresh-meta span.begiresh-store {
font-size: 11px;
line-height: 1.2em;
color: rgba(255, 255, 255, 0.57);
}
.begiresh.theme-minimal {
position: fixed;
left: 0;
right: 0;
bottom: 20px;
width: 100%;
max-width: 750px;
margin: auto;
z-index: 9998;
overflow: hidden;
direction: rtl;
text-align: center;
font-family: 'Vazir', 'Roboto', Tahoma;
-webkit-font-smoothing: antialiased;
-webkit-text-size-adjust: none;
}
.begiresh.theme-minimal .begiresh-container {
display: inline-block;
padding: 5px 32px 5px 0;
border-radius: 20px;
white-space: nowrap;
position: relative;
background: #a4c639;
}
.begiresh.theme-minimal .begiresh-container .begiresh-close {
position: absolute;
right: 6px;
top: 8px;
padding: 4px;
border-radius: 50%;
color: rgba(255, 255, 255, 0.87);
font-family: 'Gorbeh Icons';
font-size: 14px;
line-height: 1;
text-align: center;
text-decoration: none;
-webkit-font-smoothing: subpixel-antialiased;
-webkit-transition: all 200ms ease-in-out;
transition: all 200ms ease-in-out;
}
.begiresh.theme-minimal .begiresh-container .begiresh-close:after {
content: '\E14C';
}
.begiresh.theme-minimal .begiresh-container .begiresh-close:active,
.begiresh.theme-minimal .begiresh-container .begiresh-close:hover {
background-color: rgba(230, 230, 230, 0.87);
}
.begiresh.theme-minimal .begiresh-container .begiresh-info {
display: none;
}
.begiresh.theme-minimal .begiresh-container .begiresh-download {
font-size: 14px;
line-height: 18px;
text-align: center;
text-decoration: none;
}
.begiresh.theme-minimal .begiresh-container .begiresh-download .begiresh-download-text {
color: rgba(255, 255, 255, 0.87);
border-right: solid 1px rgba(255, 255, 255, 0.45);
padding: 0 9px 0 24px;
-webkit-transition: all 200ms ease-in-out;
transition: all 200ms ease-in-out;
}
.begiresh.theme-minimal .begiresh-container .begiresh-download .begiresh-download-text:active,
.begiresh.theme-minimal .begiresh-container .begiresh-download .begiresh-download-text:hover {
color: rgba(230, 230, 230, 0.87);
}