Fix editor styling and layout issues

This commit is contained in:
Duncan Sommerville 2015-08-19 13:02:14 -04:00
parent ff930549db
commit ae66b2272b
5 changed files with 12 additions and 64 deletions

View File

@ -17,6 +17,7 @@ define('WHOS_USING_URL' , 'http://sourcefabric.org/en/airtime/whosus
define('TERMS_AND_CONDITIONS_URL' , 'http://www.sourcefabric.org/en/about/policy/'); define('TERMS_AND_CONDITIONS_URL' , 'http://www.sourcefabric.org/en/about/policy/');
define('PRIVACY_POLICY_URL' , 'http://www.sourcefabric.org/en/about/policy/'); define('PRIVACY_POLICY_URL' , 'http://www.sourcefabric.org/en/about/policy/');
define('USER_MANUAL_URL' , 'http://sourcefabric.booktype.pro/airtime-pro-for-broadcasters'); define('USER_MANUAL_URL' , 'http://sourcefabric.booktype.pro/airtime-pro-for-broadcasters');
define('ABOUT_AIRTIME_URL' , 'https://www.airtime.pro/support/');
define('AIRTIME_TRANSIFEX_URL' , 'https://www.transifex.com/projects/p/airtime/'); define('AIRTIME_TRANSIFEX_URL' , 'https://www.transifex.com/projects/p/airtime/');
define('WHMCS_PASSWORD_RESET_URL' , 'https://account.sourcefabric.com/pwreset.php'); define('WHMCS_PASSWORD_RESET_URL' , 'https://account.sourcefabric.com/pwreset.php');

View File

@ -134,11 +134,9 @@ $pages = array(
'target' => "_blank" 'target' => "_blank"
), ),
array( array(
'label' => _('About'), 'label' => _(sprintf("About %s", PRODUCT_NAME)),
'module' => 'default', 'uri' => ABOUT_AIRTIME_URL,
'controller' => 'dashboard', 'target' => "_blank"
'action' => 'about',
'resource' => 'dashboard'
), ),
array( array(
'label' => _(sprintf("Help Translate %s", PRODUCT_NAME)), 'label' => _(sprintf("Help Translate %s", PRODUCT_NAME)),

View File

@ -2,43 +2,6 @@ div.ColVis_collectionBackground {
background-color: transparent; background-color: transparent;
} }
/* ~ Moved to styles.css ~
.wrapper {
*//*background: #242424;*//*
background: #111;
top: 105px;
left: 130px;
right: 0;
bottom: 0;
padding: 5px 10px 40px;
*//*padding: 0;*//*
border: none;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row wrap;
flex-flow: row wrap;
overflow: auto;
-webkit-transition: top 0.2s linear, padding 0.2s linear;
-moz-transition: top 0.2s linear, padding 0.2s linear;
-o-transition: top 0.2s linear, padding 0.2s linear;
transition: top 0.2s linear, padding 0.2s linear;
}
.usability_hint {
left: 130px;
flex: 0 100%;
width: 100%;
}
*/
/* Scroll bars */ /* Scroll bars */
::-webkit-scrollbar { ::-webkit-scrollbar {
@ -107,7 +70,7 @@ div.ColVis_collectionBackground {
flex: 1; flex: 1;
} }
@media screen and (max-width: 1475px) { @media screen and (max-width: 1280px) {
.wrapper { .wrapper {
-webkit-flex-flow: column !important; -webkit-flex-flow: column !important;
flex-flow: column !important; flex-flow: column !important;
@ -116,10 +79,6 @@ div.ColVis_collectionBackground {
height: auto !important; height: auto !important;
width: 100% !important; width: 100% !important;
} }
.wide-panel {
flex: 8 100%;
min-height: 50%;
}
.spl_sortable { .spl_sortable {
max-height: 50%; max-height: 50%;
} }
@ -535,6 +494,7 @@ li.ui-state-default {
flex: 1 100%; flex: 1 100%;
margin: 4px 0; margin: 4px 0;
min-height: 0;
padding: 0; padding: 0;
} }
@ -562,19 +522,6 @@ li.ui-state-default {
padding: 4px; padding: 4px;
} }
/*#save_button, #webstream_save {*/
/*background: #ff5d1a;*/
/*color: #fff;*/
/*border-radius: 4px;*/
/*font-size: 16px;*/
/*height: 38px;*/
/*width: 120px;*/
/*}*/
/*#save_button:active, #webstream_save {*/
/*color: #fff !important;*/
/*}*/
#save_button:focus, #webstream_save { #save_button:focus, #webstream_save {
outline-width: 0; outline-width: 0;
} }

View File

@ -2108,17 +2108,17 @@ span.errors.sp-errors{
} }
.text-content { .text-content {
padding:20px 10px 40px 58px; padding:20px 10px 40px 58px;
background: url(images/sf_arror.png) no-repeat 60% 0; /*background: url(images/sf_arror.png) no-repeat 60% 0; */
min-height: 300px; min-height: 300px;
} }
.text-content h2 { .text-content h2 {
font-size:2.4em; font-size:2.4em;
color:#1f1f1f; color:#efefef;
} }
.text-content p { .text-content p {
font-size:1.6em; font-size:1.6em;
line-height:140%; line-height:140%;
color:#1f1f1f; color:#efefef;
margin:0 0 1.4em 0; margin:0 0 1.4em 0;
} }
.text-content a { .text-content a {
@ -2139,7 +2139,7 @@ span.errors.sp-errors{
margin:0 0 6px 0; margin:0 0 6px 0;
font-size:1.7em; font-size:1.7em;
display:list-item; display:list-item;
color:#1f1f1f; color:#efefef;
} }
.gray-logo { .gray-logo {
margin:5px 0 0 20px; margin:5px 0 0 20px;

View File

@ -415,6 +415,8 @@ var AIRTIME = (function(AIRTIME){
$pl.find("#spl_crossfade").show(); $pl.find("#spl_crossfade").show();
} }
} }
$('.zend_form + .spl-no-margin > div:has(*:visible):last').css('margin-left', 0);
} }
function getId() { function getId() {