diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-12-07 18:57:03 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-12-07 18:57:03 +0100 |
commit | 293df6308c2c8b3581ee4ac812b3ac65f31ccc66 (patch) | |
tree | a649c7c18247b5203af92e82ebb3ead44fd86fa6 | |
parent | af29822f04516c492fb41116d7a82e099cc89788 (diff) | |
download | volse-hubzilla-293df6308c2c8b3581ee4ac812b3ac65f31ccc66.tar.gz volse-hubzilla-293df6308c2c8b3581ee4ac812b3ac65f31ccc66.tar.bz2 volse-hubzilla-293df6308c2c8b3581ee4ac812b3ac65f31ccc66.zip |
some style.css janitor work
-rw-r--r-- | view/js/mod_mitem.js | 7 | ||||
-rw-r--r-- | view/theme/redbasic/css/style.css | 292 |
2 files changed, 20 insertions, 279 deletions
diff --git a/view/js/mod_mitem.js b/view/js/mod_mitem.js index e883763df..56805a723 100644 --- a/view/js/mod_mitem.js +++ b/view/js/mod_mitem.js @@ -2,11 +2,6 @@ * JavaScript used by mod/mitem. */ $(document).ready(function() { - $("a#settings-default-perms-menu").colorbox({ - 'inline' : true, - 'transition' : 'elastic' - }); - $('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() { var selstr; $('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() { @@ -19,4 +14,4 @@ $(document).ready(function() { $('#jot-public').show(); } }).trigger('change'); -});
\ No newline at end of file +}); diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 0efd39681..16f7845e2 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -57,26 +57,11 @@ abbr { } /* icons */ -.tool-icons { +.tool-icons, +.cat-icons { color: $toolicon_colour; } -.icon { - background-color: transparent ; - background-repeat: no-repeat; - display: block; - overflow: hidden; - text-indent: -9999px; -} - -.icon.text { - text-indent: 0px; -} - -.connect-icon { - margin-right: 5px; -} - a, .fakelink { color: $link_colour; @@ -141,27 +126,12 @@ pre { border:1px solid #ccc; } -.ccollapse-wrapper { - border: 1px solid #CCC; - padding: 5px; -} - .heart { color: #FF0000; font-size: 100%; margin-right: 5px; } -.subdued { - opacity: 0.3; - filter:alpha(opacity=30); -} - -.subdued:hover { - opacity: 1.0; - filter:alpha(opacity=100); -} - nav, header { opacity: $nav_float_min_opacity; @@ -264,11 +234,6 @@ footer { margin: 15px 0px; } -.fakebutton { - margin-top: 15px; - margin-bottom: 15px; -} - /*TODO: we should use one class for all this. */ .group-selected, @@ -284,19 +249,6 @@ footer { color: $font_colour; } - -.fileas-all { - text-decoration: none !important; -} - -.fileas-all:hover { - text-decoration: underline !important; -} - -#sysmsg { - margin-bottom: 10px; -} - #login-main { max-width: 300px; margin-top: 50px; @@ -312,10 +264,6 @@ footer { clear: both; } -#page-profile .title { - font-weight: bold; -} - #profile-edit-links { padding-top: 15px; padding-bottom: 15px; @@ -367,22 +315,6 @@ footer { margin-bottom: 0px; } -#profile-extra-links { - clear: both; - margin-top: 10px; -} - -#profile-extra-links ul { - list-style-type: none; - padding: 0px; -} - - -#profile-extra-links li { - margin-top: 10px; -} - - .profile-edit-side-link { padding: 3px 0px; opacity: 0; @@ -395,31 +327,10 @@ footer { filter:alpha(opacity=100); } - -.view-contact-wrapper { - margin-top: 20px; - float: left; - margin-left: 20px; - width: 180px; -} - -.contact-wrapper { - float: left; - width: 150px; - height: 150px; - overflow: auto; -} - #view-contact-end { clear: both; } - -#viewconnections { - margin-top: 15px; -} - - #profile-photo-wrapper img { width: 100%; height: 100%; @@ -436,13 +347,6 @@ footer { border-radius: $radiuspx; } - -#profile-in-dir-yes-label, -#profile-in-dir-no-label, -#profile-in-netdir-yes-label, -#profile-in-netdir-no-label, -#hide-wall-yes-label, -#hide-wall-no-label, #hide-friends-yes-label, #hide-friends-no-label { margin-left: 125px; @@ -450,34 +354,11 @@ footer { width: 50px; } - -#profile-publish-yes-reg, -#profile-publish-no-reg { - float: left; - margin-bottom: 10px; -} - -#profile-publish-yes-label-reg, -#profile-publish-no-label-reg { - margin-left: 350px; - float: left; - width: 50px; -} - -#profile-publish-break-reg, -#profile-publish-end-reg { - clear: both; -} - - #fsuggest-desc, #fsuggest-submit-wrapper { margin-top: 15px; margin-bottom: 15px; } -.thread-end-wrapper { - margin-left: 50px; -} .profile-listing-photo-wrapper { float: left; } @@ -509,10 +390,6 @@ footer { } -.directory-details { - font-size: 0.7em; -} - .app-name { overflow: none; } @@ -544,27 +421,17 @@ footer { padding: 4px; } -.pager_first a, -.pager_last a, -.pager_prev a, -.pager_next a, -.pager_n a { -} - .pager_current { - border: 1px solid transparent; - background: transparent; - padding: 4px; -} - -#block-message, #ignore-message, #archive-message, #lost-contact-message { - color: #FF0000; + border: 1px solid transparent; + background: transparent; + padding: 4px; } -.photo, .contact-block-img { - border-radius: $radiuspx; - -moz-border-radius: $radiuspx; - box-shadow: $shadowpx $shadowpx $shadowpx 0 #444444; +.photo, +.contact-block-img { + border-radius: $radiuspx; + -moz-border-radius: $radiuspx; + box-shadow: $shadowpx $shadowpx $shadowpx 0 #444444; } #side-bar-photos-albums { @@ -575,10 +442,11 @@ footer { list-style: none; } -.profile-match-photo img, .directory-photo-img, .photo-album-photo, .photo-top-photo { - border-radius: $radiuspx; - -moz-border-radius: $radiuspx; - box-shadow: $shadowpx $shadowpx $shadowpx 0 #444444; +.profile-match-photo img, +.directory-photo-img { + border-radius: $radiuspx; + -moz-border-radius: $radiuspx; + box-shadow: $shadowpx $shadowpx $shadowpx 0 #444444; } .profile-match-photo img { @@ -586,57 +454,10 @@ footer { height: $top_photo !important; } -#sidebar-page-list .label { - margin-left: 5px; -} - -.photo-top-photo, .photo-album-photo { - /* padding: 10px; - max-width: 300px; - border: 1px solid #888888; -*/ - position: absolute; - display: block; -/* max-width: 100%; - max-height: 100%; */ - left: 0; - right: 0; - top: 0; - bottom: 0; - margin: auto; -} - -.photo-top-photo-link, .photo-album-photo-link { - display: block; - width: 100%; - position: relative; - height: 0; - padding: 75% 0 0 0; - overflow: hidden; -} - #photo-view-wrapper { background-color: $item_colour; } -#side-follow-wrapper { - margin-top: 20px; -} - -#side-peoplefind-url::-webkit-input-placeholder, #side-advanced-peoplefind-url::-webkit-input-placeholder { - font-family: FontAwesome; -} - -#side-peoplefind-url::-moz-placeholder, #side-advanced-peoplefind-url::-moz-placeholder { - font-family: FontAwesome; -} - - -#side-match-link { - margin-top: 10px; -} - - .pmenu.horizontal { padding: 0 0 0 0; border-bottom: none; @@ -655,11 +476,6 @@ footer { padding-right: 15px; } -#settings-default-perms-menu { - margin-top: 15px; - margin-bottom: 15px; -} - .group-delete-wrapper { float: right; } @@ -692,9 +508,9 @@ a.rateme, div.rateme { } #pause { - position: fixed; - bottom: 5px; - right: 5px; + position: fixed; + bottom: 5px; + right: 5px; } #vcard-end { @@ -810,11 +626,6 @@ nav .acpopup { width: 290px; } -.profile-clear { - clear: both; -} - - .clear { clear: both; } @@ -831,24 +642,11 @@ nav .acpopup { margin-bottom: 20px; } -/* end from default */ - - #network-new-link { margin-top: 15px; margin-bottom: 15px; } - -.tool-wrapper { - float: left; - margin-left: 15px; -} - -.tool-link { - cursor: pointer; -} - #cboxOverlay { z-index: 1050; } @@ -865,29 +663,10 @@ nav .acpopup { z-index: 1052; } -.settings-block { - border: 1px solid #AAA; - margin: 10px; - padding: 10px; -} - .app-title { margin: 10px; } -#identity-manage-desc { - margin-top:15px; - margin-bottom: 15px; -} - -#identity-manage-choose { - margin-bottom: 15px; -} - -#identity-submit { - margin-top: 20px; -} - .profile-match-photo { float: left; } @@ -999,26 +778,10 @@ nav .acpopup { margin-top: 15px; } - .required { color: #ff0000; } -#item-delete-selected { - margin-top: 30px; -} - -#item-delete-selected-end { - clear: both; -} -#item-delete-selected-icon, #item-delete-selected-desc { - float: left; - margin-right: 5px; -} -#item-delete-selected-desc:hover { - text-decoration: underline; -} - .notif-image { height: 80px; width: 80px; @@ -1030,18 +793,6 @@ nav .acpopup { } /** - * Plugins settings - */ - -.settings-block > h3, -.settings-heading { - border-bottom: 1px solid #babdb6; -} - - - - -/** * OAuth */ .oauthapp { @@ -1145,7 +896,7 @@ div.jGrowl div.jGrowl-notification { } .jslider .jslider-scale ins { - color: #333; + color: #333; font-size: $body_font_size; width: 100px; text-align: center; @@ -1352,11 +1103,6 @@ a.rconnect:hover, a.rateme:hover, div.rateme:hover { font-size : 1.8em !important; } - -div.page-list-item { -margin: 20px; -} - div#write-pages { display: block; background: silver; |