parent
ac1558e140
commit
8f6c80cee1
@ -0,0 +1,45 @@ |
||||
{ |
||||
"name": "linkifyjs", |
||||
"main": "linkify.js", |
||||
"version": "2.1.8", |
||||
"authors": [ |
||||
"SoapBox Innovations Inc. <dev@soapboxhq.com>" |
||||
], |
||||
"description": "Intelligent link recognition, made easy", |
||||
"keywords": [ |
||||
"node", |
||||
"js", |
||||
"jquery", |
||||
"link", |
||||
"autolink", |
||||
"text", |
||||
"url", |
||||
"email", |
||||
"hashtag", |
||||
"hashtags", |
||||
"mention", |
||||
"mentions" |
||||
], |
||||
"license": "MIT", |
||||
"homepage": "http://soapbox.github.io/linkifyjs/", |
||||
"ignore": [ |
||||
"**/.*", |
||||
"node_modules", |
||||
"bower_components", |
||||
"test", |
||||
"tests" |
||||
], |
||||
"dependencies": { |
||||
"jquery": ">=1.7.0" |
||||
}, |
||||
"_release": "2.1.8", |
||||
"_resolution": { |
||||
"type": "version", |
||||
"tag": "v2.1.8", |
||||
"commit": "e7fbf85e679af9ef786a6e5ab83de546a371cbac" |
||||
}, |
||||
"_source": "https://github.com/nfrasser/linkify-shim.git", |
||||
"_target": "^2.1.8", |
||||
"_originalSource": "linkifyjs", |
||||
"_direct": true |
||||
} |
||||
@ -0,0 +1,21 @@ |
||||
Linkify |
||||
======= |
||||
|
||||
Shim repository for Linkify. All issues with this plugin should be directed to http://github.com/SoapBox/linkifyjs/ |
||||
|
||||
Package Managers |
||||
---------------- |
||||
|
||||
### [Bower](http://bower.io/) |
||||
|
||||
``` |
||||
bower install linkifyjs |
||||
``` |
||||
|
||||
### [NPM](https://npmjs.com/) |
||||
|
||||
See the [main repository](https://github.com/SoapBox/linkifyjs/blob/master/README.md) for usage with Node.js/Browserify. |
||||
|
||||
``` |
||||
npm install linkifyjs |
||||
``` |
||||
@ -0,0 +1,36 @@ |
||||
{ |
||||
"name": "linkifyjs", |
||||
"main": "linkify.js", |
||||
|
||||
"version": "2.1.8", |
||||
"authors": [ |
||||
"SoapBox Innovations Inc. <dev@soapboxhq.com>" |
||||
], |
||||
"description": "Intelligent link recognition, made easy", |
||||
"keywords": [ |
||||
"node", |
||||
"js", |
||||
"jquery", |
||||
"link", |
||||
"autolink", |
||||
"text", |
||||
"url", |
||||
"email", |
||||
"hashtag", |
||||
"hashtags", |
||||
"mention", |
||||
"mentions" |
||||
], |
||||
"license": "MIT", |
||||
"homepage": "http://soapbox.github.io/linkifyjs/", |
||||
"ignore": [ |
||||
"**/.*", |
||||
"node_modules", |
||||
"bower_components", |
||||
"test", |
||||
"tests" |
||||
], |
||||
"dependencies": { |
||||
"jquery": ">=1.7.0" |
||||
} |
||||
} |
||||
@ -0,0 +1,293 @@ |
||||
'use strict'; |
||||
|
||||
;(function (window, linkify, $) { |
||||
var linkifyJquery = function (linkify) { |
||||
'use strict'; |
||||
|
||||
/** |
||||
Linkify a HTML DOM node |
||||
*/ |
||||
|
||||
var tokenize = linkify.tokenize, |
||||
options = linkify.options; |
||||
var Options = options.Options; |
||||
|
||||
|
||||
var TEXT_TOKEN = linkify.parser.TOKENS.TEXT; |
||||
|
||||
var HTML_NODE = 1; |
||||
var TXT_NODE = 3; |
||||
|
||||
/** |
||||
Given a parent element and child node that the parent contains, replaces |
||||
that child with the given array of new children |
||||
*/ |
||||
function replaceChildWithChildren(parent, oldChild, newChildren) { |
||||
var lastNewChild = newChildren[newChildren.length - 1]; |
||||
parent.replaceChild(lastNewChild, oldChild); |
||||
for (var i = newChildren.length - 2; i >= 0; i--) { |
||||
parent.insertBefore(newChildren[i], lastNewChild); |
||||
lastNewChild = newChildren[i]; |
||||
} |
||||
} |
||||
|
||||
/** |
||||
Given an array of MultiTokens, return an array of Nodes that are either |
||||
(a) Plain Text nodes (node type 3) |
||||
(b) Anchor tag nodes (usually, unless tag name is overridden in the options) |
||||
|
||||
Takes the same options as linkifyElement and an optional doc element |
||||
(this should be passed in by linkifyElement) |
||||
*/ |
||||
function tokensToNodes(tokens, opts, doc) { |
||||
var result = []; |
||||
|
||||
for (var _iterator = tokens, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { |
||||
var _ref; |
||||
|
||||
if (_isArray) { |
||||
if (_i >= _iterator.length) break; |
||||
_ref = _iterator[_i++]; |
||||
} else { |
||||
_i = _iterator.next(); |
||||
if (_i.done) break; |
||||
_ref = _i.value; |
||||
} |
||||
|
||||
var token = _ref; |
||||
|
||||
if (token.type === 'nl' && opts.nl2br) { |
||||
result.push(doc.createElement('br')); |
||||
continue; |
||||
} else if (!token.isLink || !opts.check(token)) { |
||||
result.push(doc.createTextNode(token.toString())); |
||||
continue; |
||||
} |
||||
|
||||
var _opts$resolve = opts.resolve(token), |
||||
formatted = _opts$resolve.formatted, |
||||
formattedHref = _opts$resolve.formattedHref, |
||||
tagName = _opts$resolve.tagName, |
||||
className = _opts$resolve.className, |
||||
target = _opts$resolve.target, |
||||
events = _opts$resolve.events, |
||||
attributes = _opts$resolve.attributes; |
||||
|
||||
// Build the link
|
||||
|
||||
|
||||
var link = doc.createElement(tagName); |
||||
link.setAttribute('href', formattedHref); |
||||
|
||||
if (className) { |
||||
link.setAttribute('class', className); |
||||
} |
||||
|
||||
if (target) { |
||||
link.setAttribute('target', target); |
||||
} |
||||
|
||||
// Build up additional attributes
|
||||
if (attributes) { |
||||
for (var attr in attributes) { |
||||
link.setAttribute(attr, attributes[attr]); |
||||
} |
||||
} |
||||
|
||||
if (events) { |
||||
for (var event in events) { |
||||
if (link.addEventListener) { |
||||
link.addEventListener(event, events[event]); |
||||
} else if (link.attachEvent) { |
||||
link.attachEvent('on' + event, events[event]); |
||||
} |
||||
} |
||||
} |
||||
|
||||
link.appendChild(doc.createTextNode(formatted)); |
||||
result.push(link); |
||||
} |
||||
|
||||
return result; |
||||
} |
||||
|
||||
// Requires document.createElement
|
||||
function linkifyElementHelper(element, opts, doc) { |
||||
|
||||
// Can the element be linkified?
|
||||
if (!element || element.nodeType !== HTML_NODE) { |
||||
throw new Error('Cannot linkify ' + element + ' - Invalid DOM Node type'); |
||||
} |
||||
|
||||
var ignoreTags = opts.ignoreTags; |
||||
|
||||
// Is this element already a link?
|
||||
if (element.tagName === 'A' || options.contains(ignoreTags, element.tagName)) { |
||||
// No need to linkify
|
||||
return element; |
||||
} |
||||
|
||||
var childElement = element.firstChild; |
||||
|
||||
while (childElement) { |
||||
var str = void 0, |
||||
tokens = void 0, |
||||
nodes = void 0; |
||||
|
||||
switch (childElement.nodeType) { |
||||
case HTML_NODE: |
||||
linkifyElementHelper(childElement, opts, doc); |
||||
break; |
||||
case TXT_NODE: |
||||
{ |
||||
str = childElement.nodeValue; |
||||
tokens = tokenize(str); |
||||
|
||||
if (tokens.length === 0 || tokens.length === 1 && tokens[0] instanceof TEXT_TOKEN) { |
||||
// No node replacement required
|
||||
break; |
||||
} |
||||
|
||||
nodes = tokensToNodes(tokens, opts, doc); |
||||
|
||||
// Swap out the current child for the set of nodes
|
||||
replaceChildWithChildren(element, childElement, nodes); |
||||
|
||||
// so that the correct sibling is selected next
|
||||
childElement = nodes[nodes.length - 1]; |
||||
|
||||
break; |
||||
} |
||||
} |
||||
|
||||
childElement = childElement.nextSibling; |
||||
} |
||||
|
||||
return element; |
||||
} |
||||
|
||||
function linkifyElement(element, opts) { |
||||
var doc = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; |
||||
|
||||
|
||||
try { |
||||
doc = doc || document || window && window.document || global && global.document; |
||||
} catch (e) {/* do nothing for now */} |
||||
|
||||
if (!doc) { |
||||
throw new Error('Cannot find document implementation. ' + 'If you are in a non-browser environment like Node.js, ' + 'pass the document implementation as the third argument to linkifyElement.'); |
||||
} |
||||
|
||||
opts = new Options(opts); |
||||
return linkifyElementHelper(element, opts, doc); |
||||
} |
||||
|
||||
// Maintain reference to the recursive helper to cache option-normalization
|
||||
linkifyElement.helper = linkifyElementHelper; |
||||
linkifyElement.normalize = function (opts) { |
||||
return new Options(opts); |
||||
}; |
||||
|
||||
// Applies the plugin to jQuery
|
||||
function apply($) { |
||||
var doc = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; |
||||
|
||||
|
||||
$.fn = $.fn || {}; |
||||
|
||||
try { |
||||
doc = doc || document || window && window.document || global && global.document; |
||||
} catch (e) {/* do nothing for now */} |
||||
|
||||
if (!doc) { |
||||
throw new Error('Cannot find document implementation. ' + 'If you are in a non-browser environment like Node.js, ' + 'pass the document implementation as the second argument to linkify/jquery'); |
||||
} |
||||
|
||||
if (typeof $.fn.linkify === 'function') { |
||||
// Already applied
|
||||
return; |
||||
} |
||||
|
||||
function jqLinkify(opts) { |
||||
opts = linkifyElement.normalize(opts); |
||||
return this.each(function () { |
||||
linkifyElement.helper(this, opts, doc); |
||||
}); |
||||
} |
||||
|
||||
$.fn.linkify = jqLinkify; |
||||
|
||||
$(doc).ready(function () { |
||||
$('[data-linkify]').each(function () { |
||||
var $this = $(this); |
||||
var data = $this.data(); |
||||
var target = data.linkify; |
||||
var nl2br = data.linkifyNlbr; |
||||
|
||||
var options = { |
||||
nl2br: !!nl2br && nl2br !== 0 && nl2br !== 'false' |
||||
}; |
||||
|
||||
if ('linkifyAttributes' in data) { |
||||
options.attributes = data.linkifyAttributes; |
||||
} |
||||
|
||||
if ('linkifyDefaultProtocol' in data) { |
||||
options.defaultProtocol = data.linkifyDefaultProtocol; |
||||
} |
||||
|
||||
if ('linkifyEvents' in data) { |
||||
options.events = data.linkifyEvents; |
||||
} |
||||
|
||||
if ('linkifyFormat' in data) { |
||||
options.format = data.linkifyFormat; |
||||
} |
||||
|
||||
if ('linkifyFormatHref' in data) { |
||||
options.formatHref = data.linkifyFormatHref; |
||||
} |
||||
|
||||
if ('linkifyTagname' in data) { |
||||
options.tagName = data.linkifyTagname; |
||||
} |
||||
|
||||
if ('linkifyTarget' in data) { |
||||
options.target = data.linkifyTarget; |
||||
} |
||||
|
||||
if ('linkifyValidate' in data) { |
||||
options.validate = data.linkifyValidate; |
||||
} |
||||
|
||||
if ('linkifyIgnoreTags' in data) { |
||||
options.ignoreTags = data.linkifyIgnoreTags; |
||||
} |
||||
|
||||
if ('linkifyClassName' in data) { |
||||
options.className = data.linkifyClassName; |
||||
} else if ('linkifyLinkclass' in data) { |
||||
// linkClass is deprecated
|
||||
options.className = data.linkifyLinkclass; |
||||
} |
||||
|
||||
options = linkifyElement.normalize(options); |
||||
|
||||
var $target = target === 'this' ? $this : $this.find(target); |
||||
$target.linkify(options); |
||||
}); |
||||
}); |
||||
} |
||||
|
||||
// Try assigning linkifyElement to the browser scope
|
||||
try { |
||||
!undefined.define && (window.linkifyElement = linkifyElement); |
||||
} catch (e) {/**/} |
||||
|
||||
return apply; |
||||
}(linkify); |
||||
|
||||
if (typeof $.fn.linkify !== 'function') { |
||||
linkifyJquery($); |
||||
} |
||||
})(window, linkify, jQuery); |
||||
@ -0,0 +1 @@ |
||||
"use strict";!function(e,n,t){var i=function(n){function t(e,n,t){var i=t[t.length-1];e.replaceChild(i,n);for(var a=t.length-2;a>=0;a--)e.insertBefore(t[a],i),i=t[a]}function i(e,n,t){for(var i=[],a=e,r=Array.isArray(a),o=0,a=r?a:a[Symbol.iterator]();;){var l;if(r){if(o>=a.length)break;l=a[o++]}else{if(o=a.next(),o.done)break;l=o.value}var f=l;if("nl"===f.type&&n.nl2br)i.push(t.createElement("br"));else if(f.isLink&&n.check(f)){var s=n.resolve(f),c=s.formatted,u=s.formattedHref,y=s.tagName,d=s.className,m=s.target,k=s.events,h=s.attributes,v=t.createElement(y);if(v.setAttribute("href",u),d&&v.setAttribute("class",d),m&&v.setAttribute("target",m),h)for(var g in h)v.setAttribute(g,h[g]);if(k)for(var b in k)v.addEventListener?v.addEventListener(b,k[b]):v.attachEvent&&v.attachEvent("on"+b,k[b]);v.appendChild(t.createTextNode(c)),i.push(v)}else i.push(t.createTextNode(f.toString()))}return i}function a(e,n,r){if(!e||e.nodeType!==u)throw new Error("Cannot linkify "+e+" - Invalid DOM Node type");var o=n.ignoreTags;if("A"===e.tagName||f.contains(o,e.tagName))return e;for(var s=e.firstChild;s;){var d=void 0,m=void 0,k=void 0;switch(s.nodeType){case u:a(s,n,r);break;case y:if(d=s.nodeValue,m=l(d),0===m.length||1===m.length&&m[0]instanceof c)break;k=i(m,n,r),t(e,s,k),s=k[k.length-1]}s=s.nextSibling}return e}function r(n,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{i=i||document||e&&e.document||global&&global.document}catch(r){}if(!i)throw new Error("Cannot find document implementation. If you are in a non-browser environment like Node.js, pass the document implementation as the third argument to linkifyElement.");return t=new s(t),a(n,t,i)}function o(n){function t(e){return e=r.normalize(e),this.each(function(){r.helper(this,e,i)})}var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];n.fn=n.fn||{};try{i=i||document||e&&e.document||global&&global.document}catch(a){}if(!i)throw new Error("Cannot find document implementation. If you are in a non-browser environment like Node.js, pass the document implementation as the second argument to linkify/jquery");"function"!=typeof n.fn.linkify&&(n.fn.linkify=t,n(i).ready(function(){n("[data-linkify]").each(function(){var e=n(this),t=e.data(),i=t.linkify,a=t.linkifyNlbr,o={nl2br:!!a&&0!==a&&"false"!==a};"linkifyAttributes"in t&&(o.attributes=t.linkifyAttributes),"linkifyDefaultProtocol"in t&&(o.defaultProtocol=t.linkifyDefaultProtocol),"linkifyEvents"in t&&(o.events=t.linkifyEvents),"linkifyFormat"in t&&(o.format=t.linkifyFormat),"linkifyFormatHref"in t&&(o.formatHref=t.linkifyFormatHref),"linkifyTagname"in t&&(o.tagName=t.linkifyTagname),"linkifyTarget"in t&&(o.target=t.linkifyTarget),"linkifyValidate"in t&&(o.validate=t.linkifyValidate),"linkifyIgnoreTags"in t&&(o.ignoreTags=t.linkifyIgnoreTags),"linkifyClassName"in t?o.className=t.linkifyClassName:"linkifyLinkclass"in t&&(o.className=t.linkifyLinkclass),o=r.normalize(o);var l="this"===i?e:e.find(i);l.linkify(o)})}))}var l=n.tokenize,f=n.options,s=f.Options,c=n.parser.TOKENS.TEXT,u=1,y=3;r.helper=a,r.normalize=function(e){return new s(e)};try{!(void 0).define&&(e.linkifyElement=r)}catch(d){}return o}(n);"function"!=typeof t.fn.linkify&&i(t)}(window,linkify,jQuery); |
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,181 +1,198 @@ |
||||
.chatboxmain { |
||||
position: fixed; |
||||
width: auto; |
||||
z-index: 9000; |
||||
bottom: 0px; |
||||
right: 20px; |
||||
display: block; |
||||
position: fixed; |
||||
width: auto; |
||||
z-index: 9000; |
||||
bottom: 0px; |
||||
right: 20px; |
||||
display: block; |
||||
} |
||||
|
||||
.chatboxheadmain { |
||||
color: #ffffff; |
||||
background-color: #000; |
||||
min-height: 34px; |
||||
padding: 0 10px; |
||||
color: #ffffff; |
||||
background-color: #000; |
||||
min-height: 34px; |
||||
padding: 0 10px; |
||||
} |
||||
|
||||
#chatboxtitlemain { |
||||
font-weight: normal; |
||||
float: left; |
||||
font-size: 12px; |
||||
padding-top: 2px; |
||||
cursor:pointer; |
||||
font-weight: normal; |
||||
float: left; |
||||
font-size: 12px; |
||||
padding-top: 2px; |
||||
cursor: pointer; |
||||
} |
||||
|
||||
.user_status_main { |
||||
width:18px; |
||||
display:inline; |
||||
float:left; |
||||
width: 18px; |
||||
display: inline; |
||||
float: left; |
||||
} |
||||
|
||||
.chatbox { |
||||
position: fixed; |
||||
position:expression("absolute"); |
||||
width: 320px; |
||||
display:none; |
||||
z-index: 9000; |
||||
position: fixed; |
||||
position: expression("absolute"); |
||||
width: 320px; |
||||
display: none; |
||||
z-index: 9000; |
||||
} |
||||
|
||||
.chatbox-common { |
||||
word-wrap: break-word; |
||||
} |
||||
|
||||
.chatboxmessage_me { |
||||
background-color: #4080ff; |
||||
color: #fff; |
||||
width: 80%; |
||||
float:right !important; |
||||
float: right !important; |
||||
border-radius: 12px; |
||||
} |
||||
|
||||
.chatboxmessage { |
||||
background-color: #ebedf2; |
||||
color: #2a2f35; |
||||
margin-left:1em; |
||||
margin-left: 1em; |
||||
width: 80%; |
||||
float:left; |
||||
float: left; |
||||
border-radius: 12px; |
||||
} |
||||
|
||||
.chatboxmessagecontent { |
||||
} |
||||
|
||||
.chatboxmessage_me .chatboxmessagecontent a { |
||||
color: #ffffff; |
||||
} |
||||
|
||||
.chatboxcontent { |
||||
font-family: arial,sans-serif; |
||||
font-size: 13px; |
||||
color: #333333; |
||||
height:200px; |
||||
overflow-y:auto; |
||||
overflow-x:auto; |
||||
padding:7px; |
||||
border-left:1px solid #cccccc; |
||||
border-right:1px solid #cccccc; |
||||
border-bottom:1px solid #eeeeee; |
||||
background-color: #ffffff; |
||||
line-height: 1.3em; |
||||
font-family: arial, sans-serif; |
||||
font-size: 13px; |
||||
color: #333333; |
||||
max-height: 200px; |
||||
overflow-y: auto; |
||||
overflow-x: auto; |
||||
padding: 7px; |
||||
border-left: 1px solid #cccccc; |
||||
border-right: 1px solid #cccccc; |
||||
border-bottom: 1px solid #eeeeee; |
||||
background-color: #ffffff; |
||||
line-height: 1.3em; |
||||
} |
||||
|
||||
.chatboxcontent .alert { |
||||
margin-bottom: 0; |
||||
} |
||||
|
||||
.user_status { |
||||
width:8px; |
||||
display:inline-block; |
||||
margin-right: 5px; |
||||
width: 8px; |
||||
display: inline-block; |
||||
margin-right: 5px; |
||||
} |
||||
|
||||
.chatimage { |
||||
display: inline-block; |
||||
margin-right: 5px; |
||||
display: inline-block; |
||||
margin-right: 5px; |
||||
} |
||||
|
||||
.chatboxtitle { |
||||
font-weight: normal; |
||||
display: inline-block; |
||||
font-size: 10px; |
||||
width: auto; |
||||
cursor:pointer; |
||||
overflow: hidden; |
||||
padding-left: 2px; |
||||
text-overflow: ellipsis; |
||||
white-space: nowrap; |
||||
line-height: 10px; |
||||
font-weight: normal; |
||||
display: inline-block; |
||||
font-size: 10px; |
||||
width: auto; |
||||
cursor: pointer; |
||||
overflow: hidden; |
||||
padding-left: 2px; |
||||
text-overflow: ellipsis; |
||||
white-space: nowrap; |
||||
line-height: 10px; |
||||
} |
||||
|
||||
.chatboxhead { |
||||
/* background-color: #222; */ |
||||
padding: 5px; |
||||
color: #ffffff; |
||||
border-right:1px solid #222; |
||||
border-left:1px solid #222; |
||||
background-color: #222; |
||||
background-repeat: repeat-x; |
||||
background-image: -khtml-gradient(linear, left top, left bottom, from(#333333), to(#222222)); |
||||
background-image: -moz-linear-gradient(top, #333333, #222222); |
||||
background-image: -ms-linear-gradient(top, #333333, #222222); |
||||
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #333333), color-stop(100%, #222222)); |
||||
background-image: -webkit-linear-gradient(top, #333333, #222222); |
||||
background-image: -o-linear-gradient(top, #333333, #222222); |
||||
background-image: linear-gradient(top, #333333, #222222); |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0); |
||||
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); |
||||
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); |
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); |
||||
/* background-color: #222; */ |
||||
padding: 5px; |
||||
color: #ffffff; |
||||
border-right: 1px solid #222; |
||||
border-left: 1px solid #222; |
||||
background-color: #222; |
||||
background-repeat: repeat-x; |
||||
background-image: -khtml-gradient(linear, left top, left bottom, from(#333333), to(#222222)); |
||||
background-image: -moz-linear-gradient(top, #333333, #222222); |
||||
background-image: -ms-linear-gradient(top, #333333, #222222); |
||||
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #333333), color-stop(100%, #222222)); |
||||
background-image: -webkit-linear-gradient(top, #333333, #222222); |
||||
background-image: -o-linear-gradient(top, #333333, #222222); |
||||
background-image: linear-gradient(top, #333333, #222222); |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0); |
||||
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); |
||||
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); |
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); |
||||
} |
||||
|
||||
.chatboxblink { |
||||
background-color: #FF921F; |
||||
border-right:1px solid #EF7A00; |
||||
border-left:1px solid #EF7A00; |
||||
background-color: #FF921F; |
||||
border-right: 1px solid #EF7A00; |
||||
border-left: 1px solid #EF7A00; |
||||
background-repeat: repeat-x; |
||||
background-image: -khtml-gradient(linear, left top, left bottom, from(#FF921F), to(#FF921F)); |
||||
background-image: -moz-linear-gradient(top, #FF921F, #FFAC55); |
||||
background-image: -ms-linear-gradient(top, #FF921F, #FF921F); |
||||
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #FF921F), color-stop(100%, #FF921F)); |
||||
background-image: -webkit-linear-gradient(top, #FF921F, #FF921F); |
||||
background-image: -o-linear-gradient(top, #FF921F, #FF921F); |
||||
background-image: linear-gradient(top, #FF921F, #FF921F); |
||||
background-image: -khtml-gradient(linear, left top, left bottom, from(#FF921F), to(#FF921F)); |
||||
background-image: -moz-linear-gradient(top, #FF921F, #FFAC55); |
||||
background-image: -ms-linear-gradient(top, #FF921F, #FF921F); |
||||
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #FF921F), color-stop(100%, #FF921F)); |
||||
background-image: -webkit-linear-gradient(top, #FF921F, #FF921F); |
||||
background-image: -o-linear-gradient(top, #FF921F, #FF921F); |
||||
background-image: linear-gradient(top, #FF921F, #FF921F); |
||||
} |
||||
|
||||
.chatboxinput { |
||||
padding: 5px; |
||||
background-color: #ffffff; |
||||
border-left:1px solid #cccccc; |
||||
border-right:1px solid #cccccc; |
||||
border-bottom:1px solid #cccccc; |
||||
padding: 5px; |
||||
background-color: #ffffff; |
||||
border-left: 1px solid #cccccc; |
||||
border-right: 1px solid #cccccc; |
||||
border-bottom: 1px solid #cccccc; |
||||
} |
||||
|
||||
.chatboxtextarea { |
||||
width: 300px; |
||||
height:44px; |
||||
padding:3px 0pt 3px 3px; |
||||
border: 1px solid #eeeeee; |
||||
margin: 1px; |
||||
overflow:hidden; |
||||
width: 300px; |
||||
height: 44px; |
||||
padding: 3px 0pt 3px 3px; |
||||
border: 1px solid #eeeeee; |
||||
margin: 1px; |
||||
overflow: hidden; |
||||
} |
||||
|
||||
.chatboxtextareaselected { |
||||
border: 2px solid #f99d39; |
||||
margin:0; |
||||
border: 2px solid #f99d39; |
||||
margin: 0; |
||||
} |
||||
|
||||
.chatboxinfo { |
||||
margin-left:-1em; |
||||
color:#666666; |
||||
margin-left: -1em; |
||||
color: #666666; |
||||
} |
||||
|
||||
.chatboxmessagefrom { |
||||
margin-left:-1em; |
||||
font-weight: bold; |
||||
margin-left: -1em; |
||||
font-weight: bold; |
||||
} |
||||
|
||||
.chatboxoptions { |
||||
float: right; |
||||
float: right; |
||||
} |
||||
|
||||
.chatboxoptions a { |
||||
text-decoration: none; |
||||
color: white; |
||||
font-weight:bold; |
||||
font-family:Verdana,Arial,"Bitstream Vera Sans",sans-serif; |
||||
text-decoration: none; |
||||
color: white; |
||||
font-weight: bold; |
||||
font-family: Verdana, Arial, "Bitstream Vera Sans", sans-serif; |
||||
} |
||||
|
||||
.chatboxoptions a:hover { |
||||
background-color: #aaa; |
||||
background-color: #aaa; |
||||
} |
||||
|
||||
.chatbox_checks { |
||||
float:right; |
||||
float: right; |
||||
} |
||||
|
||||
.chatbox_checked { |
||||
color: #13A7F0; |
||||
color: #13A7F0; |
||||
} |
||||
|
||||
Loading…
Reference in new issue