diff options
-rw-r--r-- | view/css/mod_cloud.css | 15 | ||||
-rw-r--r-- | view/css/mod_photos.css | 3 | ||||
-rw-r--r-- | view/js/mod_photos.js | 10 | ||||
-rw-r--r-- | view/theme/redbasic/css/style.css | 12 | ||||
-rw-r--r-- | view/theme/redbasic/tpl/theme_settings.tpl | 2 | ||||
-rw-r--r-- | view/tpl/cloud_actionspanel.tpl | 11 |
6 files changed, 18 insertions, 35 deletions
diff --git a/view/css/mod_cloud.css b/view/css/mod_cloud.css index 56f4c415b..7cbcc8807 100644 --- a/view/css/mod_cloud.css +++ b/view/css/mod_cloud.css @@ -2,7 +2,10 @@ #files-upload-tools, [id^="perms-panel-"] { display: none; - padding: 3px 10px 3px 10px !important; +} + +[id^="perms-panel-"] { + padding: 3px 10px 0px 10px !important; } #attach-code, @@ -14,19 +17,17 @@ width: 100%; } -#cloud-index th { - padding-top: 7px; -} - #cloud-index td:nth-child(1){ padding: 7px 3px 7px 10px; } +#cloud-index th:nth-child(8), #cloud-index td:nth-child(8){ padding: 7px 3px; white-space: nowrap; } +#cloud-index th:nth-child(9), #cloud-index td:nth-child(9){ padding: 7px 10px 7px 7px; white-space: nowrap; @@ -35,3 +36,7 @@ .cloud-index-tool { padding: 7px 10px; } + +#files-upload { + padding: 2px; +} diff --git a/view/css/mod_photos.css b/view/css/mod_photos.css index 34bac51e9..6fefad8e4 100644 --- a/view/css/mod_photos.css +++ b/view/css/mod_photos.css @@ -25,6 +25,5 @@ } #photos-upload-choose { - border: unset; - padding: unset; + padding: 2px; } diff --git a/view/js/mod_photos.js b/view/js/mod_photos.js index 8b7706f16..0a64f8102 100644 --- a/view/js/mod_photos.js +++ b/view/js/mod_photos.js @@ -3,16 +3,6 @@ var ispublic = aStr['everybody']; $(document).ready(function() { - $("a#photos-upload-perms-menu").colorbox({ - 'inline' : true, - 'transition' : 'elastic' - }); - - $("a#settings-default-perms-menu").colorbox({ - 'inline' : true, - 'transition' : 'elastic' - }); - var a; a = $("#photo-edit-newtag").autocomplete({ serviceUrl: baseurl + '/acl', diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 357718623..b778c43b5 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -689,18 +689,6 @@ footer { overflow: hidden; } -#photos-upload-perms-menu, #photos-upload-perms-menu:visited, #photos-upload-perms-menu:link { - color: #8888FF; - text-decoration: none; - cursor: pointer; -} - -#photos-upload-perms-menu:hover { - color: #0000FF; - text-decoration: underline; - cursor: pointer; -} - #photo-view-wrapper { background-color: $item_colour; } diff --git a/view/theme/redbasic/tpl/theme_settings.tpl b/view/theme/redbasic/tpl/theme_settings.tpl index 70b42b6cd..adf2e632d 100644 --- a/view/theme/redbasic/tpl/theme_settings.tpl +++ b/view/theme/redbasic/tpl/theme_settings.tpl @@ -34,7 +34,7 @@ {{include file="field_input.tpl" field=$nav_min_opacity}} {{include file="field_input.tpl" field=$top_photo}} {{include file="field_input.tpl" field=$reply_photo}} -{{include file="field_checkbox.tpl" field=$sloppy_photos}} +{{*include file="field_checkbox.tpl" field=$sloppy_photos*}} <script> $(function(){ $('#id_redbasic_nav_bg,#id_redbasic_nav_gradient_top,#id_redbasic_nav_gradient_bottom,#id_redbasic_nav_active_gradient_top,#id_redbasic_nav_active_gradient_bottom').colorpicker(); diff --git a/view/tpl/cloud_actionspanel.tpl b/view/tpl/cloud_actionspanel.tpl index d88bc94c4..0e621e9db 100644 --- a/view/tpl/cloud_actionspanel.tpl +++ b/view/tpl/cloud_actionspanel.tpl @@ -2,16 +2,17 @@ <label for="files-mkdir">{{$folder_header}}</label> <form method="post" action=""> <input type="hidden" name="sabreAction" value="mkcol"> - <input id="files-mkdir" type="text" name="name"> - <input type="submit" value="{{$folder_submit}}"> + <input id="files-mkdir" type="text" name="name" class="form-control form-group"> + <button class="btn btn-primary btn-sm pull-right" type="submit" value="{{$folder_submit}}">{{$folder_submit}}</button> </form> + <div class="clear"></div> </div> <div id="files-upload-tools" class="section-content-tools-wrapper form-group"> - <label for="files-upload">{{$upload_header}}</label> <form method="post" action="" enctype="multipart/form-data"> <input type="hidden" name="sabreAction" value="put"> - <input id="files-upload" type="file" name="file" style="display: inline;"> - <input type="submit" value="{{$upload_submit}}"> + <input class="pull-left" id="files-upload" type="file" name="file"> + <button class="btn btn-primary btn-sm pull-right" type="submit" value="{{$upload_submit}}">{{$upload_submit}}</button> <!-- Name (optional): <input type="text" name="name"> we should rather provide a rename action in edit form--> </form> + <div class="clear"></div> </div> |