mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
rename "vault" to "web"
This commit is contained in:
47
src/Web/less/theme.less
Normal file
47
src/Web/less/theme.less
Normal file
@@ -0,0 +1,47 @@
|
||||
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,300italic,400italic,600italic);
|
||||
@import "../node_modules/toastr/toastr.less";
|
||||
|
||||
/* Start AdminLTE */
|
||||
|
||||
//Bootstrap Variables & Mixins
|
||||
//The core bootstrap code have not been modified. These files
|
||||
//are included only for reference.
|
||||
@import (reference) "../node_modules/admin-lte/build/bootstrap-less/mixins.less";
|
||||
@import (reference) "../node_modules/admin-lte/build/bootstrap-less/variables.less";
|
||||
//MISC
|
||||
//----
|
||||
@import "../node_modules/admin-lte/build/less/core.less";
|
||||
@import "../node_modules/admin-lte/build/less/variables.less";
|
||||
@import "../node_modules/admin-lte/build/less/mixins.less";
|
||||
//COMPONENTS
|
||||
//-----------
|
||||
@import "../node_modules/admin-lte/build/less/header.less";
|
||||
@import "../node_modules/admin-lte/build/less/sidebar.less";
|
||||
@import "../node_modules/admin-lte/build/less/sidebar-mini.less";
|
||||
@import "../node_modules/admin-lte/build/less/control-sidebar.less";
|
||||
@import "../node_modules/admin-lte/build/less/dropdown.less";
|
||||
@import "../node_modules/admin-lte/build/less/forms.less";
|
||||
@import "../node_modules/admin-lte/build/less/progress-bars.less";
|
||||
@import "../node_modules/admin-lte/build/less/small-box.less";
|
||||
@import "../node_modules/admin-lte/build/less/boxes.less";
|
||||
@import "../node_modules/admin-lte/build/less/info-box.less";
|
||||
@import "../node_modules/admin-lte/build/less/timeline.less";
|
||||
@import "../node_modules/admin-lte/build/less/buttons.less";
|
||||
@import "../node_modules/admin-lte/build/less/callout.less";
|
||||
@import "../node_modules/admin-lte/build/less/alerts.less";
|
||||
@import "../node_modules/admin-lte/build/less/navs.less";
|
||||
@import "../node_modules/admin-lte/build/less/table.less";
|
||||
@import "../node_modules/admin-lte/build/less/labels.less";
|
||||
@import "../node_modules/admin-lte/build/less/modal.less";
|
||||
//PAGES
|
||||
//------
|
||||
@import "../node_modules/admin-lte/build/less/login_and_register.less";
|
||||
@import "../node_modules/admin-lte/build/less/404_500_errors.less";
|
||||
//Miscellaneous
|
||||
//-------------
|
||||
@import "../node_modules/admin-lte/build/less/miscellaneous.less";
|
||||
@import "../node_modules/admin-lte/build/less/print.less";
|
||||
|
||||
/* End AdminLTE */
|
||||
|
||||
@import "../node_modules/admin-lte/build/less/skins/skin-blue.less";
|
||||
180
src/Web/less/vault.less
Normal file
180
src/Web/less/vault.less
Normal file
@@ -0,0 +1,180 @@
|
||||
@import "theme.less";
|
||||
|
||||
/* Theme Adjustments */
|
||||
|
||||
@boxed-layout-bg-image-path: "../images/boxed-bg.png";
|
||||
|
||||
body {
|
||||
background-color: @gray;
|
||||
.img-retina(@boxed-layout-bg-image-path, "../images/boxed-bg-2x.png", auto, auto);
|
||||
}
|
||||
|
||||
body,
|
||||
.main-header .logo,
|
||||
h1, h2, h3, h4, h5, h6,
|
||||
.h1, .h2, .h3, .h4, .h5, .h6 {
|
||||
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
.box-body > .table-responsive {
|
||||
> .table {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
@media screen and (max-width: @screen-xs-max) {
|
||||
border: none;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-form .form-group {
|
||||
margin-bottom: 0;
|
||||
|
||||
input[type="text"], .form-control-feedback {
|
||||
color: #999;
|
||||
}
|
||||
}
|
||||
|
||||
form div.validation-errors ul {
|
||||
margin-bottom: 0;
|
||||
padding-left: 20px;
|
||||
|
||||
li {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.login-page,
|
||||
.register-page {
|
||||
background-color: @gray;
|
||||
background-repeat: repeat;
|
||||
background-attachment: fixed;
|
||||
.img-retina(@boxed-layout-bg-image-path, "../images/boxed-bg-2x.png", auto, auto);
|
||||
}
|
||||
|
||||
.login-box-body,
|
||||
.register-box-body {
|
||||
.boxShadow(0 0 8px rgba(0, 0, 0, 0.5));
|
||||
}
|
||||
|
||||
.login-box, .register-box {
|
||||
.checkbox {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin-bottom: 0;
|
||||
padding-left: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.password-options {
|
||||
float: right;
|
||||
|
||||
i {
|
||||
margin: 0 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: @screen-sm-min) {
|
||||
.settings-photo {
|
||||
text-align: center;
|
||||
|
||||
img {
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
|
||||
.btn-table {
|
||||
padding: 1px 5px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.btn-box-tool {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
form .btn .loading-icon {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
/* Modals */
|
||||
|
||||
.modal-footer {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
/* Toastr */
|
||||
|
||||
#toast-container {
|
||||
position: absolute;
|
||||
|
||||
&.toast-top-right {
|
||||
top: 65px;
|
||||
right: 15px;
|
||||
|
||||
@media (max-width: @screen-xs-max) {
|
||||
top: initial;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
> .toast {
|
||||
background-image: none !important;
|
||||
.border-radius(0);
|
||||
.boxShadow(0 0 8px rgba(0, 0, 0, 0.5));
|
||||
|
||||
@media (max-width: @screen-xs-max) {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&.toast-danger, &.toast-error {
|
||||
&:extend(.bg-red);
|
||||
|
||||
&:before {
|
||||
content: "\f0e7";
|
||||
}
|
||||
}
|
||||
|
||||
&.toast-warning {
|
||||
&:extend(.bg-yellow);
|
||||
|
||||
&:before {
|
||||
content: "\f071";
|
||||
}
|
||||
}
|
||||
|
||||
&.toast-info {
|
||||
&:extend(.bg-aqua);
|
||||
|
||||
&:before {
|
||||
content: "\f005";
|
||||
}
|
||||
}
|
||||
|
||||
&.toast-success {
|
||||
&:extend(.bg-green);
|
||||
|
||||
&:before {
|
||||
content: "\f00C";
|
||||
}
|
||||
}
|
||||
|
||||
&:before {
|
||||
position: fixed;
|
||||
font-family: FontAwesome;
|
||||
font-size: 24px;
|
||||
line-height: 24px;
|
||||
float: left;
|
||||
color: #ffffff;
|
||||
padding-right: 0.5em;
|
||||
margin: auto 0.5em auto -1.5em;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user