insomnia/packages/insomnia-app/app/ui/css/constants/dimensions.less

86 lines
2.0 KiB
Plaintext
Raw Normal View History

2016-08-29 17:58:59 +00:00
/* Fonts */
html {
--font-size: 13px;
}
Merge develop for 5.1.0 (#246) * Add Slack badge to README * Add Twitter badge * Appveyor badge * Fix badges again on README * Fix Twitter badge link * Simplify README.md * Migrate Travis secure items to Travis project settings (#198) * Remove docker linux build (using Travis now) (#199) * Fix travis build * Update Issue and PR templates (#200) * Add template for future pull requests * Format issue template like pull request template * Will not clear selected file if dialog is dismissed (#202) * #183, Body type "Text -> Other" reverts to previous body type (#193) * ISSUE#183 * Adding condition to check mime-type to other * Removing older changes for fixing issue. * Save full response to a file (#207) * Save full response to a file * Add a new button on the response preview pane * Save full response to file when button clicked * Update after PR comments * It's a Response, not a Request * Remove file extension requirement * Implement lazy tag rendering and some fixes (#211) * expanding to 3 decimals (#213) * Update PULL_REQUEST_TEMPLATE.md (#214) * Show build info in console (#216) * Add waiting message in dev mode while webpack compile happens * Switch license from GPL to AGPL (#221) * Default remote URLs to production * Don't use Curl's cookie handling (#220) * Some improvements to the response tag * Add tests for XPath response queries * Refactor conditional element syntax * Add option to toggle Menu Bar showing for Windows/Linux (#225) * Add option to toggle MenuBar showing on Windows/Linux * Extract Toggling Menu Bar functionality to App Container. Default show Menu Bar. Remove tip from Response Pane. * Finalize {% response ... %} Tag (#224) * Some improvements to the response tag * Add tests for XPath response queries * Refactor conditional element syntax * Update nunjucks-tags.js * Better Nunjucks Tag Editor (#234) * Helper to tokenize Nunjucks tag * More granular types * Add tag definitions * Improve editor to be more WYSIWYG * Fixed tests * Added raw response tag * A few improvements to tag editor enum * fix NTLM typo (#244) * Tweaks and fixes for next release (#245)
2017-05-24 16:25:22 +00:00
@font-size: var(--font-size);
@font-size-xxs: ~'calc(var(--font-size) * 0.6)';
@font-size-xs: ~'calc(var(--font-size) * 0.8)';
@font-size-sm: ~'calc(var(--font-size) * 0.9)';
@font-size-md: ~'calc(var(--font-size) * 1.0)';
@font-size-lg: ~'calc(var(--font-size) * 1.2)';
@font-size-xl: ~'calc(var(--font-size) * 1.35)';
@font-size-xxl: ~'calc(var(--font-size) * 1.5)';
@font-size-xxxl: ~'calc(var(--font-size) * 1.7)';
Merge develop for 5.1.0 (#246) * Add Slack badge to README * Add Twitter badge * Appveyor badge * Fix badges again on README * Fix Twitter badge link * Simplify README.md * Migrate Travis secure items to Travis project settings (#198) * Remove docker linux build (using Travis now) (#199) * Fix travis build * Update Issue and PR templates (#200) * Add template for future pull requests * Format issue template like pull request template * Will not clear selected file if dialog is dismissed (#202) * #183, Body type "Text -> Other" reverts to previous body type (#193) * ISSUE#183 * Adding condition to check mime-type to other * Removing older changes for fixing issue. * Save full response to a file (#207) * Save full response to a file * Add a new button on the response preview pane * Save full response to file when button clicked * Update after PR comments * It's a Response, not a Request * Remove file extension requirement * Implement lazy tag rendering and some fixes (#211) * expanding to 3 decimals (#213) * Update PULL_REQUEST_TEMPLATE.md (#214) * Show build info in console (#216) * Add waiting message in dev mode while webpack compile happens * Switch license from GPL to AGPL (#221) * Default remote URLs to production * Don't use Curl's cookie handling (#220) * Some improvements to the response tag * Add tests for XPath response queries * Refactor conditional element syntax * Add option to toggle Menu Bar showing for Windows/Linux (#225) * Add option to toggle MenuBar showing on Windows/Linux * Extract Toggling Menu Bar functionality to App Container. Default show Menu Bar. Remove tip from Response Pane. * Finalize {% response ... %} Tag (#224) * Some improvements to the response tag * Add tests for XPath response queries * Refactor conditional element syntax * Update nunjucks-tags.js * Better Nunjucks Tag Editor (#234) * Helper to tokenize Nunjucks tag * More granular types * Add tag definitions * Improve editor to be more WYSIWYG * Fixed tests * Added raw response tag * A few improvements to tag editor enum * fix NTLM typo (#244) * Tweaks and fixes for next release (#245)
2017-05-24 16:25:22 +00:00
/* Padding */
@padding-md: ~'calc(var(--font-size) * 1.2)';
@padding-sm: ~'calc(var(--font-size) * 0.6)';
@padding-xs: ~'calc(var(--font-size) * 0.4)';
@padding-xxs: ~'calc(var(--font-size) * 0.2)';
@padding-lg: ~'calc(var(--font-size) * 2.5)';
@padding-xl: ~'calc(var(--font-size) * 5)';
2016-08-29 17:58:59 +00:00
/* Wrapper */
// line-height-md = x * 3.6
// line-height-sm = x * 3.6 * 0.8 (2.88)
// line-height-xs = x * 3.6 * 0.8 * 0.85 (2.448)
// line-height-xxs= x * 3.6 * 0.8 * 0.85 * 0.85 (2.08)
@line-height-md: ~'calc(var(--font-size) * 3.6)';
@line-height-sm: ~'calc(var(--font-size) * 2.88)';
@line-height-xs: ~'calc(var(--font-size) * 2.448)';
@line-height-xxs: ~'calc(var(--font-size) * 2.08)';
2016-08-29 17:58:59 +00:00
/* Nav */
@height-nav: @line-height-md;
2016-08-29 17:58:59 +00:00
2016-09-09 00:32:36 +00:00
/* Scrollbars */
@scrollbar-width: ~'calc(var(--font-size) * 0.6)';
2016-09-09 00:32:36 +00:00
2016-08-29 17:58:59 +00:00
/* Borders */
@radius-sm: ~'calc(var(--font-size) * 0.2)';
@radius-md: ~'calc(var(--font-size) * 0.3)';
2016-08-29 17:58:59 +00:00
/* Dropdowns */
@dropdown-min-width: ~'calc(var(--font-size) * 12)';
2016-08-29 17:58:59 +00:00
/* Modals */
@modal-width: ~'calc(var(--font-size) * 60)';
@modal-width-wide: ~'calc(var(--font-size) * 70)';
2016-08-29 17:58:59 +00:00
/* Other */
@drag-width: ~'calc(var(--font-size) * 0.5)';
2016-08-29 17:58:59 +00:00
/* Breakpoints */
@breakpoint-lg: 1100px;
@breakpoint-md: 880px;
@breakpoint-sm: 660px;
.txt-xxs {
font-size: @font-size-xxs !important;
}
2016-08-29 17:58:59 +00:00
.txt-xs {
font-size: @font-size-xs !important;
}
.txt-sm {
font-size: @font-size-sm !important;
}
.txt-md {
font-size: @font-size-md !important;
}
.txt-lg {
font-size: @font-size-lg !important;
}
.txt-xl {
font-size: @font-size-xl !important;
}
.txt-xxl {
font-size: @font-size-xxl !important;
}