mirror of
https://github.com/friendica/friendica
synced 2025-04-26 16:30:12 +00:00
Remove language selectors from themes
This is now a user setting
This commit is contained in:
parent
fb3ac68cc0
commit
ae9c9829fa
21 changed files with 672 additions and 941 deletions
|
@ -125,8 +125,6 @@ nav #nav-notifications-linkmenu.on .icon.s22.notify,nav #nav-notifications-linkm
|
|||
#notify-update{background-position:-60px 0px;}
|
||||
#home-update{background-position:-90px 0px;}
|
||||
#intro-update{background-position:-120px 0px;}
|
||||
#lang-select-icon{cursor:pointer;position:fixed;left:28px;bottom:6px;z-index:10;}
|
||||
#language-selector{position:fixed;bottom:2px;left:52px;z-index:10;}
|
||||
.menu-popup{position:absolute;display:none;background:white;color:#2e2f2e;margin:0px;padding:0px;font-size:small;line-height:1.2;border:3px solid #88a9d2;-o-border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;-ms-border-radius:5px;border-radius:5px;z-index:100000;-moz-box-shadow:5px 5px 5px 0px #111111;-o-box-shadow:5px 5px 5px 0px #111111;-webkit-box-shadow:5px 5px 5px 0px #111111;-ms-box-shadow:5px 5px 5px 0px #111111;box-shadow:5px 5px 5px 0px #111111;}.menu-popup a{display:block;color:#2e2f2e;padding:5px 10px;text-decoration:none;}.menu-popup a:hover{color:#eeeecc;background-color:#88a9d2;}
|
||||
.menu-popup .menu-sep{border-top:1px solid #4e4f4e;}
|
||||
.menu-popup li{float:none;overflow:auto;height:auto;display:block;}.menu-popup li img{float:left;width:16px;height:16px;padding-right:5px;}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* dispy dark
|
||||
* Description: Dispy Dark: dark, sleek, functional
|
||||
* author, maintainer: simon <http://simon.kisikew.org/>
|
||||
*
|
||||
*
|
||||
* Author's notes:
|
||||
* A few things of note here. The less file is our working copy,
|
||||
* and the CSS is *generated* from it. The CSS is the one that's
|
||||
|
@ -798,19 +798,7 @@ nav #nav-notifications-linkmenu {
|
|||
#intro-update {
|
||||
background-position: -120px 0px;
|
||||
}
|
||||
#lang-select-icon {
|
||||
cursor: pointer;
|
||||
position: fixed;
|
||||
left: 28px;
|
||||
bottom: 6px;
|
||||
z-index: 10;
|
||||
}
|
||||
#language-selector {
|
||||
position: fixed;
|
||||
bottom: 2px;
|
||||
left: 52px;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.menu-popup {
|
||||
position: absolute;
|
||||
display: none;
|
||||
|
@ -1696,7 +1684,7 @@ div {
|
|||
margin: 0 6px 0 -3px;
|
||||
}
|
||||
.profile-match-photo {
|
||||
|
||||
|
||||
}
|
||||
[id$="-end"], [class$="-end"] {
|
||||
clear: both;
|
||||
|
@ -2100,7 +2088,7 @@ div {
|
|||
#register-form label,
|
||||
#profile-edit-form label {
|
||||
width: 23em;
|
||||
}
|
||||
}
|
||||
#register-form span,
|
||||
#profile-edit-form span {
|
||||
color: @menu_bg_colour;
|
||||
|
|
|
@ -125,8 +125,6 @@ nav #nav-notifications-linkmenu.on .icon.s22.notify,nav #nav-notifications-linkm
|
|||
#notify-update{background-position:-60px 0px;}
|
||||
#home-update{background-position:-90px 0px;}
|
||||
#intro-update{background-position:-120px 0px;}
|
||||
#lang-select-icon{cursor:pointer;position:fixed;left:28px;bottom:6px;z-index:10;}
|
||||
#language-selector{position:fixed;bottom:2px;left:52px;z-index:10;}
|
||||
.menu-popup{position:absolute;display:none;background:white;color:#111111;margin:0px;padding:0px;font-size:small;line-height:1.2;border:3px solid #3465a4;-o-border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;-ms-border-radius:5px;border-radius:5px;z-index:100000;-moz-box-shadow:5px 5px 5px 0px #111111;-o-box-shadow:5px 5px 5px 0px #111111;-webkit-box-shadow:5px 5px 5px 0px #111111;-ms-box-shadow:5px 5px 5px 0px #111111;box-shadow:5px 5px 5px 0px #111111;}.menu-popup a{display:block;color:#111111;padding:5px 10px;text-decoration:none;}.menu-popup a:hover{color:#eeeeec;background-color:#3465a4;}
|
||||
.menu-popup .menu-sep{border-top:1px solid #4e4f4e;}
|
||||
.menu-popup li{float:none;overflow:auto;height:auto;display:block;}.menu-popup li img{float:left;width:16px;height:16px;padding-right:5px;}
|
||||
|
|
|
@ -799,19 +799,7 @@ nav #nav-notifications-linkmenu {
|
|||
#intro-update {
|
||||
background-position: -120px 0px;
|
||||
}
|
||||
#lang-select-icon {
|
||||
cursor: pointer;
|
||||
position: fixed;
|
||||
left: 28px;
|
||||
bottom: 6px;
|
||||
z-index: 10;
|
||||
}
|
||||
#language-selector {
|
||||
position: fixed;
|
||||
bottom: 2px;
|
||||
left: 52px;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.menu-popup {
|
||||
position: absolute;
|
||||
display: none;
|
||||
|
@ -1697,7 +1685,7 @@ div {
|
|||
margin: 0 6px 0 -3px;
|
||||
}
|
||||
.profile-match-photo {
|
||||
|
||||
|
||||
}
|
||||
[id$="-end"], [class$="-end"] {
|
||||
clear: both;
|
||||
|
@ -2101,7 +2089,7 @@ div {
|
|||
#register-form label,
|
||||
#profile-edit-form label {
|
||||
width: 23em;
|
||||
}
|
||||
}
|
||||
#register-form span,
|
||||
#profile-edit-form span {
|
||||
color: @menu_bg_colour;
|
||||
|
|
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue