Remove language selectors from themes

This is now a user setting
This commit is contained in:
fabrixxm 2015-11-08 14:42:54 +01:00
parent fb3ac68cc0
commit ae9c9829fa
21 changed files with 672 additions and 941 deletions

View file

@ -35,7 +35,7 @@ input {
border: 1px solid #666666;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
border-radius: 3px;
padding: 3px;
}
@ -63,7 +63,7 @@ code {
background: #EEE;
color: #444;
padding: 10px;
margin-top: 20px;
margin-top: 20px;
}
blockquote {
@ -176,10 +176,10 @@ nav #banner #logo-text a:hover { text-decoration: none; }
border: 1px solid #babdb6;
border-bottom: 0px;
background-color: #aec0d3;
color: #565854;
color: #565854;
-moz-border-radius: 3px 3px 0px 0px;
-webkit-border-radius: 3px 3px 0px 0px;
border-radius: 3px 3px 0px 0px;
border-radius: 3px 3px 0px 0px;
}
.nav-commlink.selected {
@ -337,7 +337,7 @@ section {
.tabs {
height: 27px;
/*background-image: url(head.jpg);
background-repeat: repeat-x;
background-repeat: repeat-x;
background-position: 0px -20px;
border-bottom: 1px solid #babdb6;*/
padding:0px;
@ -345,7 +345,7 @@ section {
.tabs li { margin: 0px; list-style: none; }
.tabs a {
/* background-image: url(head.jpg);
background-repeat: repeat-x;
background-repeat: repeat-x;
background-position: 0px 0px;
background-size: auto 45px;*/
@ -423,14 +423,14 @@ div.wall-item-content-wrapper.shiny {
}
/* from default */
#jot-perms-icon,
#jot-perms-icon,
#profile-location,
#profile-nolocation,
#profile-youtube,
#profile-video,
#profile-youtube,
#profile-video,
#profile-audio,
#profile-link,
#profile-title,
#profile-title,
#wall-image-upload,
#wall-file-upload,
#profile-upload-wrapper,
@ -462,13 +462,13 @@ div.wall-item-content-wrapper.shiny {
#jot-category::-webkit-input-placeholder{font-weight: normal;}
#jot-title:-moz-placeholder{font-weight: normal;}
#jot-category:-moz-placeholder{font-weight: normal;}
#jot-title:hover,
#jot-title:focus,
#jot-category:hover,
#jot-category:focus {
border: 1px solid #cccccc;
border: 1px solid #cccccc;
}
.jothidden { display:none; }
@ -493,7 +493,7 @@ div.wall-item-content-wrapper.shiny {
padding: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
border-radius: 3px;
border: 1px solid #CCCCCC;
background: #F8F8F8;
font-weight: bold;
@ -503,7 +503,7 @@ div.wall-item-content-wrapper.shiny {
padding: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
border-radius: 3px;
border: 1px solid #CCCCCC;
background: #F8F8F8;
font-weight: bold;
@ -593,7 +593,7 @@ div.wall-item-content-wrapper.shiny {
}
#login-submit-button {
margin-top: 10px;
margin-top: 10px;
margin-left: 200px;
}*/
@ -995,7 +995,7 @@ input#dfrn-url {
clear: left;
color: #666666;
display: block;
margin-bottom: 20px
margin-bottom: 20px
}
#profile-edit-profile-name-end,
@ -1220,7 +1220,7 @@ input#dfrn-url {
display: block;
position: absolute;
background-image: url("photo-menu.jpg");
background-position: top left;
background-position: top left;
background-repeat: no-repeat;
margin: 0px; padding: 0px;
width: 16px;
@ -1229,7 +1229,7 @@ input#dfrn-url {
overflow: hidden;
text-indent: 40px;
display: none;
}
.wall-item-photo-menu {
width: auto;
@ -1275,7 +1275,7 @@ input#dfrn-url {
margin-top: 1em; /* needs to match .wall-item-content-wrapper padding-top */
left: 105px;
position: absolute;
top: 1px;
top: 1px;
}
.comment .wall-item-lock {
left: 65px;
@ -1329,11 +1329,11 @@ input#dfrn-url {
}
.star-item {
margin-left: 10px;
float: left;
float: left;
}
.tag-item {
margin-left: 10px;
float: left;
float: left;
}
.filer-item {
@ -1373,7 +1373,7 @@ input#dfrn-url {
-webkit-border-radius: 7px;
}
.comment .wall-item-photo {
width: 50px !important;
width: 50px !important;
height: 50px !important;
border-radius: 5px;
-moz-border-radius: 5px;
@ -1431,7 +1431,7 @@ input#dfrn-url {
.wall-item-title {
float: left;
font-weight: bold;
font-size: 1.6em;
font-size: 1.6em;
/*width: 450px;*/
}
@ -1475,7 +1475,7 @@ input#dfrn-url {
margin-left: 0px;
margin-top: 5px;
padding-top: 0px;
}
}
.comment-edit-wrapper {
margin-top: 15px;
@ -1514,7 +1514,7 @@ input#dfrn-url {
margin-top: 10px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
border-radius: 3px;
border: 1px solid #cccccc;
padding: 3px 1px 1px 3px;
}
@ -1563,7 +1563,7 @@ input#dfrn-url {
padding-top: 0.5em;
margin-top: 1em;
margin-bottom: 1em;
}
.shared_header img {
float: left;
@ -2010,7 +2010,7 @@ input#dfrn-url {
.contact-photo-menu-button {
position: absolute;
background-image: url("photo-menu.jpg");
background-position: top left;
background-position: top left;
background-repeat: no-repeat;
margin: 0px; padding: 0px;
width: 16px;
@ -2019,7 +2019,7 @@ input#dfrn-url {
overflow: hidden;
text-indent: 40px;
display: none;
}
.contact-photo-menu {
width: auto;
@ -2056,7 +2056,7 @@ input#dfrn-url {
border: 1px solid #cccccc;
padding: 3px 0px 0px 5px;
-moz-border-radius: 3px;
border-radius: 3px;
border-radius: 3px;
}
@ -2110,7 +2110,7 @@ input#dfrn-url {
overflow: auto;
}
#acl-list-content {
}
.acl-list-item {
display: block;
@ -2127,7 +2127,7 @@ input#dfrn-url {
margin: 4px;
}
.acl-list-item p { height: 12px; font-size: 10px; margin: 0px; padding: 2px 0px 1px; overflow: hidden;}
.acl-list-item a {
.acl-list-item a {
font-size: 10px; /* 8px; */
display: block;
width: 50px;
@ -2442,15 +2442,15 @@ aside input[type='text'] {
margin-top: 15px;
margin-right: 15px;
margin-left: 15px;
/* width: 200px; height: 200px;
overflow: hidden;
/* width: 200px; height: 200px;
overflow: hidden;
position: relative; */
}
.photo-album-image-wrapper .caption {
display: none;
display: none;
width: 100%;
/* position: absolute; */
bottom: 0px;
bottom: 0px;
padding: 0.5em 0.5em 0px 0.5em;
background-color: rgba(245, 245, 255, 0.8);
border-bottom: 2px solid #CCC;
@ -2466,7 +2466,7 @@ aside input[type='text'] {
}
.photo-top-image-wrapper {
/* position: relative;
/* position: relative;
float: left;*/
display: inline-block;
vertical-align: top;
@ -2474,7 +2474,7 @@ aside input[type='text'] {
margin-right: 15px;
margin-left: 15px;
margin-bottom: 15px;
/* width: 200px; height: 200px;
/* width: 200px; height: 200px;
overflow: hidden; */
}
.photo-album-image-wrapper img, .photo-top-image-wrapper img {
@ -2489,7 +2489,7 @@ aside input[type='text'] {
width: 100%;
min-height: 2em;
/* position: absolute; */
bottom: 0px;
bottom: 0px;
padding: 0px 3px;
padding-top: 0.5em;
background-color: rgb(255, 255, 255);
@ -2585,7 +2585,7 @@ aside input[type='text'] {
}
#profile-jot-banner-end {
/* clear: both; */
/* clear: both; */
}
#photos-upload-select-files-text {
@ -2872,7 +2872,7 @@ aside input[type='text'] {
}
/* end from default */
.fn {
padding: 0px 0px 5px 12px;
@ -2891,7 +2891,7 @@ aside input[type='text'] {
#birthday-title {
float: left;
font-weight: bold;
font-weight: bold;
}
#birthday-adjust {
@ -3015,7 +3015,7 @@ aside input[type='text'] {
clear: both;
}
.calendar {
font-family: Courier, monospace;
}
@ -3159,12 +3159,6 @@ aside input[type='text'] {
margin-bottom: 15px;
}
#language-selector {
position: absolute;
top: 0px;
left: 16px;
}
#group-members {
margin-top: 20px;
padding: 10px;
@ -3261,7 +3255,7 @@ aside input[type='text'] {
#netsearch-box {
margin-top: 20px;
margin-top: 20px;
}
#netsearch-box #search-submit {
@ -3351,19 +3345,6 @@ aside input[type='text'] {
text-decoration: underline;
}
#lang-select-icon {
cursor: pointer;
position: absolute;
left: 0px;
top: 0px;
opacity: 0.2;
filter:alpha(opacity=20);
}
#lang-select-icon:hover {
opacity: 1;
filter:alpha(opacity=100);
}
.notif-image {
height: 80px;
@ -3385,7 +3366,7 @@ aside input[type='text'] {
.settings-heading {
border-bottom: 1px solid #babdb6;
}
/**
* Form fields
@ -3468,7 +3449,7 @@ aside input[type='text'] {
font-weight: bold;
background-color: #FF0000;
padding: 0em 0.3em;
}
#adminpage dl {
clear: left;
@ -3527,7 +3508,7 @@ aside input[type='text'] {
/*
* UPDATE
*/
.popup {
.popup {
width: 100%; height: 100%;
top:0px; left:0px;
position: absolute;
@ -3548,7 +3529,7 @@ aside input[type='text'] {
border: 4px solid #000000;
background-color: #FFFFFF;
}
.popup .panel .panel_text { display: block; overflow: auto; height: 80%; }
.popup .panel .panel_text { display: block; overflow: auto; height: 80%; }
.popup .panel .panel_in { width: 100%; height: 100%; position: relative; }
.popup .panel .panel_actions { width: 100%; bottom: 4px; left: 0px; position: absolute; }
.panel_text .progress { width: 50%; overflow: hidden; height: auto; border: 1px solid #cccccc; margin-bottom: 5px}
@ -3561,7 +3542,7 @@ aside input[type='text'] {
height: auto; overflow: auto;
border-bottom: 2px solid #cccccc;
padding-bottom: 1em;
margin-bottom: 1em;
margin-bottom: 1em;
}
.oauthapp img {
float: left;
@ -4154,7 +4135,7 @@ ul.notifications-menu-popup {
}
#recip {
}
.autocomplete-w1 { background: #ffffff no-repeat bottom right; position:absolute; top:0px; left:0px; margin:6px 0 0 6px; /* IE6 fix: */ _background:none; _margin:1px 0 0 0; }
.autocomplete { color:#000; border:1px solid #999; background:#FFF; cursor:default; text-align:left; max-height:350px; overflow:auto; margin:-6px 6px 6px -6px; /* IE6 specific: */ _height:350px; _margin:0; _overflow-x:hidden; }

View file

@ -1,11 +0,0 @@
<div id="lang-select-icon" class="icon s22 language" title="{{$title}}" onclick="openClose('language-selector');" ></div>
<div id="language-selector" style="display: none;" >
<form action="#" method="post" >
<select name="system_language" onchange="this.form.submit();" >
{{foreach $langs.0 as $v=>$l}}
<option value="{{$v}}" {{if $v==$langs.1}}selected="selected"{{/if}}>{{$l}}</option>
{{/foreach}}
</select>
</form>
</div>