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

[ARCH] Updated bootstrap to 2.3.1 and less to 1.3.3 (needed for bootstrap) #3995

Closed
wants to merge 59 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
4511868
Added Refresh context menu item
Feb 5, 2013
1cfb2ba
Fixups for refresh:
Apr 6, 2013
6cb4053
Use tern jump-to-definition search for QuickEdit.
jeffkenton May 15, 2013
6d2ee55
Tweaks to make some test cases pass.
jeffkenton May 15, 2013
663652a
Fixes for comments on push'ed code:
jeffkenton May 17, 2013
308450c
Remove fallback for missing helper function (just fail if it's missin…
jeffkenton May 17, 2013
9d4ae78
Made .quicksearch-pathmatch darker so that it's visible
larz0 May 17, 2013
7b1862d
Change how QuickEdit helper function is passed from CodeHints to Quic…
jeffkenton May 17, 2013
6414640
Make HTML and CSS code completion not to overwrite the neighboring text.
RaymondLim May 17, 2013
53202a8
Make sure we always either resolve or reject a render promise in the …
May 19, 2013
e7bff67
Add timeout for render promise
May 19, 2013
463cb90
bumped pathmatch color down a notch based on peterflynn's feedback
larz0 May 19, 2013
87add64
Removed author and date label as they're not required.
larz0 May 19, 2013
d896bde
Made extension description column wider.
larz0 May 19, 2013
6da38b9
Add check for no "functions" returned (as requested by code review).
jeffkenton May 20, 2013
87a4e0c
Implements word wrap for function signatures (or any other long singl…
dangoor May 20, 2013
7be4c18
Install jasmine-node as needed by the jasmine-node task.
dangoor May 20, 2013
ff25aac
Make literal's in hints use monospace font, so they look more like ke…
eztierney May 20, 2013
9796be6
Style textarea like input.
May 20, 2013
c518541
Safe file delete.
gruehle May 20, 2013
25dfea5
Close code hints when 'home' or 'end' is pressed.
eztierney May 20, 2013
aaef153
fix #3761 #3792
jasonsanjose May 20, 2013
d8adeb1
fix missing Async module
jasonsanjose May 20, 2013
26c2b11
Spanish translation for sprint25 strings
jbalsas May 20, 2013
85a4bff
Initial PanelManager checkin:
peterflynn May 21, 2013
03b70b0
Commented out extension icon hover states.
larz0 May 21, 2013
19f2bb1
string-only change for #3906. UI implementation pending.
jasonsanjose May 21, 2013
319d5f4
Updated by ALF automation.
walfgithub May 21, 2013
a4aee4d
Makes reformatting code hints explicit.
dangoor May 21, 2013
86f2720
Clarify the "availableWidth" formula per review comment.
dangoor May 21, 2013
22ebfca
Updated by ALF automation.
walfgithub May 21, 2013
d21a11a
Fix part of #2015 by keeping panel resize limits up to date as other …
peterflynn May 21, 2013
f9f5c01
Show message and disable search box when no extensions are installed
May 21, 2013
d4ed62f
Typo fix
May 21, 2013
bf91c10
Add correct definition for SCSS mode. Remove check that mime mode is …
May 21, 2013
e74482a
Refactor code as suggested in code review.
RaymondLim May 21, 2013
aa7bebc
Fixes after review for sprint25 spanish strings
jbalsas May 21, 2013
682d952
added reference to "ejs" and "jsp" for htmlmixed mode
jmo7 May 20, 2013
c1a48cb
Code review: clarify docs, update panel id
peterflynn May 21, 2013
80ea0f1
* Fix unit tests by ensuring PanelManager is fully initialized before
peterflynn May 21, 2013
af5a8f0
Hoist out a util for creating a mock Editor given an already-created
peterflynn May 22, 2013
bac948e
fix unit test
redmunds May 22, 2013
f5661e1
Fix hard-coded references to Brackets in various strings.
May 22, 2013
5de5299
Make quick edit perf tests not fail
May 22, 2013
dc74570
Merge remote-tracking branch 'upstream1/master'
WebsiteDeveloper May 22, 2013
431d7d0
Updated bootstrap to 2.3.1 and less to 1.3.3 (needed for bootstrap)
WebsiteDeveloper Apr 30, 2013
4c0690a
Fixed Context Menu
WebsiteDeveloper May 1, 2013
75f8bb6
Three more migration fixes
WebsiteDeveloper May 1, 2013
eb726c1
Fixed a few UI issues and removed unused responsive files
WebsiteDeveloper May 10, 2013
82b5c0a
Fixed missed log statement
WebsiteDeveloper May 10, 2013
86efae3
Fix scroller-shadow
WebsiteDeveloper May 10, 2013
ef10100
Fix install extensions unit tests
WebsiteDeveloper May 11, 2013
e8517ae
Fixed find and JSLint UI
WebsiteDeveloper May 11, 2013
1692fac
Fixed modal layout issues
WebsiteDeveloper May 11, 2013
292348b
Fix for menu positioning
WebsiteDeveloper May 11, 2013
f5ed051
Parsed LESS to CSS and load the css file
WebsiteDeveloper May 11, 2013
7b77504
Moved dropdown menu styles to fix recent projects UI
WebsiteDeveloper May 11, 2013
6916fd9
Added data-button-id to the dialog templates
WebsiteDeveloper May 11, 2013
f0757f5
A few fixes after rebasing
WebsiteDeveloper May 26, 2013
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
1 change: 1 addition & 0 deletions src/command/DefaultMenus.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ define(function (require, exports, module) {
project_cmenu.addMenuItem(Commands.FILE_RENAME);
project_cmenu.addMenuItem(Commands.FILE_DELETE);
project_cmenu.addMenuItem(Commands.NAVIGATE_SHOW_IN_OS);
project_cmenu.addMenuItem(Commands.FILE_REFRESH);
project_cmenu.addMenuDivider();
project_cmenu.addMenuItem(Commands.EDIT_FIND_IN_SUBTREE);
project_cmenu.addMenuDivider();
Expand Down
3 changes: 2 additions & 1 deletion src/command/Menus.js
Original file line number Diff line number Diff line change
Expand Up @@ -945,6 +945,7 @@ define(function (require, exports, module) {
}

// open the context menu at final location
$menuWindow.dropdown("toggle");
$menuAnchor.addClass("open")
.css({"left": posLeft, "top": posTop});
};
Expand All @@ -953,7 +954,7 @@ define(function (require, exports, module) {
* Closes the context menu.
*/
ContextMenu.prototype.close = function () {
$("#" + StringUtils.jQueryIdEscape(this.id)).removeClass("open");
$("#" + StringUtils.jQueryIdEscape(this.id)).removeClass("open").dropdown("toggle");
};

/**
Expand Down
2 changes: 1 addition & 1 deletion src/extensibility/InstallExtensionDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ define(function (require, exports, module) {
this.$dlg = $(".install-extension-dialog.instance");
this.$url = this.$dlg.find(".url").focus();
this.$okButton = this.$dlg.find(".dialog-button[data-button-id='ok']");
this.$cancelButton = this.$dlg.find(".dialog-button[data-button-id='cancel']");
this.$cancelButton = this.$dlg.find(".dialog-button[data-dismiss='modal']");
this.$inputArea = this.$dlg.find(".input-field");
this.$msgArea = this.$dlg.find(".message-field");
this.$msg = this.$msgArea.find(".message");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<table class="zebra-striped row-highlight condensed-table">
<table class="table table-striped table-condensed row-highlight">
<tbody>
{{#reportList}}
<tr>
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/default/WebPlatformDocs/InlineDocsViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ define(function (require, exports, module) {
var inlineEditorTemplate = require("text!InlineDocsViewer.html");

// Load CSS
ExtensionUtils.loadStyleSheet(module, "WebPlatformDocs.less");
ExtensionUtils.loadStyleSheet(module, "WebPlatformDocs.css");


/**
Expand Down
2 changes: 2 additions & 0 deletions src/extensions/default/WebPlatformDocs/WebPlatformDocs.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/htmlContent/about-dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ <h2>{{APP_NAME_ABOUT_BOX}}</h2>
</div>
</div>
<div class="modal-footer">
<a href="#" class="dialog-button btn primary" data-button-id="ok">{{CLOSE}}</a>
<a href="#" class="dialog-button btn primary" data-button-id="ok" data-dismiss="modal">{{CLOSE}}</a>
</div>
</div>
2 changes: 1 addition & 1 deletion src/htmlContent/extension-manager-dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ <h1 class="dialog-title">{{EXTENSION_MANAGER_TITLE}}</h1>
<div class="modal-body no-padding zebra-striped"></div>
<div class="modal-footer">
<button class="btn left install-from-url">{{INSTALL_FROM_URL}}</button>
<button class="dialog-button btn primary" data-button-id="close">{{CLOSE}}</button>
<button class="dialog-button btn primary" data-button-id="ok" data-dismiss="modal">{{CLOSE}}</button>
</div>
</div>
2 changes: 1 addition & 1 deletion src/htmlContent/install-extension-dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ <h1 class="dialog-title">{{INSTALL_EXTENSION_TITLE}}</h1>
<div class="modal-footer">
<button class="btn left browse-extensions">{{BROWSE_EXTENSIONS}}</button>
<button class="dialog-button btn primary" data-button-id="ok" disabled>{{INSTALL}}</button>
<button class="dialog-button btn" data-button-id="cancel">{{CANCEL}}</button>
<button class="dialog-button btn" data-button-id="cancel" data-dismiss="modal">{{CANCEL}}</button>
</div>
</div>
2 changes: 1 addition & 1 deletion src/htmlContent/project-settings-dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ <h1 class="dialog-title"></h1>
</div>
<div class="modal-footer">
<a href="#" class="dialog-button btn primary" data-button-id="ok">{{OK}}</a>
<a href="#" class="dialog-button btn" data-button-id="cancel">{{CANCEL}}</a>
<a href="#" class="dialog-button btn" data-button-id="cancel" data-dismiss="modal">{{CANCEL}}</a>
</div>
</div>
2 changes: 1 addition & 1 deletion src/htmlContent/update-dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h1 class="dialog-title">{{UPDATE_AVAILABLE_TITLE}}</h1>
</div>
</div>
<div class="modal-footer">
<a href="#" class="dialog-button btn left" data-button-id="cancel">{{CANCEL}}</a>
<a href="#" class="dialog-button btn left" data-button-id="cancel" data-dismiss="modal">{{CANCEL}}</a>
<a href="#" class="dialog-button btn primary" data-button-id="download">{{GET_IT_NOW}}</a>
</div>
</div>
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@

<!-- TODO (Issue #278): switch between runtime LESS compilation in dev mode and precompiled version -->
<link rel="stylesheet/less" href="styles/brackets.less">
<script src="thirdparty/less-1.3.0.min.js"></script>
<script src="thirdparty/less-1.3.3.min.js"></script>
<script src="thirdparty/mustache/mustache.js"></script>
<!-- <link rel="stylesheet" href="brackets.min.css"> -->

Expand Down
2 changes: 1 addition & 1 deletion src/search/FindInFiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ define(function (require, exports, module) {

function _showSearchResults(searchResults, query, scope) {
if (searchResults && searchResults.length) {
var $resultTable = $("<table class='zebra-striped row-highlight condensed-table' />")
var $resultTable = $("<table class='table table-striped table-condensed row-highlight' />")
.append("<tbody>");

// Count the total number of matches
Expand Down
3 changes: 0 additions & 3 deletions src/styles/bootstrap/VERSION

This file was deleted.

34 changes: 34 additions & 0 deletions src/styles/bootstrap/accordion.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
//
// Accordion
// --------------------------------------------------


// Parent container
.accordion {
margin-bottom: @baseLineHeight;
}

// Group == heading + body
.accordion-group {
margin-bottom: 2px;
border: 1px solid #e5e5e5;
.border-radius(@baseBorderRadius);
}
.accordion-heading {
border-bottom: 0;
}
.accordion-heading .accordion-toggle {
display: block;
padding: 8px 15px;
}

// General toggle styles
.accordion-toggle {
cursor: pointer;
}

// Inner needs the styles because you can't animate properly with any styles on the element
.accordion-inner {
padding: 9px 15px;
border-top: 1px solid #e5e5e5;
}
79 changes: 79 additions & 0 deletions src/styles/bootstrap/alerts.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
//
// Alerts
// --------------------------------------------------


// Base styles
// -------------------------

.alert {
padding: 8px 35px 8px 14px;
margin-bottom: @baseLineHeight;
text-shadow: 0 1px 0 rgba(255,255,255,.5);
background-color: @warningBackground;
border: 1px solid @warningBorder;
.border-radius(@baseBorderRadius);
}
.alert,
.alert h4 {
// Specified for the h4 to prevent conflicts of changing @headingsColor
color: @warningText;
}
.alert h4 {
margin: 0;
}

// Adjust close link position
.alert .close {
position: relative;
top: -2px;
right: -21px;
line-height: @baseLineHeight;
}


// Alternate styles
// -------------------------

.alert-success {
background-color: @successBackground;
border-color: @successBorder;
color: @successText;
}
.alert-success h4 {
color: @successText;
}
.alert-danger,
.alert-error {
background-color: @errorBackground;
border-color: @errorBorder;
color: @errorText;
}
.alert-danger h4,
.alert-error h4 {
color: @errorText;
}
.alert-info {
background-color: @infoBackground;
border-color: @infoBorder;
color: @infoText;
}
.alert-info h4 {
color: @infoText;
}


// Block alerts
// -------------------------

.alert-block {
padding-top: 14px;
padding-bottom: 14px;
}
.alert-block > p,
.alert-block > ul {
margin-bottom: 0;
}
.alert-block p + p {
margin-top: 5px;
}
53 changes: 45 additions & 8 deletions src/styles/bootstrap/bootstrap.less
Original file line number Diff line number Diff line change
@@ -1,26 +1,63 @@
/*!
* Bootstrap v1.4.0
* Bootstrap v2.3.1
*
* Copyright 2011 Twitter, Inc
* Copyright 2012 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Thu Jan 5 07:14:51 PST 2012
*/

// CSS Reset
@import "reset.less";

// Core variables and mixins
@import "variables.less"; // Modify this for custom colors, font-sizes, etc
@import "mixins.less";

// CSS Reset
@import "reset.less";

// Grid system and page structure
@import "scaffolding.less";
@import "grid.less";
@import "layouts.less";

// Styled patterns and elements
// Base CSS
@import "type.less";
@import "code.less";
@import "forms.less";
@import "tables.less";
@import "patterns.less";

// Components: common
@import "sprites.less";
@import "dropdowns.less";
@import "wells.less";
@import "component-animations.less";
@import "close.less";

// Components: Buttons & Alerts
@import "buttons.less";
@import "button-groups.less";
@import "alerts.less"; // Note: alerts share common CSS with buttons and thus have styles in buttons.less

// Components: Nav
@import "navs.less";
@import "navbar.less";
@import "breadcrumbs.less";
@import "pagination.less";
@import "pager.less";

// Components: Popovers
@import "modals.less";
@import "tooltip.less";
@import "popovers.less";

// Components: Misc
@import "thumbnails.less";
@import "media.less";
@import "labels-badges.less";
@import "progress-bars.less";
@import "accordion.less";
@import "carousel.less";
@import "hero-unit.less";

// Utility classes
@import "utilities.less"; // Has to be last to override when necessary
24 changes: 24 additions & 0 deletions src/styles/bootstrap/breadcrumbs.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
//
// Breadcrumbs
// --------------------------------------------------


.breadcrumb {
padding: 8px 15px;
margin: 0 0 @baseLineHeight;
list-style: none;
background-color: #f5f5f5;
.border-radius(@baseBorderRadius);
> li {
display: inline-block;
.ie7-inline-block();
text-shadow: 0 1px 0 @white;
> .divider {
padding: 0 5px;
color: #ccc;
}
}
> .active {
color: @grayLight;
}
}
Loading