Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/microweber/microweber into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Mar 14, 2022
2 parents 975fc1d + 47b84bf commit e0b92a4
Show file tree
Hide file tree
Showing 34 changed files with 23,828 additions and 1 deletion.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

55 changes: 55 additions & 0 deletions userfiles/modules/microweber/css/ui/assets/accordion.css
@@ -0,0 +1,55 @@
/****************************
Variables
*****************************/
.mw-accordion-item {
transition: .4s;
}
.mw-accordion-item.active {
box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}
.mw-tab-accordion {
clear: both;
}
.mw-ui-box-header.mw-accordion-title {
cursor: pointer;
position: relative;
}
.mw-ui-box-header.mw-accordion-title:after {
position: absolute;
content: "\0118";
display: inline-block;
font-family: Microweber !important;
text-transform: none !important;
transition: .4s;
z-index: 1;
color: #4592ff;
transform: rotate(-90deg);
top: 12px;
right: 12px;
font-size: 15px;
}
.mw-ui-box-header.mw-accordion-title.active:after {
transform: rotate(0deg);
}
.mw-ui-box-header-2.mw-accordion-title-2 {
cursor: pointer;
position: relative;
}
.mw-ui-box-header-2.mw-accordion-title-2:hover:after {
position: absolute;
content: "";
border-left: 5px solid #2b2b2b;
display: block;
z-index: 1;
top: 0px;
height: 46px;
}
.mw-ui-box-header-2.mw-accordion-title-2.mw-liveedit-sidebar-background-active:after {
position: absolute;
content: "";
border-left: 5px solid #1f7cff;
display: block;
z-index: 1;
top: 0px;
height: 46px;
}
43 changes: 43 additions & 0 deletions userfiles/modules/microweber/css/ui/assets/autocomplete.css
@@ -0,0 +1,43 @@
.mw-autocomplete {
position: relative;
z-index: 10;
display: flex;
padding: 5px;
}
.mw-autocomplete .mw-ui-btn {
margin: 5px;
}
.mw-autocomplete .mw-ui-btn .mw-icon-close {
font-size: 15px;
right: -5px;
}
.mw-autocomplete .mw-autocomplete-list {
position: absolute;
top: 100%;
left: 0;
min-width: 100%;
max-height: 60vh;
height: auto;
overflow: auto;
}
.mw-autocomplete .mw-autocomplete-img {
display: inline-block;
width: 20px;
height: 20px;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
border-radius: 3px;
vertical-align: middle;
margin-right: 7px;
}
.mw-autocomplete .mw-autocomplete-value {
display: inline-block;
}
.mw-autocomplete.mw-autocomplete-multiple-false input.mw-autocomplete-field {
width: 100%;
}
.mw-autocomplete.mw-autocomplete-multiple-false .mw-autocomplete-value + input.mw-autocomplete-field {
width: -webkit-calc(70%);
width: calc(70%);
}
35 changes: 35 additions & 0 deletions userfiles/modules/microweber/css/ui/assets/badge.css
@@ -0,0 +1,35 @@
/****************************
Variables
*****************************/
.mw-badge {
display: inline-block;
position: absolute;
top: 0;
right: 0;
transform: translate(50%, -50%);
background: #ff0000;
color: #FFFFFF;
min-height: 13px;
padding: 0 2px;
font-size: 11px;
line-height: 20px;
border-radius: 20px;
height: 20px;
min-width: 20px;
text-align: center;
}
.mw-badge.mw-badge-invert {
background-color: #2b2b2b;
}
.mw-badge.mw-badge-info {
background-color: #4592ff;
}
.mw-badge.mw-badge-warn {
background-color: #ffc107;
}
.mw-badge.mw-badge-important {
background-color: #f12b1c;
}
.mw-badge.mw-badge-notification {
background-color: #469a36;
}
16 changes: 16 additions & 0 deletions userfiles/modules/microweber/css/ui/assets/block-edit.css
@@ -0,0 +1,16 @@
.mw-block-edit-holder {
overflow: hidden;
width: 100%;
position: relative;
}
.mw-block-edit-slider {
width: 200%;
overflow: hidden;
position: relative;
}
.mw-block-edit-main-slide,
.mw-block-edit-edit-slide {
width: 50%;
float: left;
position: relative;
}
125 changes: 125 additions & 0 deletions userfiles/modules/microweber/css/ui/assets/boxes.css
@@ -0,0 +1,125 @@
/****************************
Boxes
*****************************/
/****************************
Variables
*****************************/
.mw-ui-box2 {
border: 1px solid rgba(0, 0, 0, 0.125);
background-color: #ffffff;
position: relative;
z-index: 1;
clear: both;
padding: 20px;
transition: box-shadow 0.3s;
}
.mw-ui-box2:hover,
.mw-ui-box2.active {
box-shadow: 0 0 8px rgba(0, 0, 0, 0.16) !important;
}
.mw-ui-box {
border: 1px solid transparent;
border-radius: 5px;
clear: both;
background-color: #fff;
box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px !important;
}
.mw-ui-box,
.mw-ui-box-content {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.mw-ui-box-header {
padding: 15px 25px 10px 25px;
background-color: #fff;
overflow: hidden;
border-bottom: 1px solid rgba(0, 0, 0, 0.125);
border-top-left-radius: 5px;
border-top-right-radius: 5px;
position: relative;
}
.mw-ui-box-header a {
text-decoration: none;
}
.mw-ui-box-header > [class*='mw-icon-'] {
font-size: 20px;
line-height: 20px;
float: left;
margin-right: 12px;
}
.mw-ui-box-header h2 {
padding: 0;
}
.mw-ui-box-content.mw-accordion-content {
overflow: auto;
}
.mw-ui-box-content {
padding: 25px 25px;
position: relative;
}
.mw-ui-box:after,
.mw-ui-box-content:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
font-size: 0;
}
.mw-ui-box-invert {
background-color: #2b2b2b;
color: white;
border-color: transparent;
}
.mw-ui-box-info {
background-color: #4592ff;
color: white;
border-color: transparent;
}
.mw-ui-box-warn {
background-color: #ffc107;
color: white;
border-color: transparent;
}
.mw-ui-box-important {
background-color: #f12b1c;
color: white;
border-color: transparent;
}
.mw-ui-box-notification {
background-color: #469a36;
color: white;
border-color: transparent;
}
.mw-ui-box-invert > .mw-ui-box-header {
background-color: #454545;
color: white;
}
.mw-ui-box-info > .mw-ui-box-header {
background-color: #78b0ff;
color: white;
}
.mw-ui-box-warn > .mw-ui-box-header {
background-color: #ffce3a;
color: white;
}
.mw-ui-box-important > .mw-ui-box-header {
background-color: #f4584c;
color: white;
}
.mw-ui-box-notification > .mw-ui-box-header {
background-color: #58be45;
color: white;
}
.mw-ui-box-accordion-content {
overflow: hidden;
background: #fafafa;
}
.mw-ui-box-accordion > .mw-ui-box-content {
display: none;
}
.mw-accordion-active > .mw-ui-box-content {
display: none;
}

0 comments on commit e0b92a4

Please sign in to comment.