New toolbar colors
This commit is contained in:
@@ -43,6 +43,30 @@ body {
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
}
|
||||
.padColor {
|
||||
color: #1c4fa0;
|
||||
}
|
||||
.codeColor {
|
||||
color: #ffae00;
|
||||
}
|
||||
.slideColor {
|
||||
color: #e57614;
|
||||
}
|
||||
.pollColor {
|
||||
color: #006304;
|
||||
}
|
||||
.fileColor {
|
||||
color: #cd2532;
|
||||
}
|
||||
.whiteboardColor {
|
||||
color: #800080;
|
||||
}
|
||||
.driveColor {
|
||||
color: #0087ff;
|
||||
}
|
||||
.defaultColor {
|
||||
color: #ddd;
|
||||
}
|
||||
div:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
@@ -74,6 +74,15 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
.padColor { color: @toolbar-pad-bg; }
|
||||
.codeColor { color: @toolbar-code-bg; }
|
||||
.slideColor { color: @toolbar-slide-bg; }
|
||||
.pollColor { color: @toolbar-poll-bg; }
|
||||
.fileColor { color: @toolbar-file-bg; }
|
||||
.whiteboardColor { color: @toolbar-whiteboard-bg; }
|
||||
.driveColor { color: @toolbar-drive-bg; }
|
||||
.defaultColor { color: @toolbar-default-bg; }
|
||||
|
||||
div:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
@@ -154,11 +154,12 @@ define([
|
||||
var $folderOpenedIcon = $('<span>', {"class": "fa fa-folder-open folder"});
|
||||
var $folderOpenedEmptyIcon = $folderOpenedIcon.clone();
|
||||
var $fileIcon = $('<span>', {"class": "fa fa-file-text-o file icon"});
|
||||
var $padIcon = $('<span>', {"class": "fa fa-file-word-o file icon"});
|
||||
var $codeIcon = $('<span>', {"class": "fa fa-file-code-o file icon"});
|
||||
var $slideIcon = $('<span>', {"class": "fa fa-file-powerpoint-o file icon"});
|
||||
var $pollIcon = $('<span>', {"class": "fa fa-calendar file icon"});
|
||||
var $whiteboardIcon = $('<span>', {"class": "fa fa-paint-brush"});
|
||||
var $fileAppIcon = $('<span>', {"class": "fa fa-file-text-o file icon fileColor"});
|
||||
var $padIcon = $('<span>', {"class": "fa fa-file-word-o file icon padColor"});
|
||||
var $codeIcon = $('<span>', {"class": "fa fa-file-code-o file icon codeColor"});
|
||||
var $slideIcon = $('<span>', {"class": "fa fa-file-powerpoint-o file icon slideColor"});
|
||||
var $pollIcon = $('<span>', {"class": "fa fa-calendar file icon pollColor"});
|
||||
var $whiteboardIcon = $('<span>', {"class": "fa fa-paint-brush whiteboardColor"});
|
||||
//var $upIcon = $('<span>', {"class": "fa fa-arrow-circle-up"});
|
||||
var $unsortedIcon = $('<span>', {"class": "fa fa-files-o"});
|
||||
var $templateIcon = $('<span>', {"class": "fa fa-cubes"});
|
||||
@@ -1156,6 +1157,7 @@ define([
|
||||
else if (href.indexOf('/slide/') !== -1) { $icon = $slideIcon.clone(); }
|
||||
else if (href.indexOf('/poll/') !== -1) { $icon = $pollIcon.clone(); }
|
||||
else if (href.indexOf('/whiteboard/') !== -1) { $icon = $whiteboardIcon.clone(); }
|
||||
else if (href.indexOf('/file/') !== -1) { $icon = $fileAppIcon.clone(); }
|
||||
|
||||
return $icon;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user