Porting custom-links to 4.1

This commit is contained in:
Mike Ng
2017-12-11 17:44:55 +04:00
parent 8117d1ebc0
commit e0063d00c0
23 changed files with 1313 additions and 272 deletions

View File

@@ -336,6 +336,103 @@ div.switch_right.unchecked {
margin-top: 5px;
}
/******* SETUP *******************************************************************/
#custom-link-table {
width: 100%;
thead {
th {
text-align: left;
font-weight: bold;
}
}
td {
height: 30px;
width: 19%;
input {
width: 100%;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
height: 30px;
}
select {
width: 100%;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
height: 30px;
}
.simplecolorpicker {
width: 21px;
height: 21px;
background-repeat: no-repeat;
background-size: contain !important;
background-position: center center;
border: none;
margin-right: 3px;
}
button {
height: 30px;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
}
td:nth-of-type(5) {
width: 14%;
}
td:nth-of-type(6) {
width: 3%;
}
td:nth-of-type(7) {
width: 3%;
}
td:last-child {
width: 8%;
}
}
span.simplecolorpicker.picker {
min-width: 0px;
width: 22px;
margin-top: -360px;
border-radius: 0px;
margin-left: 4px;
padding: 0;
span {
width: 20px;
margin: 0px;
}
}
#add-row {
margin-top: 10px;
margin-bottom: 20px;
float: right;
}
.link_check_box:before {
content: "";
display: inline-block;
width: 30px;
height: 30px;
background: url(/assets/common/images/icons/Bouton-Bold.png) #fff;
background-repeat: no-repeat;
background-size: 75%;
background-position: center center;
}
.link_check_box:checked:before {
content: "";
display: inline-block;
width: 30px;
height: 30px;
background: url(/assets/common/images/icons/Bouton-bold-active.png) #fff;
background-repeat: no-repeat;
background-size: 75%;
background-position: center center;
}
@import './databases';
@import './fields';
@import './tables';