initial commit
This commit is contained in:
142
app/assets/stylesheets/app/_common.scss
Normal file
142
app/assets/stylesheets/app/_common.scss
Normal file
@@ -0,0 +1,142 @@
|
||||
.nt-dropdown-menu {
|
||||
border-radius: 0;
|
||||
padding: 0 0;
|
||||
margin-top: 15px;
|
||||
border: none;
|
||||
width: 280px;
|
||||
|
||||
li {
|
||||
height: 35px;
|
||||
overflow: hidden;
|
||||
// padding-top: 2px;
|
||||
|
||||
.text {
|
||||
padding: 10px;
|
||||
padding-top: 7px;
|
||||
height: 100%;
|
||||
height: 100%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.shortcut {
|
||||
float: right;
|
||||
font-size: 12px;
|
||||
font-weight: normal;
|
||||
opacity: 0.5;
|
||||
margin-top: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.nt-dropdown-menu.dark {
|
||||
background-color: $dark-gray;
|
||||
color: white;
|
||||
|
||||
li {
|
||||
&:hover {
|
||||
background-color: #f5f5f5;
|
||||
color: black;
|
||||
a {
|
||||
color: black !important;
|
||||
}
|
||||
}
|
||||
a {
|
||||
color: white !important;
|
||||
height: 100%;
|
||||
font-weight: bold !important;
|
||||
}
|
||||
.text {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.nt-dropdown-menu.light {
|
||||
background-color: white;
|
||||
color: black;
|
||||
|
||||
li {
|
||||
&:hover {
|
||||
background-color: $dark-gray;
|
||||
color: white;
|
||||
a {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
a {
|
||||
color: black;
|
||||
}
|
||||
.text {
|
||||
color: black;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.menu-right-container {
|
||||
float: right;
|
||||
margin-top: 3px;
|
||||
color: white;
|
||||
white-space: nowrap;
|
||||
width: 70%;
|
||||
overflow: hidden;
|
||||
display: inline-block;
|
||||
|
||||
a {
|
||||
color: white;
|
||||
// font-size: 12px;
|
||||
}
|
||||
|
||||
.public-link {
|
||||
font-weight: bold;
|
||||
font-size: 12px;
|
||||
height: 20px;
|
||||
text-align: right;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
|
||||
.url {
|
||||
text-align: right;
|
||||
|
||||
.icon {
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
width: 90%;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.edit-url {
|
||||
// float: left;
|
||||
border: none;
|
||||
outline: none;
|
||||
margin-top: -3px;
|
||||
}
|
||||
}
|
||||
|
||||
> .icon {
|
||||
float: left;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.info-panel {
|
||||
min-width: 255px;
|
||||
text-align: left;
|
||||
font-size: 14px;
|
||||
margin-right: 18px;
|
||||
margin-bottom: 18px;
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
239
app/assets/stylesheets/app/_editor.scss
Normal file
239
app/assets/stylesheets/app/_editor.scss
Normal file
@@ -0,0 +1,239 @@
|
||||
.editor {
|
||||
width: 50%;
|
||||
|
||||
&.fullscreen {
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
z-index: 200;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.section-title-bar {
|
||||
border-bottom: none !important;
|
||||
}
|
||||
|
||||
$heading-height: 100px;
|
||||
|
||||
.editor-heading {
|
||||
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
padding: 15px;
|
||||
padding-top: 0px;
|
||||
background-color: white;
|
||||
|
||||
min-height: 100px;
|
||||
|
||||
width: 100%;
|
||||
padding-right: 10px;
|
||||
|
||||
> .title {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
padding-top: 0px;
|
||||
width: 100%;
|
||||
|
||||
> .input {
|
||||
float: left;
|
||||
text-overflow:ellipsis;
|
||||
width: 90%;
|
||||
font-weight: bold;
|
||||
border: none;
|
||||
outline: none;
|
||||
background-color: transparent;
|
||||
|
||||
&:disabled {
|
||||
color: black;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
.save-status {
|
||||
float: right;
|
||||
font-size: 12px;
|
||||
text-transform: none;
|
||||
font-weight: normal;
|
||||
margin-top: -18px;
|
||||
width: 120px;
|
||||
text-align: right;
|
||||
color: rgba(black, 0.5);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
.editor-content {
|
||||
max-height: 100%;
|
||||
|
||||
height: 100%;
|
||||
clear: both;
|
||||
min-width: 0;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
overflow: auto;
|
||||
|
||||
padding-top: $heading-height;
|
||||
|
||||
.sampler-container {
|
||||
margin-top: 10px;
|
||||
padding: 15px;
|
||||
padding-top: 17px;
|
||||
font-size: 17px;
|
||||
// opacity: 0.5;
|
||||
}
|
||||
|
||||
.sampler {
|
||||
// opacity: 0.5;
|
||||
color: rgba(black, 0.3);
|
||||
}
|
||||
|
||||
.editable {
|
||||
font-family: monospace;
|
||||
max-height: 100%;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
border: none;
|
||||
outline: none;
|
||||
padding: 15px;
|
||||
padding-top: 17px;
|
||||
font-size: 17px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
.preview {
|
||||
// font-family: monospace;
|
||||
max-height: 100%;
|
||||
height: 100%;
|
||||
line-height: 23px;
|
||||
overflow-y: scroll;
|
||||
padding: 0px 15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.markdown {
|
||||
margin-top: 6px;
|
||||
margin-left: 15px;
|
||||
float: right;
|
||||
text-align: right;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.full-screen-button {
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
top: 25px;
|
||||
right: 20px;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.editor-menu {
|
||||
padding-top: 0px;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
padding-left: inherit;
|
||||
padding-right: inherit;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0px;
|
||||
background-color: $dark-gray;
|
||||
color: white;
|
||||
padding-top: 8px;
|
||||
height: 36px;
|
||||
cursor: default;
|
||||
|
||||
ul {
|
||||
li {
|
||||
text-align: left;
|
||||
a {
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
padding: 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
ol {
|
||||
list-style-type: decimal;
|
||||
list-style-position: inside;
|
||||
-webkit-margin-before: 1em;
|
||||
-webkit-margin-after: 1em;
|
||||
-webkit-margin-start: 0px;
|
||||
-webkit-margin-end: 0px;
|
||||
-webkit-padding-start: 0px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.nav-tabs {
|
||||
a {
|
||||
color: black;
|
||||
text-decoration: none;
|
||||
}
|
||||
a {
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
.nav {
|
||||
padding-left: 0;
|
||||
margin-bottom: 0;
|
||||
list-style: none;
|
||||
}
|
||||
ol, ul {
|
||||
margin-top: 0;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.nav-pills>li {
|
||||
float: left;
|
||||
}
|
||||
.nav>li {
|
||||
position: relative;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
|
||||
color: #fff;
|
||||
background-color: #337ab7;
|
||||
}
|
||||
.nav-pills>li>a {
|
||||
border-radius: 4px;
|
||||
}
|
||||
.nav>li>a {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: 10px 15px;
|
||||
}
|
||||
|
||||
.nav-tabs>li {
|
||||
float: left;
|
||||
margin-bottom: -1px;
|
||||
}
|
||||
.nav>li {
|
||||
position: relative;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
|
||||
color: black;
|
||||
cursor: pointer;
|
||||
background-color: #fff;
|
||||
border: 1px solid #ddd;
|
||||
border-bottom-color: transparent;
|
||||
}
|
||||
.nav-tabs>li>a {
|
||||
margin-right: 2px;
|
||||
line-height: 1.42857143;
|
||||
border: 1px solid transparent;
|
||||
// border-radius: 4px 4px 0 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
.nav>li>a {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: 10px 15px;
|
||||
}
|
||||
92
app/assets/stylesheets/app/_fonts.scss
Normal file
92
app/assets/stylesheets/app/_fonts.scss
Normal file
@@ -0,0 +1,92 @@
|
||||
@font-face {
|
||||
font-family: ProximaNova;
|
||||
src: font-url('ProximaNova/ProximaNova-Regular.eot');
|
||||
src: local('☺'),
|
||||
font-url('ProximaNova/ProximaNova-Regular.woff') format('woff'),
|
||||
font-url('ProximaNova/ProximaNova-Regular.ttf') format('truetype'),
|
||||
font-url('ProximaNova/ProximaNova-Regular.svg') format('svg');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: ProximaNova;
|
||||
font-style: italic;
|
||||
src: font-url('ProximaNova/ProximaNova-Regular-Italic.eot');
|
||||
src: local('☺'),
|
||||
font-url('ProximaNova/ProximaNova-Regular-Italic.woff') format('woff'),
|
||||
font-url('ProximaNova/ProximaNova-Regular-Italic.ttf') format('truetype'),
|
||||
font-url('ProximaNova/ProximaNova-Regular-Italic.svg') format('svg');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: ProximaNova;
|
||||
font-weight: 600;
|
||||
src: font-url('ProximaNova/ProximaNova-Semibold.eot');
|
||||
src: local('☺'),
|
||||
font-url('ProximaNova/ProximaNova-Semibold.woff') format('woff'),
|
||||
font-url('ProximaNova/ProximaNova-Semibold.ttf') format('truetype'),
|
||||
font-url('ProximaNova/ProximaNova-Semibold.svg') format('svg');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: ProximaNova;
|
||||
font-weight: 600;
|
||||
font-style: italic;
|
||||
src: font-url('ProximaNova/ProximaNova-Semibold-Italic.eot');
|
||||
src: local('☺'),
|
||||
font-url('ProximaNova/ProximaNova-Semibold-Italic.woff') format('woff'),
|
||||
font-url('ProximaNova/ProximaNova-Semibold-Italic.ttf') format('truetype'),
|
||||
font-url('ProximaNova/ProximaNova-Semibold-Italic.svg') format('svg');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: ProximaNova;
|
||||
font-weight: bold;
|
||||
src: font-url('ProximaNova/ProximaNova-Bold.eot');
|
||||
src: local('☺'),
|
||||
font-url('ProximaNova/ProximaNova-Bold.woff') format('woff'),
|
||||
font-url('ProximaNova/ProximaNova-Bold.ttf') format('truetype'),
|
||||
font-url('ProximaNova/ProximaNova-Bold.svg') format('svg');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: ProximaNova;
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
src: font-url('ProximaNova/ProximaNova-Bold-Italic.eot');
|
||||
src: local('☺'),
|
||||
font-url('ProximaNova/ProximaNova-Bold-Italic.woff') format('woff'),
|
||||
font-url('ProximaNova/ProximaNova-Bold-Italic.ttf') format('truetype'),
|
||||
font-url('ProximaNova/ProximaNova-Bold-Italic.svg') format('svg');
|
||||
}
|
||||
|
||||
|
||||
@font-face {
|
||||
font-family: ProximaNova;
|
||||
font-weight: 100;
|
||||
src: font-url('fonts/ProximaNova-Thin.eot');
|
||||
src: local('☺'),
|
||||
font-url('ProximaNova/ProximaNova-Thin.woff') format('woff'),
|
||||
font-url('ProximaNova/ProximaNova-Thin.ttf') format('truetype'),
|
||||
font-url('ProximaNova/ProximaNova-Thin.svg') format('svg');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: ProximaNova;
|
||||
font-weight: 100;
|
||||
font-style: italic;
|
||||
src: font-url('fonts/ProximaNova-Thin-Italic.eot');
|
||||
src: local('☺'),
|
||||
font-url('ProximaNova/ProximaNova-Thin-Italic.woff') format('woff'),
|
||||
font-url('ProximaNova/ProximaNova-Thin-Italic.ttf') format('truetype'),
|
||||
font-url('ProximaNova/ProximaNova-Thin-Italic.svg') format('svg');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: ProximaNova;
|
||||
font-weight: 900;
|
||||
src: font-url('ProximaNova/ProximaNova-Extrabold.eot');
|
||||
src: local('☺'),
|
||||
font-url('ProximaNova/ProximaNova-Extrabold.woff') format('woff'),
|
||||
font-url('ProximaNova/ProximaNova-Extrabold.ttf') format('truetype'),
|
||||
font-url('ProximaNova/ProximaNova-Extrabold.svg') format('svg');
|
||||
}
|
||||
68
app/assets/stylesheets/app/_groups.scss
Normal file
68
app/assets/stylesheets/app/_groups.scss
Normal file
@@ -0,0 +1,68 @@
|
||||
.groups {
|
||||
width: 22%;
|
||||
|
||||
.groups-title-bar {
|
||||
color: #0707ff;
|
||||
}
|
||||
|
||||
.group {
|
||||
height: 50px;
|
||||
border-bottom: 1px solid $bg-color;
|
||||
padding: 12px;
|
||||
cursor: pointer;
|
||||
background-color: white;
|
||||
transition: height .1s ease-in-out;
|
||||
position: relative;
|
||||
|
||||
> .icon {
|
||||
float: left;
|
||||
padding-top: 6px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
> .title {
|
||||
width: 80%;
|
||||
background-color: transparent;
|
||||
font-weight: 600;
|
||||
float: left;
|
||||
color: $main-text-color;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
text-overflow: ellipsis;
|
||||
width: 75%;
|
||||
}
|
||||
|
||||
> .count {
|
||||
position: absolute;
|
||||
right: 17px;
|
||||
padding-top: 3px;
|
||||
}
|
||||
|
||||
&.selected {
|
||||
background-color: #5151ff;
|
||||
color: white;
|
||||
> .title {
|
||||
color: white;
|
||||
cursor: text;
|
||||
}
|
||||
}
|
||||
|
||||
/* When a note is dragged over group */
|
||||
&.over {
|
||||
background-color: rgba(#5151ff, 0.8);
|
||||
color: white;
|
||||
border: 2px dashed white;
|
||||
> .title {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover:not(.selected) {
|
||||
background-color: rgba(#5151ff, 0.8);
|
||||
color: white;
|
||||
> .title {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
292
app/assets/stylesheets/app/_header.scss
Normal file
292
app/assets/stylesheets/app/_header.scss
Normal file
@@ -0,0 +1,292 @@
|
||||
.header {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
background-color: $bg-color;
|
||||
height: $header-height;
|
||||
max-height: $header-height;
|
||||
z-index: 100;
|
||||
font-size: 14px;
|
||||
color: $dark-gray;
|
||||
// padding-top: 5px;
|
||||
margin-top: 4px;
|
||||
|
||||
a {
|
||||
color: $dark-gray;
|
||||
}
|
||||
}
|
||||
|
||||
.header-content {
|
||||
margin-bottom: 0px;
|
||||
padding-top: 0px;
|
||||
border-radius: 0px;
|
||||
|
||||
left: 0px;
|
||||
right: 0px;
|
||||
|
||||
.header-name {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
font-weight: bold;
|
||||
font-size: 20px;
|
||||
padding-top: 12px;
|
||||
}
|
||||
|
||||
.tagline {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
font-size: 14px;
|
||||
font-weight: normal;
|
||||
padding-left: 11px;
|
||||
margin-left: 0px;
|
||||
height: 22px;
|
||||
margin-top: 2px;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.panel-status-text {
|
||||
margin-top: 20px;
|
||||
font-style: italic;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.menu {
|
||||
|
||||
float: right;
|
||||
padding-top: 5px;
|
||||
margin-top: 10px;
|
||||
color: black;
|
||||
z-index: 1000;
|
||||
margin-bottom: 0px;
|
||||
font-size: 18px;
|
||||
|
||||
.login-panel .login-input {
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
.items {
|
||||
|
||||
.advanced-brand {
|
||||
font-size: 18px;
|
||||
|
||||
&.btn {
|
||||
border-radius: 3px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
font-weight: bold;
|
||||
.n {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.advanced {
|
||||
margin-left: -4px;
|
||||
text-transform: uppercase;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.beta {
|
||||
font-size: 7px;
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
|
||||
.item {
|
||||
|
||||
display: inline-block;
|
||||
margin-right: 7px;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
|
||||
a {
|
||||
color: $dark-gray;
|
||||
}
|
||||
|
||||
.panel {
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
min-width: 300px;
|
||||
z-index: 1000;
|
||||
margin-top: 15px;
|
||||
box-shadow: 0px 0px 15px rgba(black, 0.2);
|
||||
border: none;
|
||||
cursor: default;
|
||||
max-height: 85vh;
|
||||
overflow: scroll;
|
||||
background-color: white;
|
||||
|
||||
|
||||
.storage-text {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.checkbox {
|
||||
font-size: 14px;
|
||||
font-weight: normal;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.half-button {
|
||||
$spacing: 2px;
|
||||
width: calc(50% - #{$spacing});
|
||||
margin-left: $spacing/2.0;
|
||||
margin-right: $spacing/2.0;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.item.account {
|
||||
|
||||
|
||||
.link-item {
|
||||
margin-bottom: 8px;
|
||||
a {
|
||||
font-size: 14px;
|
||||
color: #00228f;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
input {
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
.account-panel {
|
||||
|
||||
padding: 12px;
|
||||
padding-bottom: 6px;
|
||||
|
||||
.account-items {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
.account-item {
|
||||
width: 100%;
|
||||
margin-bottom: 34px;
|
||||
|
||||
a {
|
||||
color: #00228f;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
> .icon-container {
|
||||
display: block;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
> .meta-container {
|
||||
display: block;
|
||||
}
|
||||
|
||||
> .action-container {
|
||||
font-size: 14px;
|
||||
margin-top: 6px;
|
||||
.status-title {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.subtext {
|
||||
font-size: 12px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
.encryption-confirmation {
|
||||
position: relative;
|
||||
.buttons {
|
||||
.cancel {
|
||||
font-weight: normal;
|
||||
margin-right: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 8px !important;
|
||||
}
|
||||
|
||||
> .icon-container {
|
||||
margin-bottom: 10px;
|
||||
.icon {
|
||||
height: 35px;
|
||||
&.archive {
|
||||
height: 30px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.meta-container {
|
||||
> .title {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
> .desc {
|
||||
font-size: 14px;
|
||||
margin-top: 3px;
|
||||
line-height: 18px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.membership-settings {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.account-form {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.registration-login {
|
||||
|
||||
.login-forgot {
|
||||
margin-top: 20px;
|
||||
clear: both;
|
||||
a {
|
||||
display: block;
|
||||
font-size: 13px !important;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.account-menu {
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.faq-panel {
|
||||
width: 350px;
|
||||
font-size: 16px;
|
||||
z-index: 1000;
|
||||
|
||||
p {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.faq-item {
|
||||
margin-bottom: 22px;
|
||||
}
|
||||
|
||||
.question {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.answer {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
ul {
|
||||
li {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
181
app/assets/stylesheets/app/_main.scss
Normal file
181
app/assets/stylesheets/app/_main.scss
Normal file
@@ -0,0 +1,181 @@
|
||||
$main-text-color: black;
|
||||
$secondary-text-color: rgba($main-text-color, 0.8);
|
||||
$bg-color: #e3e3e3;
|
||||
|
||||
@mixin MQ-Small() {
|
||||
@media (max-width: $screen-xs-max) {
|
||||
@content;
|
||||
}
|
||||
|
||||
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin MQ-Medium() {
|
||||
@media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@mixin MQ-Large() {
|
||||
@media (min-width: $screen-lg-min) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
[ng\:cloak], [ng-cloak], .ng-cloak {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont,
|
||||
"Segoe UI", "Roboto", "Oxygen",
|
||||
"Ubuntu", "Cantarell", "Fira Sans",
|
||||
"Droid Sans", "Helvetica Neue", sans-serif;
|
||||
color: $main-text-color;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
min-height: 100%;
|
||||
height: 100%;
|
||||
font-size: 20px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.dark-button {
|
||||
background-color: #2e2e2e;
|
||||
border: 0;
|
||||
padding: 6px 18px;
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
color: #fff;
|
||||
border-radius: 2px;
|
||||
border: 1px solid transparent;
|
||||
-webkit-appearance: none;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
|
||||
&:hover {
|
||||
background-color: black;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
&:hover {
|
||||
text-decoration: underline;;
|
||||
}
|
||||
}
|
||||
|
||||
pre {
|
||||
padding: 16px;
|
||||
overflow: auto;
|
||||
line-height: 1.45;
|
||||
background-color: #f7f7f7;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
code {
|
||||
word-wrap: break-word;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
p {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.main-ui-view {
|
||||
min-height: 100vh;
|
||||
height: 100vh;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.app-body-class {
|
||||
height: 100%;
|
||||
background-color: $bg-color;
|
||||
min-width: 100px;
|
||||
overflow: auto;
|
||||
min-width: 900px;
|
||||
}
|
||||
|
||||
$header-height: 50px;
|
||||
|
||||
.app-container {
|
||||
display: table;
|
||||
background-color: $bg-color;
|
||||
width: 100%;
|
||||
height: calc(100% - #{$header-height});
|
||||
padding: 15px;
|
||||
padding-top: 0px;
|
||||
font-size: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
$section-header-height: 70px;
|
||||
|
||||
.app {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
display: table-row;
|
||||
vertical-align: top;
|
||||
|
||||
.light-button {
|
||||
background-color: $bg-color;
|
||||
font-weight: bold;
|
||||
color: $main-text-color;
|
||||
font-size: 16px;
|
||||
text-align: center;
|
||||
height: 35px;
|
||||
border-radius: 4px;
|
||||
padding-top: 6px;
|
||||
|
||||
&:hover {
|
||||
background-color: #cdcdcd;
|
||||
}
|
||||
}
|
||||
|
||||
.section {
|
||||
padding: 8px;
|
||||
padding-bottom: 0px;
|
||||
|
||||
display: block;
|
||||
height: 100%;
|
||||
float: left;
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
min-width: 0;
|
||||
|
||||
font-size: 17px;
|
||||
|
||||
> .content {
|
||||
height: 100%;
|
||||
background-color: white;
|
||||
position: relative;
|
||||
box-shadow: 0px 0px 2px rgba(gray, 0.3);
|
||||
}
|
||||
|
||||
.section-title-bar {
|
||||
padding: 20px;
|
||||
height: $section-header-height;
|
||||
font-weight: bold;
|
||||
border-bottom: 1px solid $bg-color;
|
||||
|
||||
> .title {
|
||||
float: left;
|
||||
text-transform: uppercase;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
width: 85%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
> .add-button {
|
||||
float: right;
|
||||
font-size: 30px;
|
||||
margin-top: -10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
410
app/assets/stylesheets/app/_mostrap.scss
Normal file
410
app/assets/stylesheets/app/_mostrap.scss
Normal file
@@ -0,0 +1,410 @@
|
||||
//== Media queries breakpoints
|
||||
//
|
||||
//## Define the breakpoints at which your layout will change, adapting to different screen sizes.
|
||||
|
||||
// Extra small screen / phone
|
||||
//** Deprecated `$screen-xs` as of v3.0.1
|
||||
$screen-xs: 480px !default;
|
||||
//** Deprecated `$screen-xs-min` as of v3.2.0
|
||||
$screen-xs-min: $screen-xs !default;
|
||||
//** Deprecated `$screen-phone` as of v3.0.1
|
||||
$screen-phone: $screen-xs-min !default;
|
||||
|
||||
// Small screen / tablet
|
||||
//** Deprecated `$screen-sm` as of v3.0.1
|
||||
$screen-sm: 768px !default;
|
||||
$screen-sm-min: $screen-sm !default;
|
||||
//** Deprecated `$screen-tablet` as of v3.0.1
|
||||
$screen-tablet: $screen-sm-min !default;
|
||||
|
||||
// Medium screen / desktop
|
||||
//** Deprecated `$screen-md` as of v3.0.1
|
||||
$screen-md: 992px !default;
|
||||
$screen-md-min: $screen-md !default;
|
||||
//** Deprecated `$screen-desktop` as of v3.0.1
|
||||
$screen-desktop: $screen-md-min !default;
|
||||
|
||||
// Large screen / wide desktop
|
||||
//** Deprecated `$screen-lg` as of v3.0.1
|
||||
$screen-lg: 1200px !default;
|
||||
$screen-lg-min: $screen-lg !default;
|
||||
//** Deprecated `$screen-lg-desktop` as of v3.0.1
|
||||
$screen-lg-desktop: $screen-lg-min !default;
|
||||
|
||||
// So media queries don't overlap when required, provide a maximum
|
||||
$screen-xs-max: ($screen-sm-min - 1) !default;
|
||||
$screen-sm-max: ($screen-md-min - 1) !default;
|
||||
$screen-md-max: ($screen-lg-min - 1) !default;
|
||||
|
||||
@mixin MQ-Xsmall() {
|
||||
@media (max-width: $screen-xs-max) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin MQ-Small() {
|
||||
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin MQ-Medium() {
|
||||
@media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@mixin MQ-Large() {
|
||||
@media (min-width: $screen-lg-min) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
*:focus {outline:0;}
|
||||
|
||||
.navbar {
|
||||
min-height: 0px !important;
|
||||
background-color: white;
|
||||
height: 80px;
|
||||
margin-bottom: 0px;
|
||||
padding-top: 10px;
|
||||
border-radius: 0px;
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.navbar {
|
||||
border-radius: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar {
|
||||
position: relative;
|
||||
min-height: 50px;
|
||||
margin-bottom: 20px;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.navbar-header {
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
|
||||
.container > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-header, .container-fluid > .navbar-collapse {
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
|
||||
margin-left: -15px;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
float: left;
|
||||
padding: 15px 15px;
|
||||
font-size: 18px;
|
||||
line-height: 20px;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.container > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-header, .container-fluid > .navbar-collapse {
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.container > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-header, .container-fluid > .navbar-collapse {
|
||||
margin-right: -15px;
|
||||
margin-left: -15px;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.navbar-collapse.collapse {
|
||||
display: block !important;
|
||||
height: auto !important;
|
||||
padding-bottom: 0;
|
||||
overflow: visible !important;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.navbar-collapse {
|
||||
width: auto;
|
||||
border-top: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-collapse {
|
||||
overflow-x: visible;
|
||||
padding-right: 15px;
|
||||
padding-left: 15px;
|
||||
border-top: 1px solid transparent;
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
.collapse {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.navbar-right {
|
||||
float: right !important;
|
||||
margin-right: -15px;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.navbar-text {
|
||||
float: left;
|
||||
margin-left: 15px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
}
|
||||
.navbar-text {
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.dropup, .dropdown {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
z-index: 1000;
|
||||
// display: none;
|
||||
float: left;
|
||||
min-width: 160px;
|
||||
padding: 5px 0;
|
||||
margin: 2px 0 0;
|
||||
list-style: none;
|
||||
font-size: 14px;
|
||||
text-align: left;
|
||||
background-color: #fff;
|
||||
border: 1px solid #ccc;
|
||||
border: 1px solid rgba(0, 0, 0, 0.15);
|
||||
border-radius: 4px;
|
||||
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
||||
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
||||
background-clip: padding-box;
|
||||
}
|
||||
|
||||
.dropdown-menu>li>a {
|
||||
display: block;
|
||||
padding: 3px 20px;
|
||||
clear: both;
|
||||
font-weight: 400;
|
||||
line-height: 1.42857143;
|
||||
color: #333;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.caret {
|
||||
display: inline-block;
|
||||
width: 0;
|
||||
height: 0;
|
||||
margin-left: 2px;
|
||||
vertical-align: middle;
|
||||
border-top: 4px dashed;
|
||||
border-top: 4px solid\9;
|
||||
border-right: 4px solid transparent;
|
||||
border-left: 4px solid transparent;
|
||||
}
|
||||
|
||||
button:focus {outline:0;}
|
||||
|
||||
.dropdown-menu-right {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.open > .dropdown-menu {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.btn {
|
||||
display: inline-block;
|
||||
margin-bottom: 0;
|
||||
font-weight: normal;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
touch-action: manipulation;
|
||||
cursor: pointer;
|
||||
background-image: none;
|
||||
border: 1px solid transparent;
|
||||
white-space: nowrap;
|
||||
padding: 6px 12px;
|
||||
font-size: 14px;
|
||||
line-height: 1.42857;
|
||||
border-radius: 4px;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.btn-block {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
// ul, menu, dir {
|
||||
// display: block;
|
||||
// list-style-type: disc;
|
||||
// -webkit-margin-before: 1em;
|
||||
// -webkit-margin-after: 1em;
|
||||
// -webkit-margin-start: 0px;
|
||||
// -webkit-margin-end: 0px;
|
||||
// -webkit-padding-start: 40px;
|
||||
// }
|
||||
|
||||
.dropdown-menu .divider {
|
||||
height: 1px;
|
||||
margin: 9px 0;
|
||||
overflow: hidden;
|
||||
background-color: #e5e5e5;
|
||||
}
|
||||
|
||||
.panel {
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
min-width: 300px;
|
||||
z-index: 1000;
|
||||
margin-top: 10px;
|
||||
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
|
||||
border: none;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.panel-top {
|
||||
bottom: 0px;
|
||||
}
|
||||
|
||||
.panel-left {
|
||||
left: -50px;
|
||||
}
|
||||
|
||||
.panel-centered {
|
||||
position: relative;
|
||||
width: 400px;
|
||||
margin: 0 auto;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.panel-body {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.form-control {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 34px;
|
||||
padding: 6px 12px;
|
||||
font-size: 14px;
|
||||
line-height: 1.42857;
|
||||
color: #555555;
|
||||
background-color: #fff;
|
||||
background-image: none;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
|
||||
-webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
|
||||
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
|
||||
}
|
||||
|
||||
input, button, select, textarea {
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
.has-feedback {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.checkbox {
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.btn-link {
|
||||
background-color: transparent;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.btn-link:hover, .btn-link:focus {
|
||||
color: #23527c;
|
||||
text-decoration: underline;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.animated {
|
||||
-webkit-animation-duration: 1s;
|
||||
animation-duration: 1s;
|
||||
-webkit-animation-fill-mode: both;
|
||||
animation-fill-mode: both;
|
||||
}
|
||||
|
||||
.animated-fast {
|
||||
-webkit-animation-duration: 0.5s;
|
||||
animation-duration: 0.5s;
|
||||
-webkit-animation-fill-mode: both;
|
||||
animation-fill-mode: both;
|
||||
}
|
||||
|
||||
.fadeInDown {
|
||||
-webkit-animation-name: fadeInDown;
|
||||
animation-name: fadeInDown;
|
||||
}
|
||||
|
||||
.fadeIn {
|
||||
-webkit-animation-name: fadeIn;
|
||||
animation-name: fadeIn;
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadeInDown {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: translate3d(0,-100%,0);
|
||||
transform: translate3d(0,-100%,0);
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
-webkit-transform: none;
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
78
app/assets/stylesheets/app/_notes.scss
Normal file
78
app/assets/stylesheets/app/_notes.scss
Normal file
@@ -0,0 +1,78 @@
|
||||
.notes {
|
||||
width: 28%;
|
||||
|
||||
.notes-title-bar {
|
||||
color: #ff6551;
|
||||
height: 136px !important;
|
||||
}
|
||||
|
||||
.group-menu-bar {
|
||||
position: relative;
|
||||
margin: 0 -20px;
|
||||
width: auto;
|
||||
margin-top: 14px;
|
||||
}
|
||||
|
||||
.filter-section {
|
||||
clear: left;
|
||||
height: 32px;
|
||||
margin-top: 14px;
|
||||
|
||||
.filter-bar {
|
||||
background-color: $bg-color;
|
||||
border-radius: 4px;
|
||||
height: 100%;
|
||||
color: #909090;
|
||||
text-align: center;
|
||||
font-weight: normal;
|
||||
font-size: 16px;
|
||||
line-height: 35px;
|
||||
|
||||
border: none;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.notes-footer {
|
||||
border-top: 1px solid $bg-color;
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
margin-top: 1px solid $bg-color;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
padding: 10px;
|
||||
|
||||
> .new-button {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.note {
|
||||
width: 100%;
|
||||
padding: 15px;
|
||||
height: 70px;
|
||||
border-bottom: 1px solid $bg-color;
|
||||
cursor: pointer;
|
||||
background-color: white;
|
||||
> .name {
|
||||
font-weight: 600;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
> .date {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
&.selected {
|
||||
background-color: #ff6551;
|
||||
color: white;
|
||||
}
|
||||
|
||||
&:hover:not(.selected) {
|
||||
background-color: rgba(#ff6551, 0.8);
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
63
app/assets/stylesheets/frontend.css.scss
Normal file
63
app/assets/stylesheets/frontend.css.scss
Normal file
@@ -0,0 +1,63 @@
|
||||
$dark-gray: #2e2e2e;
|
||||
|
||||
@import "app/mostrap";
|
||||
@import "app/common";
|
||||
@import "app/main";
|
||||
@import "app/header";
|
||||
@import "app/groups";
|
||||
@import "app/notes";
|
||||
@import "app/editor";
|
||||
|
||||
@font-face {
|
||||
font-family: 'icomoon';
|
||||
src: url('icomoon/icomoon.eot');
|
||||
src: url('icomoon/icomoon.eot') format('embedded-opentype'),
|
||||
url('icomoon/icomoon.ttf') format('truetype'),
|
||||
url('icomoon/icomoon.woff') format('woff'),
|
||||
url('icomoon/icomoon.svg') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
[class^="icon-"], [class*=" icon-"] {
|
||||
/* use !important to prevent issues with browser extensions that change fonts */
|
||||
font-family: 'icomoon' !important;
|
||||
speak: none;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
// line-height: 1;
|
||||
|
||||
/* Better Font Rendering =========== */
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
||||
line-height: 10px;
|
||||
}
|
||||
|
||||
.inline-icon {
|
||||
display: inline-block;
|
||||
// margin-right: -5px;
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
.icon-lock:before {
|
||||
content: "\e98f";
|
||||
}
|
||||
|
||||
.icon-rss:before {
|
||||
content: "\ea9c";
|
||||
}
|
||||
|
||||
.icon-markdown:before {
|
||||
content: "\e901";
|
||||
}
|
||||
|
||||
.icon-keyboard:before {
|
||||
content: "\e900";
|
||||
}
|
||||
|
||||
.icon-enlarge:before {
|
||||
content: "\e989";
|
||||
}
|
||||
Reference in New Issue
Block a user