Changeset 5690 for trunk/prototype/modules/mail
- Timestamp:
- 03/09/12 16:04:36 (12 years ago)
- Location:
- trunk/prototype/modules/mail
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/mail/css/label.css
r5603 r5690 93 93 font-size:11px; 94 94 color:#000000; 95 cursor:pointer; 96 } 97 #MyMarckersList.list-label .title-my-labels:hover { 98 color:red !important; 99 text-decoration: none !important; 95 100 } 96 101 #MyMarckersList.list-label .status-list-labels{display:inline-block; position: absolute;} -
trunk/prototype/modules/mail/js/label.js
r5677 r5690 60 60 } 61 61 62 function rgb2hex(rgb){ 63 rgb = rgb.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/); 64 return "#" + 65 ("0" + parseInt(rgb[1],10).toString(16)).slice(-2) + 66 ("0" + parseInt(rgb[2],10).toString(16)).slice(-2) + 67 ("0" + parseInt(rgb[3],10).toString(16)).slice(-2); 62 function rgb2hex(rgb){ 63 if(!!(rgb = rgb.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/))){ 64 return "#" + 65 ("0" + parseInt(rgb[1],10).toString(16)).slice(-2) + 66 ("0" + parseInt(rgb[2],10).toString(16)).slice(-2) + 67 ("0" + parseInt(rgb[3],10).toString(16)).slice(-2); 68 }else{ 69 return rgb; 70 } 68 71 } 69 72
Note: See TracChangeset
for help on using the changeset viewer.