Skip to content
This repository
Browse code

BUGFIX:removed header from edit profile popup and restyled broken tab…

…s - still needs a proper fix after beta II.
  • Loading branch information...
commit cebe2fc0935db76d376b576815d7f00bea6418e5 1 parent fac2664
authored April 03, 2012
11  admin/css/screen.css
@@ -398,9 +398,12 @@ body.cms { overflow: hidden; }
398 398
 
399 399
 /** -------------------------------------------- Member Profile -------------------------------------------- */
400 400
 form.member-profile-form { padding: 0 16px 0 0; }
  401
+form.member-profile-form .ui-tabs-nav { margin-right: 40px !important; float: right; }
  402
+form.member-profile-form .ui-tabs-nav .ui-state-active, form.member-profile-form .ui-tabs-nav .ui-widget-content .ui-state-active, form.member-profile-form .ui-tabs-nav .ui-widget-header .ui-state-active { padding-bottom: 1px; margin-bottom: -1px; }
401 403
 form.member-profile-form .ui-tabs-nav .ui-state-default, form.member-profile-form .ui-tabs-nav .ui-widget-content .ui-state-default, form.member-profile-form .ui-tabs-nav .ui-widget-header .ui-state-default { border-top: none; }
402  
-form.member-profile-form #Root_Permissions { clear: both; padding: 16px; }
403  
-form.member-profile-form #Root_Main { clear: both; }
  404
+form.member-profile-form .ui-tabs-nav .ui-state-default a, form.member-profile-form .ui-tabs-nav .ui-widget-content .ui-state-default a, form.member-profile-form .ui-tabs-nav .ui-widget-header .ui-state-default a { padding: 12px 20px 11px; }
  405
+form.member-profile-form #Root_Permissions { clear: both; border-top: 1px solid #a6a6a6; }
  406
+form.member-profile-form #Root_Main { clear: both; border-top: 1px solid #a6a6a6; padding-top: 16px; }
404 407
 form.member-profile-form #Root_Main .cms-help-toggle { text-indent: -9999em; display: inline-block; width: 20px; background: url(../images/question.png) no-repeat 0px 0px; }
405 408
 form.member-profile-form #FavouritePageID { margin-top: 8px; }
406 409
 form.member-profile-form #CsvFile .middleColumn { background: none !important; }
@@ -487,6 +490,10 @@ form.member-profile-form .ui-tabs-nav .ui-corner-all, form.member-profile-form .
487 490
 
488 491
 body.cms-dialog { overflow: auto; background: url("../images/textures/bg_cms_main_content.png") repeat left top #f0f3f4; }
489 492
 
  493
+.ui-dialog.edit-profile-popup .ui-dialog-titlebar { height: 0px; padding: 0 4px 0 16px; }
  494
+.ui-dialog.edit-profile-popup .ui-dialog-titlebar .ui-dialog-title { position: absolute; }
  495
+.ui-dialog.edit-profile-popup .ss-ui-dialog { padding-right: 0px; }
  496
+
490 497
 /** -------------------------------------------- "Insert X" forms -------------------------------------------- */
491 498
 .htmleditorfield-linkform .step2 { margin-bottom: 16px; }
492 499
 
28  admin/scss/_style.scss
@@ -839,22 +839,35 @@ body.cms {
839 839
 form.member-profile-form {
840 840
 	padding: 0 $grid-x*2 0 0;
841 841
 	.ui-tabs-nav {
  842
+		margin-right:40px !important; //adds a 40px gap to the right of the tabs to match designs on main CMS
  843
+		float:right;
  844
+		.ui-state-active, 
  845
+		.ui-widget-content .ui-state-active, 
  846
+		.ui-widget-header .ui-state-active {
  847
+			padding-bottom: 1px;
  848
+			margin-bottom:-1px;
  849
+		}
842 850
 		.ui-state-default,
843 851
 		.ui-widget-content .ui-state-default,
844 852
 		.ui-widget-header .ui-state-default {
845 853
 			border: {
846 854
 				top:none;
847 855
 			}
  856
+			a {
  857
+				padding:12px 20px 11px;
  858
+			}
848 859
 		}
849 860
 	}
850 861
 
851 862
 	#Root_Permissions {
852 863
 		clear:both;
853  
-		padding: $grid-x*2;
  864
+		border-top: 1px solid darken($color-tab, 20%);
854 865
 	}
855 866
 
856 867
 	#Root_Main {
857 868
 		clear:both;
  869
+		border-top: 1px solid darken($color-tab, 20%);
  870
+		padding-top:$grid-y*2;
858 871
 		.cms-help-toggle {
859 872
 			text-indent: -9999em;
860 873
 			display: inline-block;
@@ -1296,6 +1309,19 @@ body.cms-dialog {
1296 1309
 	background: url("../images/textures/bg_cms_main_content.png") repeat left top #F0F3F4;
1297 1310
 }
1298 1311
 
  1312
+.ui-dialog.edit-profile-popup {
  1313
+	.ui-dialog-titlebar {
  1314
+		height:0px; //removes the header outside of the iframe on edit profile popup. 
  1315
+		padding:0 4px 0 16px;
  1316
+
  1317
+		.ui-dialog-title {
  1318
+			position:absolute;
  1319
+		}
  1320
+	}
  1321
+	.ss-ui-dialog {
  1322
+		padding-right:0px;
  1323
+	}
  1324
+}
1299 1325
 
1300 1326
 
1301 1327
 

0 notes on commit cebe2fc

Please sign in to comment.
Something went wrong with that request. Please try again.