-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add WordPress 5.0 to travis build * Add element filter API, link notes, bitly report, additional tests * Add code standards fixes * Add version increment * Fix link label concatenation for batch created links with multiple labels * Fix notes label * Add support for showing note previews in link list * Add dependency updates * Remove unused method * Add new test * Add new test * Increment version number * Add full length notes support * Fix spacing * Add network updates * Add updated pot language file * Fix test version number * Add additional check to filter test * Change filter ui test * Add assertions to settings register test * Update README * Fix output test api usage
- Loading branch information
1 parent
9325908
commit e16d57c
Showing
25 changed files
with
956 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
;(function ($) { | ||
|
||
$(function () { | ||
|
||
if($('#utmdclink_notes').length) { | ||
$('#utmdclink_notes').height( $('#utmdclink_notes')[0].scrollHeight ); | ||
} | ||
|
||
}); | ||
|
||
})(jQuery); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import './editor/batch-toggle' | ||
import './editor/textarea-size' | ||
import './editor/url-tester' | ||
import './postlist/link-copy' | ||
import './settings/slider' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
;(function ($) { | ||
|
||
$(function () { | ||
|
||
if($('.utmdclinks-settings-slider input').length) { | ||
$('.utmdclinks-settings-slider input').siblings('output').html( | ||
$('.utmdclinks-settings-slider input').val() | ||
); | ||
} | ||
|
||
$('.utmdclinks-settings-slider input').on('input', function(event){ | ||
$(this).siblings('output').html($(this).val()); | ||
}); | ||
|
||
$('#utmdclink_notes_show').on('change', function(event){ | ||
if( $(this).attr('checked') == 'checked' ) { | ||
$('#utmdclinks_notes_preview_row').removeClass('hidden'); | ||
} else { | ||
$('#utmdclinks_notes_preview_row').addClass('hidden'); | ||
} | ||
}); | ||
|
||
}); | ||
|
||
})(jQuery); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
// colors | ||
// WordPress Colors | ||
$wp_gray_dark: #23282d; | ||
$wp_gray: #f1f1f1; | ||
$wp_green: #46b450; | ||
$wp_red: #dc3232; | ||
$wp_blue: #0084c4; | ||
|
||
// Base Colors | ||
$white: #ffffff; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// Mixins | ||
@import 'mixins/_toggle.scss'; | ||
@import 'mixins/*'; | ||
|
||
// Settings & Globals | ||
@import '_/settings'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
@mixin css-slider($background_color: #ffffff, $slider_color: #0084c4, $track_width: 140px, $track_height: 28px, $button_width: 28px, $button_height: 28px) { | ||
|
||
input[type=range] { | ||
background: transparent; | ||
-webkit-appearance: none; | ||
margin: 0; | ||
padding: 0; | ||
width: $track_width; | ||
vertical-align: middle; | ||
|
||
&:focus { | ||
outline: 0; | ||
-moz-outline-style: 0; | ||
|
||
&::-webkit-slider-runnable-track, | ||
&::-ms-fill-lower, | ||
&::-ms-fill-upper { | ||
background: $slider_color; | ||
} | ||
|
||
} | ||
|
||
&::-webkit-slider-runnable-track { | ||
width: 100%; | ||
height: $track_height; | ||
cursor: pointer; | ||
background: $slider_color; | ||
border: 2px solid $slider_color; | ||
} | ||
|
||
&::-webkit-slider-thumb { | ||
width: $button_width; | ||
height: $button_height; | ||
margin-top: -2px; | ||
background: $background_color; | ||
cursor: pointer; | ||
-webkit-appearance: none; | ||
border-top: 2px solid $slider_color; | ||
border-bottom: 2px solid $slider_color; | ||
border-radius: 0; | ||
} | ||
|
||
&::-moz-focus-outer { | ||
border: 0; | ||
} | ||
|
||
&::-moz-range-track { | ||
width: 100%; | ||
height: $track_height; | ||
cursor: pointer; | ||
background: $slider_color; | ||
border: 2px solid $slider_color; | ||
} | ||
|
||
&::-moz-range-thumb { | ||
width: $button_width; | ||
height: $button_height; | ||
background: $background_color; | ||
cursor: pointer; | ||
-webkit-appearance: none; | ||
border: 0; | ||
border-radius: 0; | ||
} | ||
|
||
&::-ms-track { | ||
width: 100%; | ||
height: $track_height; | ||
cursor: pointer; | ||
background: transparent; | ||
border-color: transparent; | ||
color: transparent; | ||
} | ||
|
||
&::-ms-fill-lower { | ||
background: $slider_color; | ||
border: 0; | ||
} | ||
|
||
&::-ms-fill-upper { | ||
background: $slider_color; | ||
border: 0; | ||
} | ||
|
||
&::-ms-thumb { | ||
width: $button_width; | ||
height: calc(#{$button_height} - 2px); | ||
background: $background_color; | ||
cursor: pointer; | ||
margin-top: 0; | ||
border: 1px solid $slider_color; | ||
border-radius: 0; | ||
} | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,4 +47,19 @@ | |
|
||
} | ||
|
||
.utmdclink { | ||
|
||
&_notes { | ||
|
||
textarea { | ||
width: 100%; | ||
min-height: 200px; | ||
padding: 10px; | ||
resize: vertical; | ||
} | ||
|
||
} | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
&-copy { | ||
width: 100%; | ||
max-width: 100%; | ||
margin-bottom: 10px; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.