Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2fix panel fixed #71

Closed
wants to merge 26 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
667a5ee
Bug 1196708 - Restricted profiles: Hide Remove context menu item from…
pocmo Aug 28, 2015
aaaa54f
Bug 1197721 - Restricted profiles: Hide "Display" menu items in non-"…
pocmo Aug 28, 2015
2ba1ac1
Bug 1195287 - Fix wrong colors in text selection toolbar on v21+. r=m…
pocmo Aug 28, 2015
e85c83a
Bug 1199639 - Block access to about:addons for guest profiles. r=mhaigh
pocmo Aug 28, 2015
058c117
Bug 1197171 - Remove "Mark as read/unread" options from Top Sites gri…
pocmo Aug 28, 2015
5bd90ec
Bug 1196198 - Use ordered list to find new default panel. r=mhaigh
pocmo Aug 31, 2015
1fd7001
Bug 1199596 - Only install "Parental Controls Theme" for restricted p…
pocmo Aug 31, 2015
81d7ddd
Bug 1196979 - Increase timeout for browser_perf-loading-01 and 02.js…
Sep 2, 2015
7c1b0dd
Bug 1200151 - Restricted profiles: Hide developer tools based on rest…
pocmo Aug 31, 2015
0a46527
Bug 1062839 - Fix the direction of the camera/screenshare notificatio…
Standard8 Sep 2, 2015
1e8a551
Bug 1200177 - Form Assistant is not always correctly closed. r=mcomella
Aug 31, 2015
3f7d220
Merge mozilla-central to fx-team
BavarianTomcat Sep 2, 2015
84f50a2
Bug 1173761 - Display each animation's time data like duration in a t…
Sep 1, 2015
1c20ce3
Bug 1194021 - Fix the size of the loop panel, as we want a fixed size…
Standard8 Sep 1, 2015
e590c92
Autohide disabled
chrafuse Sep 1, 2015
c748baf
Changed FramedExamples for PanelView width to 330px
chrafuse Aug 14, 2015
ef0101e
Adjusted context margins
chrafuse Aug 19, 2015
a80937a
changed no conversations room-list to rooms class names
chrafuse Aug 19, 2015
d3d8e29
set footer height added no context examples
chrafuse Aug 20, 2015
abef862
Added class powered-by-wrapper and set width
chrafuse Aug 20, 2015
65c4e07
Added height and width to .panel
chrafuse Aug 20, 2015
f09a63f
Fixed room list panels and overall layout
chrafuse Aug 24, 2015
508fba7
Fixed contacts layout with overflow hidden
chrafuse Aug 25, 2015
445e896
Vertically centered empty conversations and contacts
chrafuse Aug 26, 2015
c3848a5
Fixed Contact Form Add
chrafuse Aug 26, 2015
e5fc909
Fixed Flex in tabs and rooms
chrafuse Sep 2, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion browser/base/content/browser-loop.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,10 @@ let LoopUI;
}

this.PanelFrame.showPopup(window, event ? event.target : this.toolbarButton.node,
"loop", null, "about:looppanel", null, callback);
"loop", null, "about:looppanel",
// Loop wants a fixed size for the panel. This also stops it dynamically resizing.
{ width: 330, height: 410 },
callback);
});
});
},
Expand Down
2 changes: 1 addition & 1 deletion browser/components/customizableui/content/panelUI.inc.xul
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
</footer>
</panelview>

<panelview id="PanelUI-history" flex="1">
<panelview id="PanelUI-history" flex="1" noautohide="true">
<label value="&appMenuHistory.label;" class="panel-subview-header"/>
<vbox class="panel-subview-body">
<toolbarbutton id="appMenuViewHistorySidebar"
Expand Down
69 changes: 53 additions & 16 deletions browser/components/loop/content/css/contacts.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,46 @@ html {
font-family: sans-serif; /* XXX will be changed to a system font in bug 1191398 */
}

.contacts-container {
flex: 1;
display: flex;
flex-flow: column nowrap;
/*overflow: hidden;*/
}

.contact-list-container {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
}
/* Don't show the Gravatar if we're showing a contacts list. */
/*.contact-list-container ~ .contacts-gravatar-promo {*/
/*display: none;*/
/*}*/


.contact-list-wrapper {
flex: 2;
overflow-x: hidden;
overflow-y: auto;
}

/* Don't show the Gravatar if we're showing a contacts list. NOT WORKING hide in code*/
.contact-search-list-empty ~ .contacts-gravatar-promo {
display: block;
}

/* Don't show the empty contacts image if we're showing gravatar promo. */
.contacts-gravatar-promo ~ .contact-list-empty {
background-image: none;
padding-top: 3%;
}

.contact-list-empty {
padding-top: 27%;
}

.contact-import-spinner {
display: none;
}
Expand Down Expand Up @@ -35,8 +75,6 @@ html {
background-repeat: no-repeat;
color: #999;
font-size: 1.2rem;
flex: 2 1 auto;
align-self: stretch;
}

html[dir="rtl"] .contact-filter {
Expand Down Expand Up @@ -65,11 +103,9 @@ html[dir="rtl"] .contact-filter {
}

.contact-list {
overflow-x: hidden;
overflow-y: auto;
/* Space for six contacts, not affected by filtering. This is enough space
to show the dropdown menu when there is only one contact. */
height: 306px;
/*height: 306px;*/
/* Contact list title goes away when searching, needed for spacing. */
margin-top: 4px;
}
Expand All @@ -79,7 +115,6 @@ html[dir="rtl"] .contact-filter {
color: #666;
font-weight: 500;
font-size: .9em;
margin-top: 1rem;
}

.contact,
Expand Down Expand Up @@ -210,14 +245,13 @@ html[dir="rtl"] .contact-filter {
width: 100%;
}

.contact-list-empty {
flex: 2;
}

.contact-list-empty,
.contact-search-list-empty {
background-image: url("../shared/img/empty_contacts.svg");
background-repeat: no-repeat;
background-position: top center;
background-size: 128px;
margin-top: 4rem;
padding-top: 12rem;
padding-bottom: 5rem;
text-align: center;
color: #4a4a4a;
Expand Down Expand Up @@ -340,7 +374,10 @@ html[dir="rtl"] .contact > .dropdown-menu {
}

.contact-form {
padding: 14px; /* Override based on spacing in Mockup */
padding: 14px 15px 0px; /* Override based on spacing in Mockup */
flex: 2 1 0%;
display: flex;
flex-direction: column;
}
/* This will effect the header displayed at the top of the contact details form
*/
Expand All @@ -352,9 +389,7 @@ html[dir="rtl"] .contact > .dropdown-menu {
}

.contact-form .form-content-container {
height: 24.1rem; /* This height is needed to keep the panel height at 400px and
the bottom elements at the bottom of the panel
Can likely go away if we switched this pane to flexbox model */
flex: 1;
padding-top: 4px; /* Based on spacing in Mockup
replaced margin-top
See http://stackoverflow.com/questions/6204670/css-clean-solution-to-the-margin-collapse-issue-when-floating-an-element
Expand Down Expand Up @@ -435,7 +470,9 @@ html[dir="rtl"] .contacts-gravatar-arrow {
}

.contact-controls {
padding: 0 16px;
padding-left: 15px;
padding-right: 15px;
border-top: 1px solid #D8D8D8;
}

.contact-controls > .button {
Expand Down
Loading