Skip to content

Commit

Permalink
Minor style normalization.
Browse files Browse the repository at this point in the history
Drop grunt source maps as they do not work with Mautic.
  • Loading branch information
heathdutton committed Mar 9, 2018
1 parent 835b4c8 commit 6b925de
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Assets/build/contactclient.min.css

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions Assets/build/contactclient.min.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion Assets/build/contactclient.min.js.map

This file was deleted.

22 changes: 15 additions & 7 deletions Assets/css/contactclient.css
Expand Up @@ -440,8 +440,8 @@ ul.bs-autocomplete-menu a {
}

.api_payload .contactclient_jsoneditor div[data-schematype="object"][data-schemapath*=".request"] {
border-radius: 10px;
background: #00AB91;
border-radius: 3px;
background: #637589;
padding-top: 20px;
}

Expand All @@ -452,8 +452,10 @@ ul.bs-autocomplete-menu a {
position: absolute;
top: 0;
left: 0;
border-bottom: 50px solid #00AB91;
border-bottom: 50px solid #6d8197;
border-left: 50px solid #fff;
box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.1);
border-bottom-right-radius: 3px;
}

.api_payload .contactclient_jsoneditor div[data-schemapath*=".request.body"] > label,
Expand Down Expand Up @@ -491,7 +493,7 @@ ul.bs-autocomplete-menu a {

.api_payload .contactclient_jsoneditor div[data-schematype="object"][data-schemapath*=".response"] {
margin-top: 80px;
border-radius: 10px;
border-radius: 3px;
background: #455392;
padding-top: 20px;
}
Expand All @@ -503,8 +505,10 @@ ul.bs-autocomplete-menu a {
position: absolute;
top: 0;
left: 0;
border-bottom: 50px solid #455392;
border-bottom: 50px solid #4c5ba0;
border-left: 50px solid #fff;
box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.1);
border-bottom-right-radius: 3px;
}

.api_payload .contactclient_jsoneditor div[data-schematype="object"][data-schemapath*=".response.success"]:before {
Expand Down Expand Up @@ -541,12 +545,12 @@ ul.bs-autocomplete-menu a {
overflow: visible;
font-family: FontAwesome;
position: relative;
background: pink;
background: transparent;
display: block;
text-align: center;
top: -30px;
font-size: 90px;
color: #00AB91;
color: #637589;
}

.api_payload .contactclient_jsoneditor td[data-schematype="boolean"] {
Expand Down Expand Up @@ -576,4 +580,8 @@ ul.bs-autocomplete-menu a {
/* push delete buttons to the right */
.api_payload .contactclient_jsoneditor .table-bordered > tbody > tr > td:last-child {
text-align: right;
}

label.api-payload {
display: none;
}
4 changes: 3 additions & 1 deletion Assets/json/api_payload.json
Expand Up @@ -164,7 +164,9 @@
"title": "URL",
"options": {
"infoText": "The complete web address we will be communicating with.",
"grid_columns": 6
"grid_columns": 6,
"required": "true",
"placeholder": "https://..."
},
"default": ""
},
Expand Down
4 changes: 0 additions & 4 deletions Gruntfile.js
Expand Up @@ -19,10 +19,6 @@ module.exports = function (grunt) {
grunt.initConfig({
uglify: {
my_target: {
options: {
sourceMap: true,
sourceMapName: 'Assets/build/contactclient.min.js.map'
},
files: {
'Assets/build/contactclient.min.js': ['Assets/js/libraries/*.js', 'Assets/js/libraries/jquery-ui/*.js', 'Assets/js/*.js']
}
Expand Down

0 comments on commit 6b925de

Please sign in to comment.