Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Tweak update-dialog style #7636

Merged
merged 4 commits into from
May 2, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion src/htmlContent/about-dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="modal-header">
<h1 class="dialog-title">{{Strings.ABOUT}}</h1>
</div>
<div class="modal-body">
<div class="modal-body no-padding">
<img class="about-icon" src="{{ABOUT_ICON}}">
<div class="about-text">
<h2>{{APP_NAME_ABOUT_BOX}}</h2>
Expand Down
2 changes: 1 addition & 1 deletion src/htmlContent/update-dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="modal-header">
<h1 class="dialog-title">{{UPDATE_AVAILABLE_TITLE}}</h1>
</div>
<div class="modal-body">
<div class="modal-body no-padding">
<img class="update-icon" src="styles/images/update_large_icon.svg">
<div class="update-text">
<p class="dialog-message">{{UPDATE_MESSAGE}}</p>
Expand Down
18 changes: 11 additions & 7 deletions src/styles/brackets_patterns_override.less
Original file line number Diff line number Diff line change
Expand Up @@ -704,12 +704,14 @@ a[href^="http"] {
}
.update-text {
// Icon is 120px, so we need at least that much left padding/margin to avoid overlap
margin: 0 10px 0 123px;
margin-left: 130px;

.update-info {
max-height: 200px;
overflow: auto;
padding-top: 20px;
max-height: 280px;
overflow: auto;

.update-info {
margin-right: 10px;
// Enable text selection
cursor: auto;
.user-select(text);
Expand Down Expand Up @@ -964,17 +966,19 @@ a[href^="http"] {
}
.about-text {
// Icon is 120px, so we need at least that much left padding/margin to avoid overlap
margin: 0 10px 0 123px;
margin-left: 130px;
overflow: auto;

#about-build-number {
color: @tc-light-weight-quiet-text;
}
.about-info {
max-height: 300px;
overflow: auto;
margin-right: 10px;
}
.about-contributors {
min-height: 100px;
padding-bottom: 13px;

a {
text-decoration: none;
Expand All @@ -993,7 +997,7 @@ a[href^="http"] {
font-weight: normal;
font-size: 25px;
margin-bottom: -4px;
margin-top: 3px;
margin-top: 13px;
}
.dialog-message {
font-size: 14px;
Expand Down