diff --git a/clients/flash/air-client/src/Default.css b/clients/flash/air-client/src/Default.css
index 9e85478b0389..6e179a6214c4 100755
--- a/clients/flash/air-client/src/Default.css
+++ b/clients/flash/air-client/src/Default.css
@@ -1,74 +1,88 @@
-/* CSS file */
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";
@namespace libChat "org.bigbluebutton.lib.chat.views.*";
+@namespace main "org.bigbluebutton.air.main.views.*";
@font-face {
- src: url("../../shared/assets/fonts/SourceSansPro/SourceSansPro-Regular.ttf");
- fontFamily: SourceSansPro;
- fontStyle: normal;
- fontWeight: normal;
+ src: url("../../shared/assets/fonts/SourceSansPro/SourceSansPro-Regular.ttf");
+ fontFamily: SourceSansPro;
+ fontStyle: normal;
+ fontWeight: normal;
embedAsCFF: true;
}
@font-face {
- src: url("../../shared/assets/fonts/SourceSansPro/SourceSansPro-Semibold.ttf");
- fontFamily: SourceSansPro;
- fontStyle: normal;
- fontWeight: bold;
+ src: url("../../shared/assets/fonts/SourceSansPro/SourceSansPro-Semibold.ttf");
+ fontFamily: SourceSansPro;
+ fontStyle: normal;
+ fontWeight: bold;
embedAsCFF: true;
}
@font-face {
- src: url("../../shared/assets/fonts/SourceSansPro/SourceSansPro-Italic.ttf");
- fontFamily: SourceSansPro;
- fontStyle: italic;
- fontWeight: normal;
+ src: url("../../shared/assets/fonts/SourceSansPro/SourceSansPro-Italic.ttf");
+ fontFamily: SourceSansPro;
+ fontStyle: italic;
+ fontWeight: normal;
embedAsCFF: true;
}
@font-face {
- src: url("../../shared/assets/fonts/SourceSansPro/SourceSansPro-Bold.ttf");
- fontFamily: SourceSansPro;
- fontStyle: normal;
- fontWeight: heavy;
+ src: url("../../shared/assets/fonts/SourceSansPro/SourceSansPro-Bold.ttf");
+ fontFamily: SourceSansPro;
+ fontStyle: normal;
+ fontWeight: heavy;
embedAsCFF: true;
}
@font-face {
- src: url("../../shared/assets/fonts/SourceSansPro/SourceSansPro-Regular.ttf");
- fontFamily: SourceSansProMX;
- fontStyle: normal;
- fontWeight: normal;
+ src: url("../../shared/assets/fonts/SourceSansPro/SourceSansPro-Regular.ttf");
+ fontFamily: SourceSansProMX;
+ fontStyle: normal;
+ fontWeight: normal;
embedAsCFF: false;
}
@font-face {
- src: url("../../shared/assets/fonts/BBBIcons/bbb-icons.ttf");
- fontFamily: BBBIcons;
- fontStyle: normal;
- fontWeight: normal;
+ src: url("../../shared/assets/fonts/BBBIcons/bbb-icons.ttf");
+ fontFamily: BBBIcons;
+ fontStyle: normal;
+ fontWeight: normal;
embedAsCFF: true;
}
@font-face {
- src: url("../../shared/assets/fonts/BBBIcons/bbb-icons.ttf");
- fontFamily: BBBIcons;
- fontStyle: normal;
- fontWeight: bold;
+ src: url("../../shared/assets/fonts/BBBIcons/bbb-icons.ttf");
+ fontFamily: BBBIcons;
+ font: normal;
+ fontWeight: bold;
embedAsCFF: true;
}
+/* Shared s */
+
global
{
font-family: SourceSansPro;
}
+/* Classes s */
+
s|Application
{
backgroundColor: PropertyReference("bbbBlack");
}
+/* Loading screen */
+
+main|LoadingScreen {
+ color : PropertyReference("bbbWhite");
+ backgroundColor : PropertyReference("bbbBlack");
+ fontSize : 34;
+ textAlign : center;
+}
+
+
s|TextInput
{
fontFamily: SourceSansPro;
@@ -85,51 +99,61 @@ libChat|NewMessagesIndicator
skinClass: ClassReference("org.bigbluebutton.lib.chat.views.skins.NewMessagesIndicatorSkin");
}
-.mainViewStyle
+.mainView
{
backgroundColor: PropertyReference("bbbBlack");
}
-.subViewContentStyle
+.subViewContent
{
backgroundColor: PropertyReference("bbbWhite");
}
-.titleLabelStyle
+.titleLabel
{
color: PropertyReference("bbbWhite");
fontSize: 24;
+ left: 90;
+ right: 90;
}
-.topButtonStyle
+.topButton
{
- iconSize : 30;
- iconColor : PropertyReference("bbbWhite");
- iconFont : BBBIcons;
- skinClass: ClassReference("org.bigbluebutton.lib.main.views.skins.TopButtonSkin");
+ iconSize : 30;
+ iconColor : PropertyReference("bbbWhite");
+ iconFont : BBBIcons;
+ skinClass : ClassReference("org.bigbluebutton.lib.main.views.skins.TopButtonSkin");
+}
+
+.topLeftButton {
+ left: 30;
+}
+
+.topRightButton {
+ right: 30;
}
-.participantsButtonStyle
+.participantsButton
{
icon: "\ue906";
}
-.settingsButtonStyle
+.settingsButton
{
icon: "\ue902";
}
-.presentationButtonStyle
+.presentationButton
{
icon: "\ue90c";
}
-.backButtonStyle
+.backButton
{
icon: "\ue90e";
}
-.menuButtonStyle
+.menuButton
{
backgroundColor : PropertyReference("bbbBlue");
selectedBackgroundColor : PropertyReference("bbbGrey");
@@ -141,32 +165,32 @@ libChat|NewMessagesIndicator
skinClass : ClassReference("org.bigbluebutton.lib.main.views.skins.MenuButtonSkin");
}
-.micOnButtonStyle
+.micOnButton
{
icon : "\ue91b";
}
-.micOffButtonStyle
+.micOffButton
{
icon : "\ue91c";
}
-.camOnButtonStyle
+.camOnButton
{
icon : "\ue921";
}
-.camOffButtonStyle
+.camOffButton
{
icon : "\ue905";
}
-.handStatusButtonStyle
+.handStatusButton
{
icon : "\ue910";
}
-.participantIconStyle
+.participantIcon
{
circleColor : PropertyReference("bbbBlack");
width : 32;
@@ -174,13 +198,13 @@ libChat|NewMessagesIndicator
fontSize : 12;
}
-.chatMessageStyle
+.chatMessage
{
nameFontSize: 16;
timeFontSize: 16;
}
-.sendButtonStyle
+.sendButton
{
color: PropertyReference("bbbGrey");
fontFamily: BBBIcons;
@@ -191,21 +215,21 @@ libChat|NewMessagesIndicator
skinClass: ClassReference("org.bigbluebutton.lib.chat.views.skins.SendButtonSkin");
}
-.messageInputStyle
+.messageInput
{
fontFamily: SourceSansProMX;
contentBackgroundAlpha: 0;
skinClass: ClassReference("org.bigbluebutton.air.chat.views.skins.MessageInputSkin");
}
-.contentStyle
+.content
{
fontSize: 14;
color: PropertyReference("bbbBlack");
}
/*
-.panelStyle
+.panel
{
backgroundColor: PropertyReference("bbbWhite");
backgroundAlpha: 1;
@@ -213,7 +237,7 @@ libChat|NewMessagesIndicator
skinClass: ClassReference("org.bigbluebutton.web.common.skins.PanelSkin");
}
-.panelTitleStyle
+.panelTitle
{
fontSize: 18;
fontWeight: bold;
@@ -223,7 +247,7 @@ libChat|NewMessagesIndicator
*/
-.iconStyle
+.icon
{
fontSize: 20;
fontFamily: BBBIcons;
diff --git a/clients/flash/air-client/src/Main.mxml b/clients/flash/air-client/src/Main.mxml
index 432f91998fd4..c33056183cae 100755
--- a/clients/flash/air-client/src/Main.mxml
+++ b/clients/flash/air-client/src/Main.mxml
@@ -4,8 +4,9 @@
applicationComplete="applicationCompleteHandler(event)"
preinitialize="preinitializeHandler(event)"
runtimeDPIProvider="CustomRuntimeDPIProvider"
- styleName="mainshellStyle"
+ styleName="mainshell"
xmlns:main="org.bigbluebutton.air.main.views.*">
+
@@ -92,17 +93,14 @@
-
-
-
-
-
+
-
+
diff --git a/clients/flash/air-client/src/org/bigbluebutton/air/chat/views/ChatRoomView.as b/clients/flash/air-client/src/org/bigbluebutton/air/chat/views/ChatRoomView.as
index 5a7d6040e8ef..60bde8a2373f 100755
--- a/clients/flash/air-client/src/org/bigbluebutton/air/chat/views/ChatRoomView.as
+++ b/clients/flash/air-client/src/org/bigbluebutton/air/chat/views/ChatRoomView.as
@@ -8,7 +8,7 @@ package org.bigbluebutton.air.chat.views {
public class ChatRoomView extends NoTabView {
public function ChatRoomView() {
super();
- styleName = "mainViewStyle";
+ styleName = "mainView";
var l:VerticalLayout = new VerticalLayout();
l.gap = 0;
@@ -21,7 +21,7 @@ package org.bigbluebutton.air.chat.views {
addElement(topToolbar);
var skinnableWrapper:SkinnableContainer = new SkinnableContainer();
- skinnableWrapper.styleName = "subViewContentStyle";
+ skinnableWrapper.styleName = "subViewContent";
skinnableWrapper.percentWidth = 100;
skinnableWrapper.percentHeight = 100;
diff --git a/clients/flash/air-client/src/org/bigbluebutton/air/chat/views/TopToolbarChat.as b/clients/flash/air-client/src/org/bigbluebutton/air/chat/views/TopToolbarChat.as
index 5b37d1412456..aab3809db171 100755
--- a/clients/flash/air-client/src/org/bigbluebutton/air/chat/views/TopToolbarChat.as
+++ b/clients/flash/air-client/src/org/bigbluebutton/air/chat/views/TopToolbarChat.as
@@ -5,8 +5,8 @@ package org.bigbluebutton.air.chat.views {
public function TopToolbarChat() {
super();
- leftButton.styleName = "backButtonStyle topButtonStyle";
- rightButton.styleName = "presentationButtonStyle topButtonStyle";
+ leftButton.styleName = "backButton topButton";
+ rightButton.styleName = "presentationButton topButton";
}
}
}
diff --git a/clients/flash/air-client/src/org/bigbluebutton/air/common/views/NoTabView.as b/clients/flash/air-client/src/org/bigbluebutton/air/common/views/NoTabView.as
index e5ce34ef7de5..00d3965eb79e 100644
--- a/clients/flash/air-client/src/org/bigbluebutton/air/common/views/NoTabView.as
+++ b/clients/flash/air-client/src/org/bigbluebutton/air/common/views/NoTabView.as
@@ -1,6 +1,5 @@
package org.bigbluebutton.air.common.views {
- import flash.events.StageOrientationEvent;
import spark.components.View;
public class NoTabView extends View {
diff --git a/clients/flash/air-client/src/org/bigbluebutton/air/common/views/ParticipantIcon.mxml b/clients/flash/air-client/src/org/bigbluebutton/air/common/views/ParticipantIcon.mxml
index 7cb0fb8d57b2..5428433f9f47 100644
--- a/clients/flash/air-client/src/org/bigbluebutton/air/common/views/ParticipantIcon.mxml
+++ b/clients/flash/air-client/src/org/bigbluebutton/air/common/views/ParticipantIcon.mxml
@@ -1,7 +1,7 @@
+ styleName="participantIcon">
@@ -69,8 +69,8 @@
-
+
diff --git a/clients/flash/air-client/src/org/bigbluebutton/air/settings/views/audio/AudioSettingsViewBase.mxml b/clients/flash/air-client/src/org/bigbluebutton/air/settings/views/audio/AudioSettingsViewBase.mxml
index 49d310e12054..e147b67ab4cc 100644
--- a/clients/flash/air-client/src/org/bigbluebutton/air/settings/views/audio/AudioSettingsViewBase.mxml
+++ b/clients/flash/air-client/src/org/bigbluebutton/air/settings/views/audio/AudioSettingsViewBase.mxml
@@ -3,7 +3,7 @@
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:views="org.bigbluebutton.air.common.views.*"
- styleName="audioSettingsStyle">
+ styleName="audioSettings">
@@ -118,7 +118,7 @@
+ styleName="userSettingsButton logoutButton contentFontSize" />
diff --git a/clients/flash/air-client/src/org/bigbluebutton/air/settings/views/camera/CameraSettingsViewBase.mxml b/clients/flash/air-client/src/org/bigbluebutton/air/settings/views/camera/CameraSettingsViewBase.mxml
index b17e708a97eb..c59b3e920dac 100644
--- a/clients/flash/air-client/src/org/bigbluebutton/air/settings/views/camera/CameraSettingsViewBase.mxml
+++ b/clients/flash/air-client/src/org/bigbluebutton/air/settings/views/camera/CameraSettingsViewBase.mxml
@@ -3,7 +3,7 @@
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:view="org.bigbluebutton.air.common.views.*"
- styleName="cameraSettingsViewStyle">
+ styleName="cameraSettingsView">
@@ -52,15 +52,15 @@
includeInLayout="false"
width="100%"
id="rotateCameraBtn0"
- styleName="cameraSettingsRotateButtonStyle videoAudioSettingStyle contentFontSize"
+ styleName="cameraSettingsRotateButton videoAudioSetting contentFontSize"
label="{resourceManager.getString('resources', 'cameraSettings.rotate')}" />
diff --git a/clients/flash/air-client/src/org/bigbluebutton/air/settings/views/lock/LockSettingsViewBase.mxml b/clients/flash/air-client/src/org/bigbluebutton/air/settings/views/lock/LockSettingsViewBase.mxml
index 21789a58a10a..a4eb7e2371aa 100644
--- a/clients/flash/air-client/src/org/bigbluebutton/air/settings/views/lock/LockSettingsViewBase.mxml
+++ b/clients/flash/air-client/src/org/bigbluebutton/air/settings/views/lock/LockSettingsViewBase.mxml
@@ -3,7 +3,7 @@
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:view="org.bigbluebutton.air.common.views.*"
- styleName="lockSettingsStyle">
+ styleName="lockSettings">
@@ -91,7 +91,7 @@
+ styleName="userSettingsButton logoutButton contentFontSize" />
diff --git a/clients/flash/air-client/src/org/bigbluebutton/air/users/views/userdetails/UserDetailsViewBase.mxml b/clients/flash/air-client/src/org/bigbluebutton/air/users/views/userdetails/UserDetailsViewBase.mxml
index 8c46d0ded5d6..a48dd27f6b51 100644
--- a/clients/flash/air-client/src/org/bigbluebutton/air/users/views/userdetails/UserDetailsViewBase.mxml
+++ b/clients/flash/air-client/src/org/bigbluebutton/air/users/views/userdetails/UserDetailsViewBase.mxml
@@ -3,7 +3,7 @@
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:common="org.bigbluebutton.air.common.views.*"
- styleName="userDetailViewStyle">
+ styleName="userDetailView">
@@ -21,15 +21,15 @@
horizontalAlign="center" />
+ styleName="icon userDetailIcon" />
+ styleName="userDetailsName contentFontSize" />
+ styleName="userDetailsStatus subContentFontSize" />
+ styleName="icon cameraIcon" />
+ styleName="icon micIcon" />
@@ -62,40 +62,40 @@
+ styleName="userSettingsButton logoutButton contentFontSize" />
+ styleName="userSettingsButton logoutButton contentFontSize" />
+ styleName="userSettingsButton logoutButton contentFontSize" />
+ styleName="userSettingsButton logoutButton contentFontSize" />
+ styleName="userSettingsButton logoutButton contentFontSize" />
+ styleName="userSettingsButton logoutButton contentFontSize" />
+ styleName="userSettingsButton logoutButton contentFontSize" />
diff --git a/clients/flash/air-client/src/org/bigbluebutton/air/video/views/videochat/VideoChatVideoView.as b/clients/flash/air-client/src/org/bigbluebutton/air/video/views/videochat/VideoChatVideoView.as
index 61fc7e90df1c..c084d28c3c36 100644
--- a/clients/flash/air-client/src/org/bigbluebutton/air/video/views/videochat/VideoChatVideoView.as
+++ b/clients/flash/air-client/src/org/bigbluebutton/air/video/views/videochat/VideoChatVideoView.as
@@ -34,7 +34,7 @@ package org.bigbluebutton.air.video.views.videochat {
}
private function identifyVideoStream(x:Number, y:Number, name:String):void {
- this.styleName = "videoTextFieldStyle";
+ this.styleName = "videoTextField";
var nameFormat:TextFormat = new TextFormat();
nameFormat.size = this.getStyle("fontSize");
nameFormat.font = this.getStyle("font-family");
diff --git a/clients/flash/air-client/src/org/bigbluebutton/air/video/views/videochat/VideoChatViewBase.mxml b/clients/flash/air-client/src/org/bigbluebutton/air/video/views/videochat/VideoChatViewBase.mxml
index b9685ab657e9..315afb07dc08 100644
--- a/clients/flash/air-client/src/org/bigbluebutton/air/video/views/videochat/VideoChatViewBase.mxml
+++ b/clients/flash/air-client/src/org/bigbluebutton/air/video/views/videochat/VideoChatViewBase.mxml
@@ -4,7 +4,7 @@
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:view="org.bigbluebutton.air.common.views.*">
+ styleName="videoTextField" />
diff --git a/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/chat/views/ChatItemRenderer.mxml b/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/chat/views/ChatItemRenderer.mxml
index 17ab973e7d3b..3ebc1b9a8e6f 100644
--- a/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/chat/views/ChatItemRenderer.mxml
+++ b/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/chat/views/ChatItemRenderer.mxml
@@ -4,7 +4,7 @@
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:views="org.bigbluebutton.lib.common.views.*"
width="100%"
- styleName="chatMessageStyle">
+ styleName="chatMessage">
+ styleName="content" />
diff --git a/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/chat/views/ChatRoomsItemRenderer.mxml b/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/chat/views/ChatRoomsItemRenderer.mxml
index 18b1ed8e2641..32c11dc20061 100644
--- a/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/chat/views/ChatRoomsItemRenderer.mxml
+++ b/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/chat/views/ChatRoomsItemRenderer.mxml
@@ -4,7 +4,7 @@
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:common="org.bigbluebutton.lib.common.views.*"
width="100%"
- styleName="chatRoomItemStyle"
+ styleName="chatRoomItem"
xmlns:views="org.bigbluebutton.lib.chat.views.*">
@@ -41,7 +41,7 @@
+ styleName="icon publicChatIcon" />
@@ -49,6 +49,6 @@
width="100%"
styleName="contentFontSize" />
+ styleName="newMessagesIndicator" />
diff --git a/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/chat/views/ChatRoomsViewBase.as b/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/chat/views/ChatRoomsViewBase.as
index 05ce1fc870f2..dc36deb0d25b 100644
--- a/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/chat/views/ChatRoomsViewBase.as
+++ b/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/chat/views/ChatRoomsViewBase.as
@@ -25,7 +25,7 @@ package org.bigbluebutton.lib.chat.views {
_chatLabel = new Label();
_chatLabel.percentWidth = 100;
- _chatLabel.styleName = "contentStyle";
+ _chatLabel.styleName = "content";
_chatLabel.text = "Messages";
addElement(_chatLabel);
diff --git a/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/chat/views/ChatViewBase.as b/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/chat/views/ChatViewBase.as
index b636a7d32619..d0abb4bbdc9d 100755
--- a/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/chat/views/ChatViewBase.as
+++ b/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/chat/views/ChatViewBase.as
@@ -65,14 +65,14 @@ package org.bigbluebutton.lib.chat.views {
_textInput.percentWidth = 100;
_textInput.percentHeight = 100;
//_textInput.showPromptWhenFocused = false;
- _textInput.styleName = "messageInputStyle";
+ _textInput.styleName = "messageInput";
_inputGroup.addElement(_textInput);
_sendButton = new Button();
_sendButton.percentHeight = 100;
_sendButton.label = "\ue90b";
//enabled="{inputMessage0.text!=''}"
- _sendButton.styleName = "sendButtonStyle";
+ _sendButton.styleName = "sendButton";
_inputGroup.addElement(_sendButton);
addElement(_inputGroup);
diff --git a/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/common/views/ParticipantIcon.mxml b/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/common/views/ParticipantIcon.mxml
index 3e34cb03ec1c..14f05d2524a7 100644
--- a/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/common/views/ParticipantIcon.mxml
+++ b/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/common/views/ParticipantIcon.mxml
@@ -1,7 +1,7 @@
+ styleName="participantIcon">
+ styleName="participantItem">
@@ -83,17 +83,17 @@
+ styleName="participantName" />
+ styleName="participantStatus" />
+ styleName="icon" />
+ styleName="icon" />
+ styleName="icon" />
diff --git a/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/user/views/UsersViewBase.as b/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/user/views/UsersViewBase.as
index 401fea971bc1..7e62e7dbec4a 100644
--- a/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/user/views/UsersViewBase.as
+++ b/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/user/views/UsersViewBase.as
@@ -26,7 +26,7 @@ package org.bigbluebutton.lib.user.views
_userLabel = new Label();
_userLabel.percentWidth = 100;
- _userLabel.styleName = "contentStyle";
+ _userLabel.styleName = "content";
_userLabel.text = "Users";
addElement(_userLabel);
diff --git a/clients/flash/shared/ColorPalette.as b/clients/flash/shared/ColorPalette.as
index 8f598dad2b91..97523f05ee50 100644
--- a/clients/flash/shared/ColorPalette.as
+++ b/clients/flash/shared/ColorPalette.as
@@ -1,7 +1,13 @@
private const bbbBlack:uint = 0x2A2D33;
+
private const bbbBlue:uint = 0x299AD5;
+
private const bbbGreen:uint = 0x4DC0A2;
+
private const bbbRed:uint = 0xF0615F;
+
private const bbbDarkGrey:uint = 0x353B42;
+
private const bbbGrey:uint = 0x8B9AA8;
-private const bbbWhite:uint = 0xF3F6F9;
\ No newline at end of file
+
+private const bbbWhite:uint = 0xF3F6F9;
diff --git a/clients/flash/shared/assets/css/common.css b/clients/flash/shared/assets/css/common.css
new file mode 100644
index 000000000000..0519ca76c524
--- /dev/null
+++ b/clients/flash/shared/assets/css/common.css
@@ -0,0 +1,8 @@
+@namespace s "library://ns.adobe.com/flex/spark";
+@namespace mx "library://ns.adobe.com/flex/mx";
+@namespace views "org.bigbluebutton.lib.main.views.*";
+
+views|TopToolbarBase {
+ verticalCenter: 0;
+ textAlign: center;
+}
diff --git a/clients/flash/web-client/src/main/actionscript/Default.css b/clients/flash/web-client/src/main/actionscript/Default.css
index 14af251daa29..da3d673793af 100755
--- a/clients/flash/web-client/src/main/actionscript/Default.css
+++ b/clients/flash/web-client/src/main/actionscript/Default.css
@@ -69,13 +69,13 @@ libChat|NewMessagesIndicator
skinClass: ClassReference("org.bigbluebutton.lib.chat.views.skins.NewMessagesIndicatorSkin");
}
-.titleLabelStyle
+.titleLabel
{
color: #F3F6F9;
fontSize: 24;
}
-.topButtonStyle
+.topButton
{
paddingLeft: 24;
paddingRight: 24;
@@ -87,17 +87,17 @@ libChat|NewMessagesIndicator
}
-.participantsButtonStyle
+.participantsButton
{
backgroundImage: Embed(source="../../../../shared/assets/res/drawable-mdpi/participants.png");
}
-.settingsButtonStyle
+.settingsButton
{
backgroundImage: Embed(source="../../../../shared/assets/res/drawable-mdpi/settings.png");
}
-.menuButtonStyle
+.menuButton
{
backgroundColor : #299AD5;
selectedBackgroundColor : #8A9AA7;
@@ -106,32 +106,32 @@ libChat|NewMessagesIndicator
skinClass : ClassReference("org.bigbluebutton.lib.main.views.skins.MenuButtonSkin");
}
-.micOnButtonStyle
+.micOnButton
{
backgroundImage : Embed(source="../../../../shared/assets/res/drawable-mdpi/mic.png");
}
-.micOffButtonStyle
+.micOffButton
{
backgroundImage : Embed(source="../../../../shared/assets/res/drawable-mdpi/mic_off.png");
}
-.camOnButtonStyle
+.camOnButton
{
backgroundImage : Embed(source="../../../../shared/assets/res/drawable-mdpi/cam.png");
}
-.camOffButtonStyle
+.camOffButton
{
backgroundImage : Embed(source="../../../../shared/assets/res/drawable-mdpi/cam_off.png");
}
-.handStatusButtonStyle
+.handStatusButton
{
backgroundImage : Embed(source="../../../../shared/assets/res/drawable-mdpi/hand.png");
}
-.participantIconStyle
+.participantIcon
{
circleColor : #8898A5;
width : 32;
@@ -139,19 +139,19 @@ libChat|NewMessagesIndicator
fontSize : 12;
}
-.chatMessageStyle
+.chatMessage
{
nameFontSize: 16;
timeFontSize: 16;
}
-.contentStyle
+.content
{
fontSize: 14;
color: #8B9AA8;
}
-.panelStyle
+.panel
{
backgroundColor: #F3F6F9;
backgroundAlpha: 1;
@@ -159,7 +159,7 @@ libChat|NewMessagesIndicator
skinClass: ClassReference("org.bigbluebutton.web.common.skins.PanelSkin");
}
-.panelTitleStyle
+.panelTitle
{
fontSize: 18;
fontWeight: bold;
@@ -167,39 +167,39 @@ libChat|NewMessagesIndicator
paddingBottom: 10;
}
-.iconStyle
+.icon
{
fontSize : 20;
fontFamily : BBBIcons;
color : PropertyReference("bbbGrey");
}
-.cameraIconStyle
+.cameraIcon
{
backgroundImage : Embed(source="../../../../shared/assets/res/drawable-mdpi/video.png");
}
-.micIconStyle
+.micIcon
{
backgroundImage : Embed(source="../../../../shared/assets/res/drawable-mdpi/microphone.png");
}
-.micOffIconStyle
+.micOffIcon
{
backgroundImage : Embed(source="../../../../shared/assets/res/drawable-mdpi/micOffIcon_dark.png");
}
-.speakingMicIconStyle
+.speakingMicIcon
{
backgroundImage : Embed(source="../../../../shared/assets/res/drawable-mdpi/microphone_talk.png");
}
-.listenOnlyIconStyle
+.listenOnlyIcon
{
backgroundImage : Embed(source="../../../../shared/assets/res/drawable-mdpi/ic_headset.png");
}
-.lockIconStyle
+.lockIcon
{
backgroundImage : Embed(source="../../../../shared/assets/res/drawable-mdpi/lock.png");
}
diff --git a/clients/flash/web-client/src/main/actionscript/org/bigbluebutton/web/chat/views/ChatPanel.as b/clients/flash/web-client/src/main/actionscript/org/bigbluebutton/web/chat/views/ChatPanel.as
index 2936ecc65068..286d19c38bda 100644
--- a/clients/flash/web-client/src/main/actionscript/org/bigbluebutton/web/chat/views/ChatPanel.as
+++ b/clients/flash/web-client/src/main/actionscript/org/bigbluebutton/web/chat/views/ChatPanel.as
@@ -37,7 +37,7 @@ package org.bigbluebutton.web.chat.views {
var l:VerticalLayout = new VerticalLayout();
this.layout = l;
this.minWidth = 50;
- this.styleName = "panelStyle";
+ this.styleName = "panel";
var g:HGroup = new HGroup();
g.percentWidth = 100;
@@ -45,7 +45,7 @@ package org.bigbluebutton.web.chat.views {
_title = new Label();
_title.percentWidth = 100;
_title.text = "Public Chat";
- _title.styleName = "panelTitleStyle";
+ _title.styleName = "panelTitle";
g.addElement(title);
_closeButton = new Button();
diff --git a/clients/flash/web-client/src/main/actionscript/org/bigbluebutton/web/participants/views/ParticipantsPanel.as b/clients/flash/web-client/src/main/actionscript/org/bigbluebutton/web/participants/views/ParticipantsPanel.as
index 6fa5d95d6825..8a3fc494aaff 100644
--- a/clients/flash/web-client/src/main/actionscript/org/bigbluebutton/web/participants/views/ParticipantsPanel.as
+++ b/clients/flash/web-client/src/main/actionscript/org/bigbluebutton/web/participants/views/ParticipantsPanel.as
@@ -33,11 +33,11 @@ package org.bigbluebutton.web.participants.views {
var l:VerticalLayout = new VerticalLayout();
this.layout = l;
this.minWidth = 50;
- this.styleName = "panelStyle";
+ this.styleName = "panel";
var title:Label = new Label();
title.text = "Participants";
- title.styleName = "panelTitleStyle";
+ title.styleName = "panelTitle";
addElement(title);
var participantsView:ParticipantsViewBase = new ParticipantsViewBase();
diff --git a/clients/flash/web-client/src/main/actionscript/org/bigbluebutton/web/video/views/WebcamView.as b/clients/flash/web-client/src/main/actionscript/org/bigbluebutton/web/video/views/WebcamView.as
index 2c81f69b1da7..0a39419f0a76 100644
--- a/clients/flash/web-client/src/main/actionscript/org/bigbluebutton/web/video/views/WebcamView.as
+++ b/clients/flash/web-client/src/main/actionscript/org/bigbluebutton/web/video/views/WebcamView.as
@@ -54,7 +54,7 @@ package org.bigbluebutton.web.video.views {
closeBtn.height = OVERLAY_HEIGHT;
closeBtn.width = OVERLAY_HEIGHT;
closeBtn.buttonMode = true;
- closeBtn.styleName = "webcamCloseButtonStyle";
+ closeBtn.styleName = "webcamCloseButton";
closeBtn.addEventListener(MouseEvent.CLICK, onCloseClick);
addChild(closeBtn);
}