diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-14 21:50:34 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-14 21:50:34 +0000 |
commit | d3b5a8a53771dee9788608d1a30135ca0fa7c6aa (patch) | |
tree | 3c6202684991301a68802d307bec9eb4308dcd88 /mod | |
parent | d27572e839f8f5d035471ce79aa2c2797b9bd086 (diff) | |
download | elgg-d3b5a8a53771dee9788608d1a30135ca0fa7c6aa.tar.gz elgg-d3b5a8a53771dee9788608d1a30135ca0fa7c6aa.tar.bz2 |
Fixes #3109: added non-vendor-prefixed css property declarations where applicable. Cleaned up various other aspects of the css
git-svn-id: http://code.elgg.org/elgg/trunk@8703 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r-- | mod/custom_index/views/default/custom_index/css.php | 8 | ||||
-rw-r--r-- | mod/embed/views/default/embed/css.php | 61 | ||||
-rw-r--r-- | mod/groups/views/default/groups/css.php | 5 | ||||
-rw-r--r-- | mod/messages/views/default/messages/css.php | 9 | ||||
-rw-r--r-- | mod/profile/views/default/profile/css.php | 45 | ||||
-rw-r--r-- | mod/reportedcontent/views/default/reportedcontent/admin_css.php | 4 | ||||
-rw-r--r-- | mod/search/views/default/search/css.php | 13 | ||||
-rw-r--r-- | mod/tinymce/views/default/tinymce/css.php | 3 | ||||
-rw-r--r-- | mod/twitter/views/default/twitter/css.php | 14 |
9 files changed, 105 insertions, 57 deletions
diff --git a/mod/custom_index/views/default/custom_index/css.php b/mod/custom_index/views/default/custom_index/css.php index 0cac0b170..ef7b0a39c 100644 --- a/mod/custom_index/views/default/custom_index/css.php +++ b/mod/custom_index/views/default/custom_index/css.php @@ -12,12 +12,12 @@ padding: 10px 0; } .custom-index .elgg-module-featured { - box-shadow: 1px 1px 5px #CCC; - -moz-box-shadow: 1px 1px 5px #CCC; -webkit-box-shadow: 1px 1px 5px #CCC; + -moz-box-shadow: 1px 1px 5px #CCC; + box-shadow: 1px 1px 5px #CCC; } .custom-index .elgg-module-featured:hover { - box-shadow: 1px 1px 6px #AAA; - -moz-box-shadow: 1px 1px 6px #AAA; -webkit-box-shadow: 1px 1px 6px #AAA; + -moz-box-shadow: 1px 1px 6px #AAA; + box-shadow: 1px 1px 6px #AAA; } diff --git a/mod/embed/views/default/embed/css.php b/mod/embed/views/default/embed/css.php index 378c996e3..e695eab9f 100644 --- a/mod/embed/views/default/embed/css.php +++ b/mod/embed/views/default/embed/css.php @@ -21,8 +21,10 @@ background-color: white; width: 730px; min-height:400px; + -webkit-border-radius: 8px; -moz-border-radius: 8px; + border-radius: 8px; } #facebox .loading { text-align: center; @@ -72,10 +74,12 @@ .embeded_file.link { display: inline; margin-right: 5px; - background-repeat:no-repeat; + padding-left: 14px; + background-repeat: no-repeat; + -webkit-background-size: 12px 16px; -moz-background-size: 12px 16px; - padding-left:14px; + background-size: 12px 16px; } /* entity listings */ @@ -118,11 +122,14 @@ #facebox .content .elgg-input-tags { font: 120% Arial, Helvetica, sans-serif; padding: 5px; - border: 1px solid #cccccc; - color:#666666; + border: 1px solid #ccc; + color:#666; background-color: white; + -webkit-border-radius: 5px; -moz-border-radius: 5px; + border-radius: 5px; + -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; @@ -131,22 +138,22 @@ #facebox .content .elgg-input-tags:focus { border: solid 1px #4690d6; background: #e4ecf5; - color:#333333; + color:#333; } #facebox .content .elgg-input-file { background-color: white; } #facebox .content p { - color:#333333; + color:#333; } #facebox .content p.entity-title { - color:#666666; + color:#666; } #facebox .content .elgg-image-block:hover { - background-color: #eeeeee; + background-color: #eee; } #facebox .content label { - color:#333333; + color:#333; } @@ -156,7 +163,7 @@ #facebox .body .elgg-tabs { margin-bottom:5px; padding: 0; - border-bottom: 2px solid #cccccc; + border-bottom: 2px solid #ccc; display:table; width:100%; } @@ -167,14 +174,14 @@ } #facebox .body .elgg-tabs li { float: left; - border: 2px solid #cccccc; + border: 2px solid #ccc; border-bottom-width: 0; - background: #eeeeee; + background: #eee; margin: 0 0 0 10px; - -moz-border-radius-topleft:5px; - -moz-border-radius-topright:5px; - -webkit-border-top-left-radius:5px; - -webkit-border-top-right-radius:5px; + + -webkit-border-radius:5px 5px 0 0; + -moz-border-radius: 5px 5px 0 0; + border-raidus: 5px 5px 0 0; } #facebox .body .elgg-tabs a { text-decoration: none; @@ -182,14 +189,14 @@ padding:3px 10px 0 10px; text-align: center; height:21px; - color:#999999; + color:#999; } #facebox .body .elgg-tabs a:hover { background: #dedede; - color:#666666; + color:#666; } #facebox .body .elgg-tabs .selected { - border-color: #cccccc; + border-color: #ccc; background: white; } #facebox .body .elgg-tabs .selected a { @@ -205,25 +212,25 @@ float:right; } #facebox .body .pagination .pagination-number { - border:1px solid #999999; - color:#666666; + border:1px solid #999; + color:#666; } #facebox .body .pagination .pagination-number:hover { - background-color:#aaaaaa; + background-color:#aaa; color:black; } #facebox .body .pagination .pagination-previous, #facebox .body .pagination .pagination-next { - border:1px solid #999999; - color:#666666; + border:1px solid #999; + color:#666; } #facebox .body .pagination .pagination-previous:hover, #facebox .body .pagination .pagination-next:hover { - background-color:#aaaaaa; + background-color:#aaa; color:black; } #facebox .body .pagination .pagination-currentpage { - background-color:#666666; - border:1px solid #666666; + background-color:#666; + border:1px solid #666; color:white; }
\ No newline at end of file diff --git a/mod/groups/views/default/groups/css.php b/mod/groups/views/default/groups/css.php index 23579fb90..06b86d1ee 100644 --- a/mod/groups/views/default/groups/css.php +++ b/mod/groups/views/default/groups/css.php @@ -14,15 +14,20 @@ background: #eeeeee; padding: 5px; margin-top: 10px; + -webkit-border-radius: 5px; -moz-border-radius: 5px; + border-radius: 5px; } .groups-profile-fields .odd, .groups-profile-fields .even { background: #f4f4f4; + -webkit-border-radius: 4px; -moz-border-radius: 4px; + border-radius: 4px; + padding: 2px 4px; margin-bottom: 7px; } diff --git a/mod/messages/views/default/messages/css.php b/mod/messages/views/default/messages/css.php index 69fa16bfb..6f2e532e4 100644 --- a/mod/messages/views/default/messages/css.php +++ b/mod/messages/views/default/messages/css.php @@ -50,10 +50,15 @@ .messages-new { color: white; background-color: red; + -webkit-border-radius: 10px; -moz-border-radius: 10px; - -webkit-box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.50); /* safari v3+ */ - -moz-box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.50); /* FF v3.5+ */ + border-radius: 10px; + + -webkit-box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.50); + -moz-box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.50); + box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.50); + position: absolute; text-align: center; top: 0px; diff --git a/mod/profile/views/default/profile/css.php b/mod/profile/views/default/profile/css.php index d252dec68..e24f555a9 100644 --- a/mod/profile/views/default/profile/css.php +++ b/mod/profile/views/default/profile/css.php @@ -14,9 +14,11 @@ } .profile .elgg-inner { margin: 0 5px; - border: 2px solid #eeeeee; + border: 2px solid #eee; + -webkit-border-radius: 8px; -moz-border-radius: 8px; + border-radius: 8px; } #profile-details { padding: 15px; @@ -25,7 +27,7 @@ #profile-owner-block { width: 200px; float: left; - background-color: #eeeeee; + background-color: #eee; padding: 15px; } #profile-owner-block .large { @@ -37,8 +39,11 @@ } .profile-content-menu a { display: block; + -webkit-border-radius: 8px; -moz-border-radius: 8px; + border-radius: 8px; + background-color: white; margin: 3px 0 5px 0; padding: 2px 4px 2px 8px; @@ -53,16 +58,21 @@ } .profile-admin-menu-wrapper a { display: block; + -webkit-border-radius: 8px; -moz-border-radius: 8px; + border-radius: 8px; + background-color: white; margin: 3px 0 5px 0; padding: 2px 4px 2px 8px; } .profile-admin-menu-wrapper { background-color: white; + -webkit-border-radius: 8px; -moz-border-radius: 8px; + border-radius: 8px; } .profile-admin-menu-wrapper li a { background-color: white; @@ -74,32 +84,43 @@ } /*** profile details ***/ #profile-details .odd { - background-color:#f4f4f4; + background-color: #f4f4f4; + -webkit-border-radius: 4px; -moz-border-radius: 4px; - margin:0 0 7px 0; - padding:2px 4px 2px 4px; + border-radius: 4px; + + margin: 0 0 7px; + padding: 2px 4px; } #profile-details .even { background-color:#f4f4f4; + -webkit-border-radius: 4px; -moz-border-radius: 4px; - margin:0 0 7px 0; - padding:2px 4px 2px 4px; + border-radius: 4px; + + margin: 0 0 7px; + padding: 2px 4px; } .profile-aboutme-title { background-color:#f4f4f4; + -webkit-border-radius: 4px; -moz-border-radius: 4px; - margin:0 0 0px 0; - padding:2px 4px 2px 4px; + border-radius: 4px; + + margin: 0; + padding: 2px 4px; } .profile-aboutme-contents { - padding:2px 0 0 3px; + padding: 2px 0 0 3px; } .profile-banned-user { - border:2px solid red; - padding:4px 8px; + border: 2px solid red; + padding: 4px 8px; + -webkit-border-radius: 6px; -moz-border-radius: 6px; + border-radius: 6px; } diff --git a/mod/reportedcontent/views/default/reportedcontent/admin_css.php b/mod/reportedcontent/views/default/reportedcontent/admin_css.php index 02c235a99..b1e96f56c 100644 --- a/mod/reportedcontent/views/default/reportedcontent/admin_css.php +++ b/mod/reportedcontent/views/default/reportedcontent/admin_css.php @@ -8,10 +8,12 @@ /* REPORTED CONTENT */ .reported-content { - margin: 5px 0 0 0; + margin: 5px 0 0; padding: 5px 7px 3px 9px; + -webkit-border-radius: 5px; -moz-border-radius: 5px; + border-radius: 5px; } .reported-content p { margin: 0; diff --git a/mod/search/views/default/search/css.php b/mod/search/views/default/search/css.php index 02e43bf8b..e53ef99bf 100644 --- a/mod/search/views/default/search/css.php +++ b/mod/search/views/default/search/css.php @@ -6,7 +6,7 @@ ?> /********************************** - Search plugin +Search plugin ***********************************/ .elgg-page-header .elgg-search { bottom: 5px; @@ -23,21 +23,20 @@ .elgg-search input[type=text] { -webkit-border-radius: 10px; -moz-border-radius: 10px; + border-radius: 10px; + border: 1px solid #71b9f7; color: white; font-size: 12px; font-weight: bold; padding: 2px 4px 2px 26px; - background-color: transparent; - background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png); - background-position: 2px -220px; - background-repeat: no-repeat; + background-color: transparent url(<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png) no-repeat 2px -220px; } .elgg-search input[type=text]:focus, .elgg-search input[type=text]:active { background-color: white; - color: #0054A7; - border: 1px solid white; background-position: 2px -257px; + border: 1px solid white; + color: #0054A7; } .search-list li { diff --git a/mod/tinymce/views/default/tinymce/css.php b/mod/tinymce/views/default/tinymce/css.php index c8ef1954f..5d008024f 100644 --- a/mod/tinymce/views/default/tinymce/css.php +++ b/mod/tinymce/views/default/tinymce/css.php @@ -12,8 +12,10 @@ /* TinyMCE */ .elgg-page .mceEditor table.mceLayout { border: 1px solid #CCC; + -webkit-border-radius: 5px; -moz-border-radius: 5px; + border-radius: 5px; } .elgg-page table.mceLayout tr.mceFirst td.mceToolbar, .elgg-page table.mceLayout tr.mceLast td.mceStatusbar { @@ -22,4 +24,5 @@ .mceButton { -webkit-border-radius: 4px; -moz-border-radius: 4px; + border-radius: 4px; } diff --git a/mod/twitter/views/default/twitter/css.php b/mod/twitter/views/default/twitter/css.php index 5c7b4eec5..ffabdf98c 100644 --- a/mod/twitter/views/default/twitter/css.php +++ b/mod/twitter/views/default/twitter/css.php @@ -7,7 +7,7 @@ ?> #twitter_widget { - margin:0 10px 0 10px; + margin:0 10px 0 10px; } #twitter_widget ul { margin:0; @@ -25,23 +25,29 @@ #twitter_widget li span { color:#666666; background:white; + -webkit-border-radius: 8px; -moz-border-radius: 8px; + border-radius: 8px; + padding:5px; display:block; } p.visit_twitter a { - background:url(<?php echo elgg_get_site_url(); ?>mod/twitter/graphics/twitter16px.png) left no-repeat; - padding:0 0 0 20px; - margin:0; + background:url(<?php echo elgg_get_site_url(); ?>mod/twitter/graphics/twitter16px.png) left no-repeat; + padding:0 0 0 20px; + margin:0; } p.twitter_username .input-text { width:200px; } .visit_twitter { background:white; + -webkit-border-radius: 8px; -moz-border-radius: 8px; + border-radius: 8px; + padding:2px; margin:0 0 5px 0; } |