Changeset 1679613
- Timestamp:
- 06/16/2017 12:32:27 AM (9 years ago)
- Location:
- tables-for-elementor
- Files:
-
- 37 added
- 1 deleted
- 9 edited
-
tags/1.0.2 (added)
-
tags/1.0.2/assets (added)
-
tags/1.0.2/assets/css (added)
-
tags/1.0.2/assets/css/editor.css (added)
-
tags/1.0.2/assets/css/editor.min.css (added)
-
tags/1.0.2/assets/css/frontend.css (added)
-
tags/1.0.2/assets/css/frontend.min.css (added)
-
tags/1.0.2/assets/js (added)
-
tags/1.0.2/assets/js/editor.js (added)
-
tags/1.0.2/assets/js/editor.min.js (added)
-
tags/1.0.2/assets/js/frontend.js (added)
-
tags/1.0.2/assets/js/frontend.min.js (added)
-
tags/1.0.2/base (added)
-
tags/1.0.2/base/module-base.php (added)
-
tags/1.0.2/classes (added)
-
tags/1.0.2/classes/utils.php (added)
-
tags/1.0.2/elementor-tables.php (added)
-
tags/1.0.2/includes (added)
-
tags/1.0.2/includes/admin.php (added)
-
tags/1.0.2/includes/modules-manager.php (added)
-
tags/1.0.2/license (added)
-
tags/1.0.2/license.txt (added)
-
tags/1.0.2/license/admin.php (added)
-
tags/1.0.2/license/api.php (added)
-
tags/1.0.2/license/updater.php (added)
-
tags/1.0.2/modules (added)
-
tags/1.0.2/modules/tables (added)
-
tags/1.0.2/modules/tables/module.info.php (added)
-
tags/1.0.2/modules/tables/module.php (added)
-
tags/1.0.2/modules/tables/widgets (added)
-
tags/1.0.2/modules/tables/widgets/table-quad.php (added)
-
tags/1.0.2/modules/tables/widgets/table-standard.php (added)
-
tags/1.0.2/modules/tables/widgets/table-tripple.php (added)
-
tags/1.0.2/plugin.php (added)
-
tags/1.0.2/readme.txt (added)
-
trunk/assets/css/editor.css (modified) (1 diff)
-
trunk/assets/css/editor.min.css (modified) (1 diff)
-
trunk/assets/css/frontend.css (modified) (2 diffs)
-
trunk/assets/css/frontend.min.css (modified) (1 diff)
-
trunk/assets/css/tables.css (deleted)
-
trunk/elementor-tables.php (modified) (3 diffs)
-
trunk/modules/tables/module.php (modified) (1 diff)
-
trunk/modules/tables/widgets/table-quad.php (added)
-
trunk/modules/tables/widgets/table-standard.php (modified) (3 diffs)
-
trunk/modules/tables/widgets/table-tripple.php (added)
-
trunk/plugin.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tables-for-elementor/trunk/assets/css/editor.css
r1641546 r1679613 1 .table {2 display: flex;3 flex-wrap: wrap;4 margin: 0 auto;5 padding: 2rem 0rem 0rem 0rem;6 max-width: 1100px;7 }8 9 .table-cell {10 box-sizing: border-box;11 flex-grow: 1;12 width: 100%;13 padding: 0.8em 1.2em;14 overflow: hidden;15 list-style-type: none;16 outline: 1px solid #ddd;17 text-align: center;18 font-weight: 300;19 margin-top: 1px;20 margin-left: 1px;21 }22 .table-cell:first-child {23 outline: 1px solid #fff;24 background: transparent;25 }26 @media only screen and (max-width: 768px) {27 .table-cell:first-child {28 display: none;29 }30 }31 .table-cell:nth-child(3) {32 outline: 1px solid #30305b;33 }34 .table-cell:nth-child(-n+3) {35 padding-top: 40px;36 padding-bottom: 40px;37 }38 .table-cell > h3 {39 font-size: 26px;40 margin-top: 0;41 margin-bottom: 3rem;42 }43 44 .table-cell.cell-feature {45 text-align: left;46 font-size: 18px;47 }48 .table-cell.features a.btn:hover {49 background-color: #85bafc;50 border-color: #85bafc;51 color: #30305b;52 }53 .table-cell.plattform {54 color: limegreen;55 }56 .table-cell.plattform a.btn {57 color: limegreen;58 }59 .table-cell.plattform a.btn:hover {60 background-color: limegreen;61 border-color: limegreen;62 color: white;63 }64 .table-cell.enterprise {65 background-color: #30305b;66 color: #85bafc;67 }68 .table-cell.enterprise a.btn {69 color: #85bafc;70 }71 .table-cell.enterprise a.btn:hover {72 background-color: #85bafc;73 border-color: #85bafc;74 color: #30305b;75 }76 77 /* Table columns78 ================================== */79 .table-cell {80 width: calc(33.33% - 1px);81 }82 @media only screen and (max-width: 768px) {83 .table-cell.cell-feature {84 width: 100%;85 text-align: center;86 }87 }88 89 svg.enterprise-check path {90 fill: #30305b !important;91 }92 93 a.btn {94 border: 2px solid;95 padding: .6rem .9rem .6rem .9rem;96 font-weight: 400;97 text-transform: uppercase;98 text-decoration: none;99 -webkit-transition: 0.2s ease-in-out;100 -moz-transition: 0.2s ease-in-out;101 -ms-transition: 0.2s ease-in-out;102 -o-transition: 0.2s ease-in-out;103 transition: 0.2s ease-in-out;104 -webkit-border-radius: 0.3rem;105 -moz-border-radius: 0.3rem;106 -ms-border-radius: 0.3rem;107 border-radius: 0.3rem;108 } -
tables-for-elementor/trunk/assets/css/editor.min.css
r1641546 r1679613 1 /*! elementor-show - v1.0.0 - 25-02-2017 */2 @media screen and (min-width: 750px) {3 .modal {4 text-align: center;5 padding: 0 !important;6 }7 8 .modal:before {9 content: '';10 display: inline-block;11 height: 100%;12 vertical-align: middle;13 margin-right: -4px;14 }15 16 .modal-dialog {17 display: inline-block;18 vertical-align: middle;19 }20 21 .model-body {22 overflow-y: scroll !important;23 overflow-x: hidden !important;24 }25 }26 .modal {27 background-color: #27446e;28 background-color: rgba(39, 68, 110, 0.5);29 }30 31 .modal-dialog {32 max-width: 1280px;33 width: 100%;34 }35 36 .modal,.modal:before, .modal-dialog, .modal-body {37 z-index: 99999 !important;38 }39 40 .modal-backdrop {41 position: fixed;42 top: 0;43 right: 0;44 bottom: 0;45 left: 0;46 z-index: 10;47 }48 .modal-backdrop.fade {49 filter: alpha(opacity=0);50 opacity: 0;51 }52 .modal-backdrop.in {53 filter: alpha(opacity=50);54 opacity: .5;55 }56 57 .modal-dialog {58 text-align: left;59 }60 61 .modal-title {62 text-align: center;63 vertical-align: middle;64 padding-bottom: 20px;65 }66 67 body.modal-open .elementor-widget-wrap {68 z-index: auto;69 }70 71 .show-modal {72 cursor: pointer;73 }74 75 .close {76 font-size: 26px;77 filter: alpha(opacity=50);78 opacity: .5;79 }80 .close:hover,81 .close:focus {82 filter: alpha(opacity=80);83 opacity: .8;84 }85 86 .table {87 display: flex;88 flex-wrap: wrap;89 margin: 0 auto;90 padding: 2rem 0rem 0rem 0rem;91 max-width: 1100px;92 }93 94 .table-cell {95 box-sizing: border-box;96 flex-grow: 1;97 width: 100%;98 padding: 0.8em 1.2em;99 overflow: hidden;100 list-style-type: none;101 outline: 1px solid #ddd;102 text-align: center;103 font-weight: 300;104 margin-top: 1px;105 margin-left: 1px;106 }107 .table-cell:first-child {108 outline: 1px solid #fff;109 background: transparent;110 }111 @media only screen and (max-width: 768px) {112 .table-cell:first-child {113 display: none;114 }115 }116 .table-cell:nth-child(3) {117 outline: 1px solid #30305b;118 }119 .table-cell:nth-child(-n+3) {120 padding-top: 40px;121 padding-bottom: 40px;122 }123 .table-cell > h3 {124 font-size: 26px;125 margin-top: 0;126 margin-bottom: 3rem;127 }128 129 .table-cell.cell-feature {130 text-align: left;131 font-size: 18px;132 }133 .table-cell.features a.btn:hover {134 background-color: #85bafc;135 border-color: #85bafc;136 color: #30305b;137 }138 .table-cell.plattform {139 color: limegreen;140 }141 .table-cell.plattform a.btn {142 color: limegreen;143 }144 .table-cell.plattform a.btn:hover {145 background-color: limegreen;146 border-color: limegreen;147 color: white;148 }149 .table-cell.enterprise {150 background-color: #30305b;151 color: #85bafc;152 }153 .table-cell.enterprise a.btn {154 color: #85bafc;155 }156 .table-cell.enterprise a.btn:hover {157 background-color: #85bafc;158 border-color: #85bafc;159 color: #30305b;160 }161 162 /* Table columns163 ================================== */164 .table-cell {165 width: calc(33.33% - 1px);166 }167 @media only screen and (max-width: 768px) {168 .table-cell.cell-feature {169 width: 100%;170 text-align: center;171 }172 }173 174 svg.enterprise-check path {175 fill: #30305b !important;176 }177 178 a.btn {179 border: 2px solid;180 padding: .6rem .9rem .6rem .9rem;181 font-weight: 400;182 text-transform: uppercase;183 text-decoration: none;184 -webkit-transition: 0.2s ease-in-out;185 -moz-transition: 0.2s ease-in-out;186 -ms-transition: 0.2s ease-in-out;187 -o-transition: 0.2s ease-in-out;188 transition: 0.2s ease-in-out;189 -webkit-border-radius: 0.3rem;190 -moz-border-radius: 0.3rem;191 -ms-border-radius: 0.3rem;192 border-radius: 0.3rem;193 } -
tables-for-elementor/trunk/assets/css/frontend.css
r1641546 r1679613 7 7 } 8 8 9 .table-cell { 10 box-sizing: border-box; 11 flex-grow: 1; 12 width: 100%; 13 padding: 0.8em 1.2em; 14 overflow: hidden; 15 list-style-type: none; 16 outline: 1px solid #ddd; 17 text-align: center; 18 font-weight: 300; 19 margin-top: 1px; 20 margin-left: 1px; 9 #el-tables .table-cell, 10 #el-tables-quad .table-cell, 11 #el-tables-tripple .table-cell { 12 box-sizing: border-box; 13 flex-grow: 1; 14 width: 100%; 15 padding: 1em 1.4em; 16 overflow: hidden; 17 list-style-type: none; 18 outline: 1px solid #ddd; 19 text-align: center; 20 font-weight: 300; 21 margin-top: 1px; 22 margin-left: 1px; 21 23 } 22 .table-cell:first-child { 24 #el-tables .table-cell:first-child, 25 #el-tables-quad .table-cell:first-child , 26 #el-tables-tripple .table-cell:first-child { 23 27 outline: 1px solid #fff; 24 28 background: transparent; 25 29 } 26 30 @media only screen and (max-width: 768px) { 27 .table-cell:first-child { 28 display: none; 29 } 31 #el-tables .table-cell:first-child, 32 #el-tables-quad .table-cell:first-child, 33 #el-tables-tripple .table-cell:first-child { 34 display: none; 35 } 30 36 } 31 .table-cell:nth-child(3) { 37 #el-tables .table-cell:nth-child(3), 38 #el-tables-quad .table-cell:nth-child(5), 39 #el-tables-tripple .table-cell:nth-child(4) { 32 40 outline: 1px solid #30305b; 33 41 } 34 .table-cell:nth-child(-n+3) { 42 #el-tables .table-cell:nth-child(-n+3), 43 #el-tables-quad .table-cell:nth-child(-n+5), 44 #el-tables-tripple .table-cell:nth-child(-n+4) { 35 45 padding-top: 40px; 36 46 padding-bottom: 40px; 37 47 } 38 .table-cell > h3 { 48 #el-tables .table-cell h3.column-table-title, 49 #el-tables-quad .table-cell h3.column-table-title, 50 #el-tables-tripple .table-cell h3.column-table-title { 39 51 font-size: 26px; 40 52 margin-top: 0; … … 42 54 } 43 55 44 .table-cell.cell-feature { 45 text-align: left; 46 font-size: 18px; 56 #el-tables .table-cell.cell-feature, 57 #el-tables-quad .table-cell.cell-feature, 58 #el-tables-tripple .table-cell.cell-feature { 59 text-align: left; 60 font-size: 18px; 47 61 } 48 .table-cell.features a.btn:hover { 62 #el-tables .table-cell.features a.btn:hover, 63 #el-tables-quad .table-cell.features a.btn:hover, 64 #el-tables-tripple .table-cell.features a.btn:hover { 65 background-color: #85bafc; 66 border-color: #85bafc; 67 color: #30305b; 68 } 69 #el-tables .table-cell.first-column, 70 #el-tables-quad .table-cell.first-column, 71 #el-tables-tripple .table-cell.first-column { 72 color: #30305b; 73 } 74 #el-tables .table-cell.first-column a.btn, 75 #el-tables-quad .table-cell.first-column a.btn, 76 #el-tables-tripple .table-cell.first-column a.btn { 77 background-color: #ffffff; 78 border-color: #30305b; 79 color: #30305b; 80 } 81 #el-tables .table-cell.first-column a.btn:hover, 82 #el-tables-quad .table-cell.first-column a.btn:hover, 83 #el-tables-tripple .table-cell.first-column a.btn:hover { 84 background-color: #30305b; 85 border-color: #30305b; 86 color: #ffffff; 87 } 88 #el-tables .table-cell.second-column, 89 #el-tables-quad .table-cell.second-column, 90 #el-tables-tripple .table-cell.second-column { 91 color: #85bafc; 92 } 93 #el-tables .table-cell.second-column a.btn, 94 #el-tables-quad .table-cell.second-column a.btn, 95 #el-tables-tripple .table-cell.second-column a.btn { 96 background-color: #ffffff; 97 border-color: #ffffff; 98 color: #85bafc; 99 } 100 #el-tables .table-cell.second-column a.btn:hover, 101 #el-tables-quad .table-cell.second-column a.btn:hover, 102 #el-tables-tripple .table-cell.second-column a.btn:hover { 49 103 background-color: #85bafc; 50 104 border-color: #85bafc; 51 color: # 30305b;105 color: #ffffff; 52 106 } 53 .table-cell.plattform { 54 color: limegreen; 107 108 #el-tables .table-cell.third-column, 109 #el-tables-quad .table-cell.third-column, 110 #el-tables-tripple .table-cell.third-column { 111 color: #85bafc; 55 112 } 56 .table-cell.plattform a.btn { 57 color: limegreen; 58 } 59 .table-cell.plattform a.btn:hover { 60 background-color: limegreen; 61 border-color: limegreen; 62 color: white; 63 } 64 .table-cell.enterprise { 65 background-color: #30305b; 113 #el-tables .table-cell.third-column a.btn, 114 #el-tables-quad .table-cell.third-column a.btn, 115 #el-tables-tripple .table-cell.third-column a.btn { 116 background-color: #ffffff; 117 border-color: #ffffff; 66 118 color: #85bafc; 67 119 } 68 .table-cell.enterprise a.btn { 120 #el-tables .table-cell.third-column a.btn:hover, 121 #el-tables-quad .table-cell.third-column a.btn:hover, 122 #el-tables-tripple .table-cell.third-column a.btn:hover { 123 background-color: #85bafc; 124 border-color: #85bafc; 125 color: #ffffff; 126 } 127 128 #el-tables .table-cell.fourth-column, 129 #el-tables-quad .table-cell.fourth-column, 130 #el-tables-tripple .table-cell.fourth-column { 131 color: #85bafc; 132 } 133 #el-tables .table-cell.fourth-column a.btn, 134 #el-tables-quad .table-cell.fourth-column a.btn, 135 #el-tables-tripple .table-cell.fourth-column a.btn { 136 background-color: #ffffff; 137 border-color: #ffffff; 69 138 color: #85bafc; 70 139 } 71 .table-cell.enterprise a.btn:hover { 140 #el-tables .table-cell.fourth-column a.btn:hover, 141 #el-tables-quad .table-cell.fourth-column a.btn:hover, 142 #el-tables-tripple .table-cell.fourth-column a.btn:hover { 72 143 background-color: #85bafc; 73 144 border-color: #85bafc; 74 color: #30305b; 145 color: #ffffff; 146 } 147 148 #el-tables .table-cell p, 149 #el-tables-quad .table-cell p, 150 #el-tables-tripple .table-cell p { 151 margin: 0; 152 padding: 0; 75 153 } 76 154 77 155 /* Table columns 78 156 ================================== */ 79 .table-cell {157 #el-tables .table-cell { 80 158 width: calc(33.33% - 1px); 81 159 } 82 @media only screen and (max-width: 768px) { 83 .table-cell.cell-feature { 84 width: 100%; 85 text-align: center; 86 } 160 #el-tables-tripple .table-cell { 161 width: calc(25% - 1px); 162 } 163 #el-tables-quad .table-cell { 164 width: calc(20% - 1px); 165 } 166 #el-tables-pentagon .table-cell { 167 width: calc(16.6666% - 1px); 87 168 } 88 169 89 svg.enterprise-check path { 90 fill: #30305b !important; 170 @media only screen and (max-width: 768px) { 171 #el-tables .table-cell.cell-feature, 172 #el-tables-quad .table-cell.cell-feature, 173 #el-tables-tripple .table-cell.cell-feature { 174 width: 100%; 175 text-align: center; 176 } 91 177 } 92 178 93 a.btn { 94 border: 2px solid; 95 padding: .6rem .9rem .6rem .9rem; 96 font-weight: 400; 97 text-transform: uppercase; 98 text-decoration: none; 99 -webkit-transition: 0.2s ease-in-out; 100 -moz-transition: 0.2s ease-in-out; 101 -ms-transition: 0.2s ease-in-out; 102 -o-transition: 0.2s ease-in-out; 103 transition: 0.2s ease-in-out; 104 -webkit-border-radius: 0.3rem; 105 -moz-border-radius: 0.3rem; 106 -ms-border-radius: 0.3rem; 107 border-radius: 0.3rem; 179 #el-tables a.btn, 180 #el-tables-quad a.btn, 181 #el-tables-tripple a.btn { 182 border: 2px solid; 183 padding: .6rem .9rem .6rem .9rem; 184 font-weight: 400; 185 text-transform: uppercase; 186 text-decoration: none; 187 -webkit-transition: 0.2s ease-in-out; 188 -moz-transition: 0.2s ease-in-out; 189 -ms-transition: 0.2s ease-in-out; 190 -o-transition: 0.2s ease-in-out; 191 transition: 0.2s ease-in-out; 192 -webkit-border-radius: 0.3rem; 193 -moz-border-radius: 0.3rem; 194 -ms-border-radius: 0.3rem; 195 border-radius: 0.3rem; 108 196 } -
tables-for-elementor/trunk/assets/css/frontend.min.css
r1641546 r1679613 7 7 } 8 8 9 .table-cell { 10 box-sizing: border-box; 11 flex-grow: 1; 12 width: 100%; 13 padding: 0.8em 1.2em; 14 overflow: hidden; 15 list-style-type: none; 16 outline: 1px solid #ddd; 17 text-align: center; 18 font-weight: 300; 19 margin-top: 1px; 20 margin-left: 1px; 21 } 22 .table-cell:first-child { 9 #el-tables .table-cell, 10 #el-tables-quad .table-cell, 11 #el-tables-tripple .table-cell { 12 box-sizing: border-box; 13 flex-grow: 1; 14 width: 100%; 15 padding: 1em 1.4em; 16 overflow: hidden; 17 list-style-type: none; 18 outline: 1px solid #ddd; 19 text-align: center; 20 font-weight: 300; 21 margin-top: 1px; 22 margin-left: 1px; 23 } 24 #el-tables .table-cell:first-child, 25 #el-tables-quad .table-cell:first-child , 26 #el-tables-tripple .table-cell:first-child { 23 27 outline: 1px solid #fff; 24 28 background: transparent; 25 29 } 26 30 @media only screen and (max-width: 768px) { 27 .table-cell:first-child { 28 display: none; 29 } 30 } 31 .table-cell:nth-child(3) { 31 #el-tables .table-cell:first-child, 32 #el-tables-quad .table-cell:first-child, 33 #el-tables-tripple .table-cell:first-child { 34 display: none; 35 } 36 } 37 #el-tables .table-cell:nth-child(3), 38 #el-tables-tripple .table-cell:nth-child(3), 39 #el-tables-tripple .table-cell:nth-child(4), 40 #el-tables-quad .table-cell:nth-child(3), 41 #el-tables-quad .table-cell:nth-child(4), 42 #el-tables-quad .table-cell:nth-child(5) { 32 43 outline: 1px solid #30305b; 33 44 } 34 .table-cell:nth-child(-n+3) { 35 padding-top: 40px; 36 padding-bottom: 40px; 37 } 38 .table-cell > h3 { 39 font-size: 26px; 45 #el-tables .table-cell:nth-child(-n+3), 46 #el-tables-tripple .table-cell:nth-child(-n+3), 47 #el-tables-tripple .table-cell:nth-child(-n+4), 48 #el-tables-quad .table-cell:nth-child(-n+3), 49 #el-tables-quad .table-cell:nth-child(-n+4), 50 #el-tables-quad .table-cell:nth-child(-n+5) { 51 padding-top: 20px; 52 padding-bottom: 30px; 53 } 54 #el-tables .table-cell h3.column-table-title, 55 #el-tables-quad .table-cell h3.column-table-title, 56 #el-tables-tripple .table-cell h3.column-table-title { 57 font-size: 22px; 40 58 margin-top: 0; 41 59 margin-bottom: 3rem; 42 60 } 43 61 44 .table-cell.cell-feature { 45 text-align: left; 46 font-size: 18px; 47 } 48 .table-cell.features a.btn:hover { 62 #el-tables .table-cell.cell-feature, 63 #el-tables-quad .table-cell.cell-feature, 64 #el-tables-tripple .table-cell.cell-feature { 65 text-align: left; 66 font-size: 18px; 67 } 68 #el-tables .table-cell.features a.btn:hover, 69 #el-tables-quad .table-cell.features a.btn:hover, 70 #el-tables-tripple .table-cell.features a.btn:hover { 71 background-color: #85bafc; 72 border-color: #85bafc; 73 color: #30305b; 74 } 75 #el-tables .table-cell.first-column, 76 #el-tables-quad .table-cell.first-column, 77 #el-tables-tripple .table-cell.first-column { 78 color: #30305b; 79 } 80 #el-tables .table-cell.first-column a.btn, 81 #el-tables-quad .table-cell.first-column a.btn, 82 #el-tables-tripple .table-cell.first-column a.btn { 83 background-color: #ffffff; 84 border-color: #30305b; 85 color: #30305b; 86 } 87 #el-tables .table-cell.first-column a.btn:hover, 88 #el-tables-quad .table-cell.first-column a.btn:hover, 89 #el-tables-tripple .table-cell.first-column a.btn:hover { 90 background-color: #30305b; 91 border-color: #30305b; 92 color: #ffffff; 93 } 94 #el-tables .table-cell.second-column, 95 #el-tables-quad .table-cell.second-column, 96 #el-tables-tripple .table-cell.second-column { 97 color: #85bafc; 98 } 99 #el-tables .table-cell.second-column a.btn, 100 #el-tables-quad .table-cell.second-column a.btn, 101 #el-tables-tripple .table-cell.second-column a.btn { 102 background-color: #ffffff; 103 border-color: #ffffff; 104 color: #85bafc; 105 } 106 #el-tables .table-cell.second-column a.btn:hover, 107 #el-tables-quad .table-cell.second-column a.btn:hover, 108 #el-tables-tripple .table-cell.second-column a.btn:hover { 49 109 background-color: #85bafc; 50 110 border-color: #85bafc; 51 color: #30305b; 52 } 53 .table-cell.plattform { 54 color: limegreen; 55 } 56 .table-cell.plattform a.btn { 57 color: limegreen; 58 } 59 .table-cell.plattform a.btn:hover { 60 background-color: limegreen; 61 border-color: limegreen; 62 color: white; 63 } 64 .table-cell.enterprise { 65 background-color: #30305b; 111 color: #ffffff; 112 } 113 114 #el-tables .table-cell.third-column, 115 #el-tables-quad .table-cell.third-column, 116 #el-tables-tripple .table-cell.third-column { 117 color: #85bafc; 118 } 119 #el-tables .table-cell.third-column a.btn, 120 #el-tables-quad .table-cell.third-column a.btn, 121 #el-tables-tripple .table-cell.third-column a.btn { 122 background-color: #ffffff; 123 border-color: #ffffff; 66 124 color: #85bafc; 67 125 } 68 .table-cell.enterprise a.btn { 69 color: #85bafc; 70 } 71 .table-cell.enterprise a.btn:hover { 126 #el-tables .table-cell.third-column a.btn:hover, 127 #el-tables-quad .table-cell.third-column a.btn:hover, 128 #el-tables-tripple .table-cell.third-column a.btn:hover { 72 129 background-color: #85bafc; 73 130 border-color: #85bafc; 74 color: #30305b; 131 color: #ffffff; 132 } 133 134 #el-tables .table-cell.fourth-column, 135 #el-tables-quad .table-cell.fourth-column, 136 #el-tables-tripple .table-cell.fourth-column { 137 color: #85bafc; 138 } 139 #el-tables .table-cell.fourth-column a.btn, 140 #el-tables-quad .table-cell.fourth-column a.btn, 141 #el-tables-tripple .table-cell.fourth-column a.btn { 142 background-color: #ffffff; 143 border-color: #ffffff; 144 color: #85bafc; 145 } 146 #el-tables .table-cell.fourth-column a.btn:hover, 147 #el-tables-quad .table-cell.fourth-column a.btn:hover, 148 #el-tables-tripple .table-cell.fourth-column a.btn:hover { 149 background-color: #85bafc; 150 border-color: #85bafc; 151 color: #ffffff; 152 } 153 154 #el-tables .table-cell p, 155 #el-tables-quad .table-cell p, 156 #el-tables-tripple .table-cell p { 157 margin: 0; 158 padding: 0; 75 159 } 76 160 77 161 /* Table columns 78 162 ================================== */ 79 .table-cell {163 #el-tables .table-cell { 80 164 width: calc(33.33% - 1px); 81 165 } 166 #el-tables-tripple .table-cell { 167 width: calc(25% - 1px); 168 } 169 #el-tables-quad .table-cell { 170 width: calc(20% - 1px); 171 } 172 #el-tables-pentagon .table-cell { 173 width: calc(16.6666% - 1px); 174 } 175 82 176 @media only screen and (max-width: 768px) { 83 .table-cell.cell-feature { 84 width: 100%; 85 text-align: center; 86 } 87 } 88 89 svg.enterprise-check path { 90 fill: #30305b !important; 91 } 92 93 a.btn { 94 border: 2px solid; 95 padding: .6rem .9rem .6rem .9rem; 96 font-weight: 400; 97 text-transform: uppercase; 98 text-decoration: none; 99 -webkit-transition: 0.2s ease-in-out; 100 -moz-transition: 0.2s ease-in-out; 101 -ms-transition: 0.2s ease-in-out; 102 -o-transition: 0.2s ease-in-out; 103 transition: 0.2s ease-in-out; 104 -webkit-border-radius: 0.3rem; 105 -moz-border-radius: 0.3rem; 106 -ms-border-radius: 0.3rem; 107 border-radius: 0.3rem; 108 } 177 #el-tables .table-cell.cell-feature, 178 #el-tables-quad .table-cell.cell-feature, 179 #el-tables-tripple .table-cell.cell-feature { 180 width: 100%; 181 text-align: center; 182 } 183 } 184 185 #el-tables a.btn, 186 #el-tables-quad a.btn, 187 #el-tables-tripple a.btn { 188 border: 2px solid; 189 padding: .4rem .7rem; 190 font-size: 14px; 191 font-weight: 400; 192 text-transform: uppercase; 193 text-decoration: none; 194 -webkit-transition: 0.2s ease-in-out; 195 -moz-transition: 0.2s ease-in-out; 196 -ms-transition: 0.2s ease-in-out; 197 -o-transition: 0.2s ease-in-out; 198 transition: 0.2s ease-in-out; 199 -webkit-border-radius: 0.3rem; 200 -moz-border-radius: 0.3rem; 201 -ms-border-radius: 0.3rem; 202 border-radius: 0.3rem; 203 } -
tables-for-elementor/trunk/elementor-tables.php
r1656822 r1679613 5 5 * Plugin URI: https://wordpress.org/plugins/tables-for-elementor 6 6 * Author: WPDevHQ 7 * Version: 1.0. 17 * Version: 1.0.2 8 8 * Author URI: https://wpdevhq.com/ 9 9 * … … 13 13 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 14 14 15 define( 'ELEMENTOR_TABLES_VERSION', '1.0. 1' );15 define( 'ELEMENTOR_TABLES_VERSION', '1.0.2' ); 16 16 17 17 define( 'ELEMENTOR_TABLES__FILE__', __FILE__ ); … … 109 109 } 110 110 } 111 112 add_action( 'wp_enqueue_scripts', 'enqueue_tables_style' );113 function enqueue_tables_style() {114 wp_enqueue_style( 'show-tables', plugin_dir_url( __FILE__ ) . 'assets/css/tables.css', array() );115 } -
tables-for-elementor/trunk/modules/tables/module.php
r1641546 r1679613 20 20 return [ 21 21 'Table_Standard', // What is it goes here. 22 'Table_Tripple', // What is it goes here. 23 'Table_Quad', // What is it goes here. 22 24 ]; 23 25 } -
tables-for-elementor/trunk/modules/tables/widgets/table-standard.php
r1656822 r1679613 398 398 399 399 $this->end_controls_section(); 400 401 $this->start_controls_section(402 'column1_title_style',403 [404 'label' => __( 'First Option', 'elementor-tables' ),405 'tab' => Controls_Manager::TAB_STYLE,406 ]407 );408 409 $this->add_control(410 'title1_bg',411 [412 'label' => __( 'Background Color', 'elementor-tables' ),413 'type' => Controls_Manager::COLOR,414 'scheme' => [415 'type' => Scheme_Color::get_type(),416 'value' => Scheme_Color::COLOR_1,417 ],418 'default' => '#ffffff',419 'selectors' => [420 '{{WRAPPER}} .table-cell.first-column' => 'background-color: {{VALUE}};',421 ],422 ]423 );424 425 $this->add_control(426 'title1_color',427 [428 'label' => __( 'Title Color', 'elementor-tables' ),429 'type' => Controls_Manager::COLOR,430 'scheme' => [431 'type' => Scheme_Color::get_type(),432 'value' => Scheme_Color::COLOR_1,433 ],434 'default' => '#333333',435 'selectors' => [436 '{{WRAPPER}} .table-cell.first-column h3.column-table-title' => 'color: {{VALUE}};',437 ],438 ]439 );440 441 $this->add_control(442 'button1_color',443 [444 'label' => __( 'Button Text', 'elementor-tables' ),445 'type' => Controls_Manager::COLOR,446 'scheme' => [447 'type' => Scheme_Color::get_type(),448 'value' => Scheme_Color::COLOR_1,449 ],450 'default' => '#ffffff',451 'selectors' => [452 '{{WRAPPER}} .table-cell.first-column a.btn' => 'color: {{VALUE}};',453 ],454 'condition' => [455 'enable_button1' => 'yes',456 ],457 ]458 );459 460 $this->add_control(461 'button1_hover',462 [463 'label' => __( 'Button Text Hover', 'elementor-tables' ),464 'type' => Controls_Manager::COLOR,465 'scheme' => [466 'type' => Scheme_Color::get_type(),467 'value' => Scheme_Color::COLOR_1,468 ],469 'default' => '#ffffff',470 'selectors' => [471 '{{WRAPPER}} .table-cell.first-column a.btn:hover' => 'color: {{VALUE}};',472 ],473 'condition' => [474 'enable_button1' => 'yes',475 ],476 ]477 );478 479 $this->add_control(480 'button1_bg',481 [482 'label' => __( 'Button BG', 'elementor-tables' ),483 'type' => Controls_Manager::COLOR,484 'scheme' => [485 'type' => Scheme_Color::get_type(),486 'value' => Scheme_Color::COLOR_1,487 ],488 'default' => '#30305b',489 'selectors' => [490 '{{WRAPPER}} .table-cell.first-column a.btn' => 'background-color: {{VALUE}};',491 ],492 'condition' => [493 'enable_button1' => 'yes',494 ],495 ]496 );497 498 $this->add_control(499 'button1_bg_hover',500 [501 'label' => __( 'Button BG Hover', 'elementor-tables' ),502 'type' => Controls_Manager::COLOR,503 'scheme' => [504 'type' => Scheme_Color::get_type(),505 'value' => Scheme_Color::COLOR_1,506 ],507 'default' => '#30305b',508 'selectors' => [509 '{{WRAPPER}} .table-cell.first-column a.btn:hover' => 'background-color: {{VALUE}};',510 ],511 'condition' => [512 'enable_button1' => 'yes',513 ],514 ]515 );516 517 $this->add_control(518 'button1_border_hover',519 [520 'label' => __( 'Button Border Hover', 'elementor-tables' ),521 'type' => Controls_Manager::COLOR,522 'scheme' => [523 'type' => Scheme_Color::get_type(),524 'value' => Scheme_Color::COLOR_1,525 ],526 'default' => '#30305b',527 'selectors' => [528 '{{WRAPPER}} .table-cell.first-column a.btn:hover' => 'border-color: {{VALUE}};',529 ],530 'condition' => [531 'enable_button1' => 'yes',532 ],533 ]534 );535 536 $this->add_control(537 'icon1_color',538 [539 'label' => __( 'Icon Color', 'elementor-tables' ),540 'type' => Controls_Manager::COLOR,541 'scheme' => [542 'type' => Scheme_Color::get_type(),543 'value' => Scheme_Color::COLOR_1,544 ],545 'default' => '#333333',546 'selectors' => [547 '{{WRAPPER}} .table-cell.first-icon i' => 'color: {{VALUE}};',548 ],549 ]550 );551 552 $this->end_controls_section();553 554 $this->start_controls_section(555 'column2_title_style',556 [557 'label' => __( 'Second Option', 'elementor-tables' ),558 'tab' => Controls_Manager::TAB_STYLE,559 ]560 );561 562 $this->add_control(563 'title2_bg',564 [565 'label' => __( 'Background Color', 'elementor-tables' ),566 'type' => Controls_Manager::COLOR,567 'scheme' => [568 'type' => Scheme_Color::get_type(),569 'value' => Scheme_Color::COLOR_1,570 ],571 'default' => '#30305b',572 'selectors' => [573 '{{WRAPPER}} .table-cell.second-column' => 'background-color: {{VALUE}};',574 ],575 ]576 );577 578 $this->add_control(579 'title2_color',580 [581 'label' => __( 'Title Color', 'elementor-tables' ),582 'type' => Controls_Manager::COLOR,583 'scheme' => [584 'type' => Scheme_Color::get_type(),585 'value' => Scheme_Color::COLOR_1,586 ],587 'default' => '#ffffff',588 'selectors' => [589 '{{WRAPPER}} .table-cell.second-column h3.column-table-title' => 'color: {{VALUE}};',590 ],591 ]592 );593 594 $this->add_control(595 'button2_color',596 [597 'label' => __( 'Button Text', 'elementor-tables' ),598 'type' => Controls_Manager::COLOR,599 'scheme' => [600 'type' => Scheme_Color::get_type(),601 'value' => Scheme_Color::COLOR_1,602 ],603 'default' => '#85bafc',604 'selectors' => [605 '{{WRAPPER}} .table-cell.second-column a.btn' => 'color: {{VALUE}};',606 ],607 'condition' => [608 'enable_button2' => 'yes',609 ],610 ]611 );612 613 $this->add_control(614 'button2_hover',615 [616 'label' => __( 'Button Text Hover', 'elementor-tables' ),617 'type' => Controls_Manager::COLOR,618 'scheme' => [619 'type' => Scheme_Color::get_type(),620 'value' => Scheme_Color::COLOR_1,621 ],622 'default' => '#ffffff',623 'selectors' => [624 '{{WRAPPER}} .table-cell.second-column a.btn:hover' => 'color: {{VALUE}};',625 ],626 'condition' => [627 'enable_button2' => 'yes',628 ],629 ]630 );631 632 $this->add_control(633 'button2_bg',634 [635 'label' => __( 'Button BG', 'elementor-tables' ),636 'type' => Controls_Manager::COLOR,637 'scheme' => [638 'type' => Scheme_Color::get_type(),639 'value' => Scheme_Color::COLOR_1,640 ],641 'default' => '#ffffff',642 'selectors' => [643 '{{WRAPPER}} .table-cell.second-column a.btn' => 'background-color: {{VALUE}};',644 ],645 'condition' => [646 'enable_button2' => 'yes',647 ],648 ]649 );650 651 $this->add_control(652 'button2_bg_hover',653 [654 'label' => __( 'Button BG Hover', 'elementor-tables' ),655 'type' => Controls_Manager::COLOR,656 'scheme' => [657 'type' => Scheme_Color::get_type(),658 'value' => Scheme_Color::COLOR_1,659 ],660 'default' => '#85bafc',661 'selectors' => [662 '{{WRAPPER}} .table-cell.second-column a.btn:hover' => 'background-color: {{VALUE}};',663 ],664 'condition' => [665 'enable_button2' => 'yes',666 ],667 ]668 );669 670 $this->add_control(671 'button2_border_hover',672 [673 'label' => __( 'Button Border Hover', 'elementor-tables' ),674 'type' => Controls_Manager::COLOR,675 'scheme' => [676 'type' => Scheme_Color::get_type(),677 'value' => Scheme_Color::COLOR_1,678 ],679 'default' => '#85bafc',680 'selectors' => [681 '{{WRAPPER}} .table-cell.second-column a.btn:hover' => 'border-color: {{VALUE}};',682 ],683 'condition' => [684 'enable_button2' => 'yes',685 ],686 ]687 );688 689 $this->add_control(690 'icon2_color',691 [692 'label' => __( 'Icon Color', 'elementor-tables' ),693 'type' => Controls_Manager::COLOR,694 'scheme' => [695 'type' => Scheme_Color::get_type(),696 'value' => Scheme_Color::COLOR_1,697 ],698 'default' => '#333333',699 'selectors' => [700 '{{WRAPPER}} .table-cell.second-icon i' => 'color: {{VALUE}};',701 ],702 ]703 );704 705 $this->end_controls_section();706 400 707 401 $this->start_controls_section( … … 725 419 'selectors' => [ 726 420 '{{WRAPPER}} .table-cell.cell-feature' => 'color: {{VALUE}};', 421 ], 422 ] 423 ); 424 425 $this->add_control( 426 'features_bg', 427 [ 428 'label' => __( 'Background', 'elementor-tables' ), 429 'type' => Controls_Manager::COLOR, 430 'scheme' => [ 431 'type' => Scheme_Color::get_type(), 432 'value' => Scheme_Color::COLOR_1, 433 ], 434 'default' => '#ffffff', 435 'selectors' => [ 436 '{{WRAPPER}} .table-cell.cell-feature' => 'background-color: {{VALUE}};', 437 ], 438 ] 439 ); 440 441 $this->add_control( 442 'features_outline_color', 443 [ 444 'label' => __( 'Outline Color', 'elementor-tables' ), 445 'type' => Controls_Manager::COLOR, 446 'scheme' => [ 447 'type' => Scheme_Color::get_type(), 448 'value' => Scheme_Color::COLOR_1, 449 ], 450 'default' => '#f2f2f2', 451 'selectors' => [ 452 '{{WRAPPER}} .table-cell.cell-feature' => 'outline: 1px solid {{VALUE}};', 727 453 ], 728 454 ] … … 739 465 740 466 $this->end_controls_section(); 467 468 $this->start_controls_section( 469 'column1_title_style', 470 [ 471 'label' => __( 'First Option', 'elementor-tables' ), 472 'tab' => Controls_Manager::TAB_STYLE, 473 ] 474 ); 475 476 $this->add_control( 477 'title1_bg', 478 [ 479 'label' => __( 'Background Color', 'elementor-tables' ), 480 'type' => Controls_Manager::COLOR, 481 'scheme' => [ 482 'type' => Scheme_Color::get_type(), 483 'value' => Scheme_Color::COLOR_1, 484 ], 485 'default' => '#f2f2f2', 486 'selectors' => [ 487 '{{WRAPPER}} .table-cell.first-column' => 'background-color: {{VALUE}};', 488 '{{WRAPPER}} #el-tables .table-cell:nth-child(2)' => 'outline: 1px solid {{VALUE}};', 489 ], 490 ] 491 ); 492 493 $this->add_control( 494 'title1_color', 495 [ 496 'label' => __( 'Title Color', 'elementor-tables' ), 497 'type' => Controls_Manager::COLOR, 498 'scheme' => [ 499 'type' => Scheme_Color::get_type(), 500 'value' => Scheme_Color::COLOR_1, 501 ], 502 'default' => '#333333', 503 'selectors' => [ 504 '{{WRAPPER}} .table-cell.first-column h3.column-table-title' => 'color: {{VALUE}};', 505 ], 506 ] 507 ); 508 509 $this->add_control( 510 'button1_color', 511 [ 512 'label' => __( 'Button Text', 'elementor-tables' ), 513 'type' => Controls_Manager::COLOR, 514 'scheme' => [ 515 'type' => Scheme_Color::get_type(), 516 'value' => Scheme_Color::COLOR_1, 517 ], 518 'default' => '#ffffff', 519 'selectors' => [ 520 '{{WRAPPER}} .table-cell.first-column a.btn' => 'color: {{VALUE}};', 521 ], 522 'condition' => [ 523 'enable_button1' => 'yes', 524 ], 525 ] 526 ); 527 528 $this->add_control( 529 'button1_hover', 530 [ 531 'label' => __( 'Button Text Hover', 'elementor-tables' ), 532 'type' => Controls_Manager::COLOR, 533 'scheme' => [ 534 'type' => Scheme_Color::get_type(), 535 'value' => Scheme_Color::COLOR_1, 536 ], 537 'default' => '#ffffff', 538 'selectors' => [ 539 '{{WRAPPER}} .table-cell.first-column a.btn:hover' => 'color: {{VALUE}};', 540 ], 541 'condition' => [ 542 'enable_button1' => 'yes', 543 ], 544 ] 545 ); 546 547 $this->add_control( 548 'button1_bg', 549 [ 550 'label' => __( 'Button BG', 'elementor-tables' ), 551 'type' => Controls_Manager::COLOR, 552 'scheme' => [ 553 'type' => Scheme_Color::get_type(), 554 'value' => Scheme_Color::COLOR_1, 555 ], 556 'default' => '#30305b', 557 'selectors' => [ 558 '{{WRAPPER}} .table-cell.first-column a.btn' => 'background-color: {{VALUE}};', 559 ], 560 'condition' => [ 561 'enable_button1' => 'yes', 562 ], 563 ] 564 ); 565 566 $this->add_control( 567 'button1_bg_hover', 568 [ 569 'label' => __( 'Button BG Hover', 'elementor-tables' ), 570 'type' => Controls_Manager::COLOR, 571 'scheme' => [ 572 'type' => Scheme_Color::get_type(), 573 'value' => Scheme_Color::COLOR_1, 574 ], 575 'default' => '#30305b', 576 'selectors' => [ 577 '{{WRAPPER}} .table-cell.first-column a.btn:hover' => 'background-color: {{VALUE}};', 578 ], 579 'condition' => [ 580 'enable_button1' => 'yes', 581 ], 582 ] 583 ); 584 585 $this->add_control( 586 'button1_border_hover', 587 [ 588 'label' => __( 'Button Border Hover', 'elementor-tables' ), 589 'type' => Controls_Manager::COLOR, 590 'scheme' => [ 591 'type' => Scheme_Color::get_type(), 592 'value' => Scheme_Color::COLOR_1, 593 ], 594 'default' => '#30305b', 595 'selectors' => [ 596 '{{WRAPPER}} .table-cell.first-column a.btn:hover' => 'border-color: {{VALUE}};', 597 ], 598 'condition' => [ 599 'enable_button1' => 'yes', 600 ], 601 ] 602 ); 603 604 $this->add_control( 605 'icon1_color', 606 [ 607 'label' => __( 'Icon & Text Color', 'elementor-tables' ), 608 'type' => Controls_Manager::COLOR, 609 'scheme' => [ 610 'type' => Scheme_Color::get_type(), 611 'value' => Scheme_Color::COLOR_1, 612 ], 613 'default' => '#333333', 614 'selectors' => [ 615 '{{WRAPPER}} .table-cell.first-icon i' => 'color: {{VALUE}};', 616 '{{WRAPPER}} .table-cell.first-icon p' => 'color: {{VALUE}};', 617 ], 618 ] 619 ); 620 621 $this->add_control( 622 'icon1_bg', 623 [ 624 'label' => __( 'Column Background', 'elementor-tables' ), 625 'type' => Controls_Manager::COLOR, 626 'scheme' => [ 627 'type' => Scheme_Color::get_type(), 628 'value' => Scheme_Color::COLOR_1, 629 ], 630 'default' => '#ffffff', 631 'selectors' => [ 632 '{{WRAPPER}} .table-cell.first-icon' => 'background-color: {{VALUE}};', 633 ], 634 ] 635 ); 636 637 $this->add_control( 638 'outline1_color', 639 [ 640 'label' => __( 'Outline Color', 'elementor-tables' ), 641 'type' => Controls_Manager::COLOR, 642 'scheme' => [ 643 'type' => Scheme_Color::get_type(), 644 'value' => Scheme_Color::COLOR_1, 645 ], 646 'default' => '#f2f2f2', 647 'selectors' => [ 648 '{{WRAPPER}} .table-cell.first-icon' => 'outline: 1px solid {{VALUE}};', 649 ], 650 ] 651 ); 652 653 $this->end_controls_section(); 654 655 $this->start_controls_section( 656 'column2_title_style', 657 [ 658 'label' => __( 'Second Option', 'elementor-tables' ), 659 'tab' => Controls_Manager::TAB_STYLE, 660 ] 661 ); 662 663 $this->add_control( 664 'title2_bg', 665 [ 666 'label' => __( 'Background Color', 'elementor-tables' ), 667 'type' => Controls_Manager::COLOR, 668 'scheme' => [ 669 'type' => Scheme_Color::get_type(), 670 'value' => Scheme_Color::COLOR_1, 671 ], 672 'default' => '#30305b', 673 'selectors' => [ 674 '{{WRAPPER}} .table-cell.second-column' => 'background-color: {{VALUE}};', 675 '{{WRAPPER}} #el-tables .table-cell:nth-child(3)' => 'outline: 1px solid {{VALUE}};', 676 ], 677 ] 678 ); 679 680 $this->add_control( 681 'title2_color', 682 [ 683 'label' => __( 'Title Color', 'elementor-tables' ), 684 'type' => Controls_Manager::COLOR, 685 'scheme' => [ 686 'type' => Scheme_Color::get_type(), 687 'value' => Scheme_Color::COLOR_1, 688 ], 689 'default' => '#ffffff', 690 'selectors' => [ 691 '{{WRAPPER}} .table-cell.second-column h3.column-table-title' => 'color: {{VALUE}};', 692 ], 693 ] 694 ); 695 696 $this->add_control( 697 'button2_color', 698 [ 699 'label' => __( 'Button Text', 'elementor-tables' ), 700 'type' => Controls_Manager::COLOR, 701 'scheme' => [ 702 'type' => Scheme_Color::get_type(), 703 'value' => Scheme_Color::COLOR_1, 704 ], 705 'default' => '#85bafc', 706 'selectors' => [ 707 '{{WRAPPER}} .table-cell.second-column a.btn' => 'color: {{VALUE}};', 708 ], 709 'condition' => [ 710 'enable_button2' => 'yes', 711 ], 712 ] 713 ); 714 715 $this->add_control( 716 'button2_hover', 717 [ 718 'label' => __( 'Button Text Hover', 'elementor-tables' ), 719 'type' => Controls_Manager::COLOR, 720 'scheme' => [ 721 'type' => Scheme_Color::get_type(), 722 'value' => Scheme_Color::COLOR_1, 723 ], 724 'default' => '#ffffff', 725 'selectors' => [ 726 '{{WRAPPER}} .table-cell.second-column a.btn:hover' => 'color: {{VALUE}};', 727 ], 728 'condition' => [ 729 'enable_button2' => 'yes', 730 ], 731 ] 732 ); 733 734 $this->add_control( 735 'button2_bg', 736 [ 737 'label' => __( 'Button BG', 'elementor-tables' ), 738 'type' => Controls_Manager::COLOR, 739 'scheme' => [ 740 'type' => Scheme_Color::get_type(), 741 'value' => Scheme_Color::COLOR_1, 742 ], 743 'default' => '#ffffff', 744 'selectors' => [ 745 '{{WRAPPER}} .table-cell.second-column a.btn' => 'background-color: {{VALUE}};', 746 ], 747 'condition' => [ 748 'enable_button2' => 'yes', 749 ], 750 ] 751 ); 752 753 $this->add_control( 754 'button2_bg_hover', 755 [ 756 'label' => __( 'Button BG Hover', 'elementor-tables' ), 757 'type' => Controls_Manager::COLOR, 758 'scheme' => [ 759 'type' => Scheme_Color::get_type(), 760 'value' => Scheme_Color::COLOR_1, 761 ], 762 'default' => '#85bafc', 763 'selectors' => [ 764 '{{WRAPPER}} .table-cell.second-column a.btn:hover' => 'background-color: {{VALUE}};', 765 ], 766 'condition' => [ 767 'enable_button2' => 'yes', 768 ], 769 ] 770 ); 771 772 $this->add_control( 773 'button2_border_hover', 774 [ 775 'label' => __( 'Button Border Hover', 'elementor-tables' ), 776 'type' => Controls_Manager::COLOR, 777 'scheme' => [ 778 'type' => Scheme_Color::get_type(), 779 'value' => Scheme_Color::COLOR_1, 780 ], 781 'default' => '#85bafc', 782 'selectors' => [ 783 '{{WRAPPER}} .table-cell.second-column a.btn:hover' => 'border-color: {{VALUE}};', 784 ], 785 'condition' => [ 786 'enable_button2' => 'yes', 787 ], 788 ] 789 ); 790 791 $this->add_control( 792 'icon2_color', 793 [ 794 'label' => __( 'Icon & Text Color', 'elementor-tables' ), 795 'type' => Controls_Manager::COLOR, 796 'scheme' => [ 797 'type' => Scheme_Color::get_type(), 798 'value' => Scheme_Color::COLOR_1, 799 ], 800 'default' => '#333333', 801 'selectors' => [ 802 '{{WRAPPER}} .table-cell.second-icon i' => 'color: {{VALUE}};', 803 '{{WRAPPER}} .table-cell.second-icon p' => 'color: {{VALUE}};', 804 ], 805 ] 806 ); 807 808 $this->add_control( 809 'icon2_bg', 810 [ 811 'label' => __( 'Column Background', 'elementor-tables' ), 812 'type' => Controls_Manager::COLOR, 813 'scheme' => [ 814 'type' => Scheme_Color::get_type(), 815 'value' => Scheme_Color::COLOR_1, 816 ], 817 'default' => '#ffffff', 818 'selectors' => [ 819 '{{WRAPPER}} .table-cell.second-icon' => 'background-color: {{VALUE}};', 820 ], 821 ] 822 ); 823 824 $this->add_control( 825 'outline2_color', 826 [ 827 'label' => __( 'Outline Color', 'elementor-tables' ), 828 'type' => Controls_Manager::COLOR, 829 'scheme' => [ 830 'type' => Scheme_Color::get_type(), 831 'value' => Scheme_Color::COLOR_1, 832 ], 833 'default' => '#f2f2f2', 834 'selectors' => [ 835 '{{WRAPPER}} .table-cell.second-icon' => 'outline: 1px solid {{VALUE}};', 836 ], 837 ] 838 ); 839 840 $this->end_controls_section(); 841 741 842 } 742 843 -
tables-for-elementor/trunk/plugin.php
r1656822 r1679613 124 124 Plugin::instance()->get_version() 125 125 ); 126 127 if ( is_admin() ) {128 wp_enqueue_style(129 'elementor-show-admin',130 ELEMENTOR_TABLES_URL . 'assets/css/admin' . $direction_suffix . $suffix . '.css',131 [],132 Plugin::instance()->get_version()133 );134 }135 126 } 136 127 … … 142 133 $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; 143 134 144 wp_enqueue_style(145 'elementor-tables',146 ELEMENTOR_TABLES_URL . 'assets/css/editor' . $suffix . '.css',147 [148 'elementor-editor'149 ],150 Plugin::instance()->get_version()151 );152 135 } 153 136 -
tables-for-elementor/trunk/readme.txt
r1656822 r1679613 5 5 Tags: elementor, pagebuilder, page builder, page builder table, page builder tables, WordPress tables, table builder, builder tables 6 6 Requires at least: 4.4 7 Tested up to: 4. 7.48 Stable tag: 1.0. 17 Tested up to: 4.8.0 8 Stable tag: 1.0.2 9 9 License: GPLv3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 41 41 2. Frontend basic comparison table 42 42 43 == Changelog == 43 == Changelog == 44 = 1.0.2 = 45 * NEW: Added 3 & 4 column comparison table modules. 46 * NEW: Added color options to all columns. 47 * FIXED: Bug where color was being applied to icon only and not the text. 44 48 45 49 = 1.0.1 =
Note: See TracChangeset
for help on using the changeset viewer.