1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-22 03:03:43 +00:00
Files
browser/src/popup/less/popup.less
Oscar Hinton 59754cd530 Setup Webpack & TypeScript (#316)
* TypeScript and WebPack.

* Minor cleanup.

* Add background.js as entry point to webpack.

* Use downloaded fonts for better performance.
Remove google-fonts-webpack-plugin.

* Add the remaining entry points and setup notification bar.

* Update readme for webpack.

* Convert CipherItems to TypeScript to demonstrate how a component looks in TS.

* Fix edge requirering a custom angular version.

* Rewrite gulp tasks for packaging releases.

* Re-add the webpack gulp plugin.

* Remove unessesary line in analytics.
2017-10-28 22:14:14 -04:00

66 lines
1.1 KiB
Plaintext

@import "~bootstrap/less/bootstrap.less";
@import (less) "~angular/angular-csp.css";
@import "variables.less";
@import "mixins.less";
@import "components.less";
@import "animations.less";
@import "plugins.less";
@import "pages.less";
@import (less) "../css/webfonts.css";
html {
-webkit-font-smoothing: antialiased;
}
body {
width: 375px !important;
height: 667px !important;
background-color: @background-color;
overflow: hidden;
}
html.firefox body,
html.edge body {
width: 320px !important;
height: 568px !important;
}
body.sm {
width: 375px !important;
height: 500px !important;
}
body.xs {
width: 375px !important;
height: 300px !important;
}
.main-view {
position: absolute;
width: 100%;
height: 100%;
z-index: 980;
}
.content {
position: absolute;
top: 44px;
bottom: 0;
left: 0;
right: 0;
overflow: auto;
background-color: @background-color;
&.content-tabs {
bottom: 55px;
}
&.content-no-header {
top: 0;
}
}
.monospaced {
font-family: @font-family-monospace;
}