| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- @import "ui/vc_ui-fonts.less";
- @import "ui/vc_ui-button.less";
- @import "ui/vc_ui-helper.less";
- @import "ui/vc_ui-icon-pixel.less";
- @vc-welcome-border: rgba(125, 125, 125, 0.40);
- @vc-welcome-margin: 14px;
- @vc-welcome-base-font-size: 14px;
- @vc-welcome-gap: 20px;
- @vc-welcome-header-font-size: 36px;
- @vc-welcome-header-line-height: 1em;
- @vc-welcome-header-font-color: #656565;
- .vc_welcome {
- margin: @vc-welcome-margin;
- font-size: @vc-welcome-base-font-size;
- text-align: center;
- padding: @vc-welcome-gap;
- // buttons behavior
- .vc_ui-btn-group {
- margin-top: @vc-welcome-gap;
- margin-bottom: @vc-welcome-gap;
- }
- .vc_ui-button {
- margin: @vc-welcome-gap / 2;
- margin-bottom: 0;
- min-width: 190px;
- text-transform: capitalize;
- display: inline-flex;
- justify-content: center;
- align-items: center;
- .vc-composer-icon {
- font-size: 21px;
- padding: 0 .5em 0 0;
- }
- }
- // icon behaviour
- .vc_ui-icon-pixel {
- padding-right: .5em;
- }
- }
- .vc_welcome-brand {
- margin-top: @vc-welcome-gap;
- margin-bottom: @vc-welcome-gap * 1.5;
- text-align: center;
- img {
- box-shadow: none;
- display: inline-block;
- }
- }
- .vc_welcome-header {
- font-weight: 300;
- font-size: @vc-welcome-header-font-size;
- line-height: @vc-welcome-header-line-height;
- color: @vc-welcome-header-font-color;
- text-transform: uppercase;
- margin-top: @vc-welcome-gap;
- margin-bottom: @vc-welcome-gap * 2;
- }
- .vc_add-element-not-empty-button {
- display: inline-block;
- position: relative;
- font-size: 18px;
- color: #FFFFFF;
- width: 39px;
- height: 38px;
- -webkit-box-shadow: none !important;
- -moz-box-shadow: none !important;
- box-shadow: none !important;
- background-color: #C9C9C9;
- cursor: pointer;
- border: none !important;
- .border-radius(5px);
- .transition(background-color 0.5s);
- &:hover {
- background-color: #E4E4E4;
- color: #FFFFFF;
- }
- .vc-composer-icon {
- position: absolute;
- left: 50%;
- top: 50%;
- .translate(-50%, -50%);
- }
- }
- // not empty state
- .vc_welcome {
- &.vc_not-empty {
- border: 1px dashed @vc-welcome-border;
- .vc_welcome-visible-e {
- display: none;
- }
- }
- &:not(.vc_not-empty) {
- .vc_welcome-visible-ne {
- display: none;
- }
- }
- }
- // editors behaviour
- .vc_editor.compose-mode {
- .vc_welcome {
- margin: 0;
- }
- }
- // media behaviour
- @media screen and (max-width: @screen-sm) {
- .vc_welcome {
- .vc_ui-button {
- display: block;
- }
- }
- }
|