Merge pull request #2413 from asaadmahmoodspin/themeFix

PLT-2138 - Fixing theme sharing box
Этот коммит содержится в:
Christopher Speller
2016-03-11 08:49:27 -05:00
родитель 12434f8963 601c4cd72d
Коммит 8b6b02143d
3 изменённых файлов: 18 добавлений и 17 удалений

Просмотреть файл

@@ -253,6 +253,8 @@ class CustomThemeChooser extends React.Component {
</div> </div>
</div> </div>
); );
colors += theme[element.id] + ',';
} else if (element.group === 'sidebarElements') { } else if (element.group === 'sidebarElements') {
sidebarElements.push( sidebarElements.push(
<div <div

Просмотреть файл

@@ -370,21 +370,6 @@ export default {
id: 'newMessageSeparator', id: 'newMessageSeparator',
uiName: 'New Message Separator' uiName: 'New Message Separator'
}, },
{
group: 'linkAndButtonElements',
id: 'linkColor',
uiName: 'Link Color'
},
{
group: 'linkAndButtonElements',
id: 'buttonBg',
uiName: 'Button BG'
},
{
group: 'linkAndButtonElements',
id: 'buttonColor',
uiName: 'Button Text'
},
{ {
group: 'centerChannelElements', group: 'centerChannelElements',
id: 'mentionHighlightBg', id: 'mentionHighlightBg',
@@ -417,6 +402,21 @@ export default {
uiName: 'Monokai' uiName: 'Monokai'
} }
] ]
},
{
group: 'linkAndButtonElements',
id: 'linkColor',
uiName: 'Link Color'
},
{
group: 'linkAndButtonElements',
id: 'buttonBg',
uiName: 'Button BG'
},
{
group: 'linkAndButtonElements',
id: 'buttonColor',
uiName: 'Button Text'
} }
], ],
DEFAULT_CODE_THEME: 'github', DEFAULT_CODE_THEME: 'github',

Просмотреть файл

@@ -573,8 +573,7 @@
.glyphicon-refresh-animate { .glyphicon-refresh-animate {
right: 33px; right: 33px;
top: 15px; top: 15px;
color: #fff; color: #aaa;
color: rgba(255,255,255,0.5);
} }
.form-control { .form-control {
border: none; border: none;