File: //home/arjun/projects/buyercall_new/buyercall/buyercall/assets/styles/_widget.scss
/* Widget General Settings.
-------------------------------------------------- */
@require('../components/call_widget');
.inline { display: inline; }
.number-cell {
display: inline-block;
width: 5em;
text-align: right;
}
.widget-general-set-name {
padding: 0px 15px 10px 0px;
}
.widget-general-set-corner {
border-top-left-radius: 3px !important;
border-top-right-radius: 3px !important;
border: 0px !important;
> div {
background-color: #2A3846;
padding: 0px 15px 10px 0px;
label {
display: block;
font-weight: bold;
margin: 0;
}
h2, h3 {
padding: 0px 0px 12px !important;
}
}
}
.widget-content {
margin-bottom: 0px !important;
padding-bottom: 0px !important;
background-color: #EBEFF2 !important;
}
.widget-general-set-brand {
padding: 0px 0px 0px 20px;
}
.widget-steps {
background-color: #FFF;
}
.widget-steps-nav {
padding-top: 7px;
a {
font-weight: bold;
}
}
.widget-configure {
min-width: 400px;
display: flex;
}
.widget-preview {
flex-grow: 1;
position: relative;
text-align: center;
overflow: hidden;
> h4 {
background-color: #EBEFF2 !important;
opacity: 0.5;
}
}
.widget-preview-background {
background-color: black;
opacity: 0.5;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.no-preview {
.widget-legend {
margin: 10px auto;
}
.widget-preview {
display: none;
}
}
/* TODO: Fix CSS using display: table! */
.ie9 {
.widget-preview-container {
display: table;
> div {
display: table-row;
}
}
.widget-configure {
display: table-cell;
vertical-align: top;
}
.widget-preview {
display: table-cell;
width: 100%;
height: 100%;
vertical-align: middle;
}
}
.centered-container {
height: 100%;
width: 100%;
text-align: center;
position: absolute;
left: 0;
top: 0;
}
.centered-container:before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
margin-right: -0.25em;
}
.centered {
display: inline-block;
vertical-align: middle;
}
.tooltip-icon {
font-family: FontAwesome;
line-height: 18px;
&:before {
content: "\f059";
}
}
.tooltip-exclamation-icon {
font-family: FontAwesome;
line-height: 18px;
&:before {
content: "\f06a";
}
}
#buyercall-link {
cursor: pointer;
}
#buyercall-button {
text-align: center;
}
.widget-legend {
background-color: #FFFFFF;
margin: 10px 10px 10px 10px;
border-radius: 3px;
padding: 15px;
padding-top: 20px;
min-height: 500px;
fieldset > legend {
background-color: inherit;
padding: 5px !important;
border-bottom-size: 1px !important;
}
.checkbox input[type=checkbox] {
margin-left: -20px;
}
}
#widget-image-box {
display: none;
}
#widget-upload-image {
height: 100px;
border: 1px dashed gray;
cursor: pointer;
line-height: 100px;
font-size: 100%;
> .dz-preview {
display: none;
}
}
.widget-field {
margin-bottom: 20px;
text-align: left !important;
padding-right: 5px;
}
label.widget-field::after {
content: ":";
}
.widget-field-checkbox {
margin-top: 8px !important;
}
.widget-footer {
background-color: #FFF !important;
border-top-left-radius: 0px !important;
border-top-right-radius: 0px !important;
}
.widget-footer-btn-save {
text-align: center !important;
}
.widget-footer-btn-exit {
text-align: right;
}
td.remove-button {
text-align: center;
vertical-align: middle !important;
font: normal normal normal 18px/1 FontAwesome;
cursor: pointer;
}
td.remove-button:before {
content: "\f00d"
}
.new-row td.remove-button:before {
content: none;
}
/* Individual pages */
ul.days-select {
list-style-type: none;
padding: 0;
> li {
display: inline-block;
/* height: 50px; */
width: calc(82% / 7);
margin: 5px;
text-align: center;
line-height: 50px;
font-weight: bold;
border: 2px solid #3498db;
cursor: pointer;
&.selected,
&:hover {
background-color: #3498db;
color: white;
}
}
}
ul.disabled-days-select {
list-style-type: none;
padding: 0;
> li {
display: inline-block;
/* height: 50px; */
width: calc(82% / 7);
margin: 5px;
text-align: center;
line-height: 50px;
font-weight: bold;
border: 2px solid #a3a3a3;
cursor: pointer;
&.selected,
&:hover {
background-color: #a3a3a3;
color: white;
}
}
}
/* Responsive
----------------------------------------------*/
/* Small devices, Tablets (>767px) */
@media screen and (min-width: 768px) {
}
/* Small devices, phones (<767px) */
@media screen and (max-width: 768px) {
.widget-general-set-pad {
padding: 10px 0px 10px 0px;
}
.widget-footer-btn-exit {
text-align: center;
padding-top: 20px;
}
.widget-preview-container {
display: block;
> div {
display: block;
}
}
.widget-configure {
display: block;
min-width: auto;
}
.widget-preview {
display: block;
> h4 {
display: none;
}
}
}