Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@sebastianconcept
Created January 2, 2017 18:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sebastianconcept/f150d5d761ba166d4f7387faba6ac085 to your computer and use it in GitHub Desktop.
Save sebastianconcept/f150d5d761ba166d4f7387faba6ac085 to your computer and use it in GitHub Desktop.
/** Scott Bakers Colors **/
@adr-red: #ea5a5a;
@adr-blue: #23b1f7;
@adr-yellow: #ffcc00;
@adr-green: #28bd8b;
@adr-dark: #1f222d;
@adr-light-blue: #f4f7fa;
/** Begin Guy **/
.notes-wrapper {
display: table-cell;
vertical-align: bottom;
width: 100%;
}
input:focus {
outline: none;
}
[ui-view].ng-enter, [ui-view].ng-leave {
position: absolute;
left: 0;
right: 0;
-webkit-transition: all .5s ease-in-out;
-moz-transition: all .5s ease-in-out;
-o-transition: all .5s ease-in-out;
transition: all .5s ease-in-out;
}
[ui-view].ng-enter {
opacity: 0;
-webkit-transform: scale3d(0.5, 0.5, 0.5);
-moz-transform: scale3d(0.5, 0.5, 0.5);
transform: scale3d(0.5, 0.5, 0.5);
}
[ui-view].ng-enter-active {
opacity: 1;
-webkit-transform: scale3d(1, 1, 1);
-moz-transform: scale3d(1, 1, 1);
transform: scale3d(1, 1, 1);
}
[ui-view].ng-leave {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
[ui-view].ng-leave-active {
opacity: 0;
-webkit-transform: translate3d(100px, 0, 0);
-moz-transform: translate3d(100px, 0, 0);
transform: translate3d(100px, 0, 0);
}
/** End Guy **/
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700,700italic);
@adr-font: 'Open Sans', sans-serif;
body {
//padding-top: 80px;
//padding-bottom: 80px;
font-family: @adr-font;
}
ul.list-inline > li.active > a {
color: #777;
}
ol.breadcrumb > .active >a {
color: #777;
}
/* END AFTER I INCLUDED BOOTSTRAP */
ul.menu {
list-style-type: none;
margin: 0;
padding: 0;
}
li.menu {
display: inline;
}
div.wrap {
overflow: hidden;
overflow-x: hidden;
overflow-y: hidden;
}
div.canvas {
position: relative;
margin-right: 0;
height: 850px;
padding-bottom: 50px;
}
div.all {
height: 100%;
}
div.scrolling-column-wrapper {
top: 46px;
position: absolute;
bottom: 0;
width: 100%;
padding-bottom: 116px;
> div {
overflow-y: auto;
height: 100%;
}
}
.adr-column {
min-width: 365px;
}
.adr-row {
//margin: 0 auto;
//width: 100;
width: 100%;
//padding: 20px 80px;
padding-top: 10px;
padding-left: 10px;
padding-bottom: 10px;
&.notes-container {
height: 500px;
bottom: 0;
padding-bottom: 20px;
background: @adr-light-blue;
overflow-x: auto;
overflow-y: scroll;
white-space: nowrap;
}
&:before, &:after {
display: table;
content: ' ';
}
&:after {
clear: both;
}
}
/* Note Page CSS */
.notes-container {
adr-column {
.scroll-col-md-3 {
.add-column-container {
display: none;
}
.add-note {
span.glyphicon {
top: 0px;
}
}
&:hover {
.add-column-container {
display: block;
}
}
}
}
}
/* change name since 3 does not make since if I'm going to manually set the width */
div.scroll-col-md-3 {
height: 100%;
width: 30%;
float: none;
display: inline-block;
// background: white;
padding: 0 10px;
position: relative;
.panel {
position: relative;
}
}
div.x-scroll {
-webkit-box-align: start;
align-items: flex-start;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
flex-direction: row;
/*margin-bottom: 10px;
padding-bottom: 10px;*/
position: absolute;
overflow-x: auto;
overflow-y: hidden;
/*
top: 0;
right: 0;
bottom: 0;
left: 0;
*/
}
/*
div.column:first-child {
margin-left: 10px;
}
*/
div.column {
position: relative;
min-width: 270px;
}
div.notes-utility-bar {
margin-top: 4em;
position: relative;
}
div.column-notes {
//overflow-y: auto;
overflow-x: hidden;
//min-height: 500px;
//max-height: 500px;
}
.note-wrapper {
// Allows note to be dragged below last element
min-height: 20px;
}
div.note {
min-height: 75px;
//padding: 10px 5px 10px 5px;
padding: 0px 5px 0px 5px;
position: relative;
//border-bottom: solid 1px #ddd;
margin-top: 10px;
.strikethrough {
text-decoration: line-through;
}
.text-danger {
color: red;
font-style: italic;
}
span.note-party-label {
position: absolute;
top: 0px;
left: 0px;
width: 3em;
background-color: #777777;
display: inline;
padding: .2em .5em .2em .5em;
font-size: 8px;
font-weight: bold;
line-height: 1;
color: #fff;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
//border-radius: .25em;
}
.link-notes {
position: absolute;
top: 0px;
left: 2em;
padding-left: 1em;
font-size: 10px;
font-weight: 700;
a {
color: @adr-blue;
}
}
.link-mode-actions {
display: inline-block;
margin-top: 1.5em;
position: absolute;
left: 3em;
z-index: 10;
font-size: 10px;
font-weight: 700;
a {
color: @adr-blue;
}
}
a.note-save-icon {
position: absolute;
top: 0px;
color: #a4a4a4;
right: 3.25em;
padding: 2px;
font-size: 10px;
display: block;
width: 17px;
height: 20px;
text-align: center;
}
a.note-save-icon.unsaved {
color: @adr-blue;
}
a.note-private-icon {
position: absolute;
top: 1.5px;
color: #a4a4a4;
right: 1.5em;
padding-right: .75em;
font-size: 10px;
//border-right: solid 1px #ddd;
//border-bottom: solid 1px #ddd;
display: block;
width: 17px;
height: 20px;
text-align: center;
}
a.note-strikeout-icon {
position: absolute;
top: 0px;
color: #a4a4a4;
right: .5em;
padding: 2px;
font-size: 10px;
//border-right: solid 1px #ddd;
//border-bottom: solid 1px #ddd;
display: block;
width: 17px;
height: 20px;
text-align: center;
}
.note-link-icon {
position: absolute;
top: 0px;
right: 4.8em;
padding: 2px;
font-size: 10px;
display: block;
width: 17px;
height: 20px;
text-align: center;
a {
color: #a4a4a4;
}
}
.note-bell-icon + .note-link-icon {
right: 6em;
}
a.note-bell-icon {
position: absolute;
top: 0px;
color: #a4a4a4;
right: 4.8em;
padding: 2px;
font-size: 10px;
display: block;
width: 17px;
height: 20px;
text-align: center;
}
.row {
margin-left: -15px;
margin-top: 10px;
}
.note-text p {
white-space: initial;
}
.note-text p:focus {
outline: none;
}
.note_text_private {
color: red;
font-style: italic;
//font-size: 8px;
}
.col-xs-3 {
min-height: 50px;
}
}
.note-party {
padding: 21px;
width: 50px;
height: 50px;
position: absolute;
color: #fff;
border-radius: 100%;
border: 3px solid #2bbe8d;
background-color: #fff;
top: 0;
bottom: 0;
margin: auto;
left: 15px;
p {
position: absolute;
z-index: 2;
font-weight: 700;
font-size: 16px;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
display: block;
height: 17px;
line-height: 1.1;
width: 19px;
text-align: center;
}
}
.label-party-selector-selected {
width: 3em;
background-color: @adr-blue;
color: white;
}
.label-party-selector-not-selected {
width: 3em;
background-color: black;
color: white;
}
.btn-add-note {
color: #fff;
background-color: @adr-blue;
//border-color: #2e6da4;
border-color: @adr-light-blue;
}
.btn-adr-success {
color: #fff;
background-color: @adr-green;
border-color: @adr-green;
}
.btn-adr-danger {
color: #fff;
background-color: @adr-red;
border-color: @adr-red;
}
.note-party:before {
content: "";
width: 38px;
height: 38px;
top: 0;
left: 0;
position: absolute;
z-index: 1;
display: block;
margin: auto;
bottom: 0;
right: 0;
border-radius: 100%;
background-color: #2bbe8d;
}
div.note:hover {
background: #f4f7fa;
}
div.note.selected {
background: lightgreen;
}
div.next-note {
min-height: 75px;
background: lightgray;
order: -1;
}
div.column:hover {
background: red;
}
.strikethrough {
text-decoration: line-through;
}
a.selected-party {
background: black;
color: white;
}
div.note-editor {
width: 100%;
margin: auto;
min-height: 60px;
position: relative;
border-bottom: solid 1px #ddd;
input[type="text"] {
width: 100%;
box-sizing: border-box;
border: none;
font-size: 23px;
padding: 13px;
}
button {
position: absolute;
right: 20px;
background: @adr-blue;
width: 40px;
top: 0;
bottom: 0;
height: 40px;
margin: auto;
}
.popover {
outline: none !important;
}
textarea {
min-width: 100%;
box-sizing: border-box;
border: none;
resize: none;
}
:focus::-webkit-input-placeholder {
color: white;
}
:focus:-moz-placeholder {
color: white;
}
:focus::-moz-placeholder {
color: white;
}
:focus::-ms-input-placeholder {
color: white;
}
:focus {
background: @adr-blue;
}
}
.note-editor-row.note-editor-row--small {
position: inherit!important;
.note-editor {
border-bottom: 0;
min-height: inherit;
margin: 5px 0;
input[type="text"] {
width: 100%;
box-sizing: border-box;
border: none;
font-style: italic;
font-size: 14px!important;
padding: 13px;
}
}
& + .party-list {
position: relative!important;
padding: 0 15px 5px;
}
}
.note-editor>button {
position: relative;
right: 20%;
}
textarea {
min-width: 100%;
box-sizing: border-box;
border: none;
}
// ===
// Scott Baker CSS
// ===
.lock-box {
width: 6%;
float: left;
padding: 0 15px;
}
.timer {
//width: 19%;
float: left;
font-size: 24px;
padding: 0 15px;
span {
position: static;
line-height: 32px;
font-size: 18px;
float: left;
margin-right: 7px;
}
strong {
float: left;
}
}
.lock-box .btn {
padding: 11px;
display: block;
width: 40px;
background: @adr-blue;
height: 40px;
border: none;
}
.linkings-selector {
margin-right: 5px;
}
// PARTY LISTS
.party-list {
padding: 15px;
bottom: 0;
width: 100%;
position: absolute;
.label {
margin-right: 5px;
}
.party-name {
padding: 4px 0 0 0px;
border-radius: 100%;
height: 26px;
width: 26px;
display: inline-block;
text-align: center;
background-color: #8e9aa9;
color: #fff;
font-size: 12px;
text-transform: uppercase;
/* font-weight: 700; */
margin: 0 10px 0 0;
text-align: center;
&.selected-party {
background-color: @adr-dark;
}
}
}
.note-content.panel {
height: 100%;
margin: 0;
overflow-x: visible;
border-radius: 0;
border: solid 1px #e4e7e9;
}
.add-column-container {
// position: absolute;
top: 0;
// left: 0;
// right: 0;
bottom: 0;
margin: auto;
//height: 50%;
// width: 110%;
// left: -5%;
/* Guy commented out so that the buttons are visible */
.add-note {
top: 0;
bottom: 0;
margin: auto;
height: 26px;
width: 26px;
display: block;
background-color: #23b1f7;
padding: 7px 7px 8px 8px;
border-radius: 100%;
color: #fff;
text-align: center;
font-size: 11px;
position: absolute;
cursor: pointer;
&.add-note-left {
left: -14px;
}
&.add-note-right {
right: -14px;
}
}
}
.note-editor-row {
width: 100%;
position: absolute;
bottom: 50px;
}
header.note-header {
//padding: 20px;
padding: 10px;
border-bottom: solid 1px #ddd;
.menu-toggle {
float: left;
width: 20%;
text-align: right;
span {
font-size: 20px;
color: @adr-dark;
}
}
.remove {
width: 20%;
float: left;
margin-top: 5px;
span {
color: @adr-red;
}
}
.title {
width: 60%;
float: left;
h3 {
margin: 0;
text-align: center;
font-weight: 700;
text-transform: uppercase;
font-size: 18px;
color: @adr-dark;
}
}
}
span.caucus {
border: solid #ccc 1px;
float: left;
display: block;
line-height: 32px;
padding-right: 15px;
//background: @adr-blue;
margin-left: 15px;
border-radius: 4px;
a {
text-decoration: underline;
}
}
nav.note-menu {
// padding: 10px;
background-color: #282c37;
/* Guy */
position: absolute;
width: 100%;
z-index: 1000;
/* end Guy */
h5.menu-title {
color: #fff;
padding: 20px;
margin: 0;
font-size: 15px;
width: 80%;
float: left;
}
a.back {
float: right;
width: 20%;
padding: 20px;
color: #fff;
text-align: right;
font-size: 15px;
position: relative;
text-transform: uppercase;
&:before {
content: "\f053";
font-family: "fontawesome";
position: absolute;
left: 0;
color: #fff;
font-size: 12px;
top: 0;
bottom: 0;
margin: auto;
height: 15px;
}
}
ul {
margin: 0;
list-style: none;
padding: 0;
li {
a {
padding: 20px;
display: block;
color: #fff;
font-size: 15px;
text-transform: uppercase;
font-weight: 700;
transition: .25s;
&:hover {
background: #53565f;
// color: @adr-dark;
transition: .25s;
text-decoration: none;
}
&:after {
//switch to fontawesome
content: "\f054";
right: 20px;
font-family: "fontawesome";
position: absolute;
;
}
}
}
}
}
h5.menu-title {}
nav.note-menu ul {}
.note-menu ul li a {}
// CLEARFIX
.cf:before, .cf:after {
display: table;
content: ' ';
}
.cf:after {
clear: both;
}
// Fieldset Legend
.the-fieldset {
.the-legend {
border-style: none;
border-width: 0;
font-size: 14px;
line-height: 20px;
margin-bottom: 0;
}
}
.parties-list {
margin: 10px 0;
}
.atendees-list {
clear: both;
padding: 10px 0;
}
.draggable {
cursor: move;
}
.floating-box {
z-index: 100000000;
position: absolute;
right: 20px;
top: 40px;
width: 260px;
background: #ffffff;
border-radius: 0;
border: solid 1px #e4e7e9;
-webkit-box-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px;
-moz-box-shadow: rgba(0,0,0,0.3) 0 1px 3px;
box-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px;
}
.floating-box__header {
border-top: solid 1px #ddd;
padding: 10px;
border-bottom: solid 1px #ddd;
}
.floating-box__header + .floating-box__header {
border-top: 0;
}
.floating-box__title {
color: @adr-dark;
font-weight: 700;
font-size: 18px;
margin: 0;
text-align: center;
text-transform: uppercase;
}
.floating-box__title--small {
color: @adr-dark;
font-weight: 700;
font-size: 12px;
margin: 0;
text-transform: uppercase;
}
.floating-box__party {
margin: 0px 5px;
display: inline-block;
width: inherit;
}
.floating-box__note {
padding: 10px 5px 10px 5px;
.floating-box__note__icon {
visibility: hidden;
}
&:hover {
background: #f4f7fa;
.floating-box__note__icon {
visibility: visible;
}
}
}
.floating-box__content {
padding: 10px 12px;
}
.floating-box__title {
color: @adr-dark;
font-size: 12px;
margin: 0;
text-align: center;
text-transform: uppercase;
}
.floating-box__aside {
color: #999;
font-style: italic;
padding: 7px 5px;
margin: 5px 7px;
/* font-size: 11px; */
}
.floating-box__options {
padding: 5px 5px;
text-align: center;
font-size: 12px;
}
.link {
cursor: pointer;
}
.adr-text-danger {
color: @adr-red;
}
.adr-text-default {
color: @adr-blue;
}
.no-gutter > [class*='col-'] {
padding-right:0;
padding-left:0;
}
// Bootstrap 4 Helper
// http://v4-alpha.getbootstrap.com/components/utilities/
.m-r-1 { margin-right: 4px; }
.m-r-2 { margin-right: 8px; }
.m-r-3 { margin-right: 16px; }
.search-input-wrapper {
margin: 0 0 10px 10px;
}
/* Mediator List on Invite Mediator Modal */
.inviteGrid {
margin: auto;
max-width: 500px;
.mediatorlist {
margin: 5px 0px;
.icon {
font-size: 30px;
display: inline-block;
vertical-align: middle;
padding-right: 10px;
}
.userDetail {
display: inline-block;
vertical-align: middle;
.name {
font-weight: bold;
font-size: 16px;
display: block;
}
.email {
display: block;
}
padding-right: 20px;
}
.action {
display: inline-block;
vertical-align: middle;
span.glyphicon {
font-size: 30px;
}
.already {
span {
display: block;
}
}
}
}
.noResult {
margin-top: 15px;
}
}
.radio-label {
font-weight: normal;
}
.drag-n-drop-handle {
color: #CCC;
cursor: move;
#quillEditor {
.quill-editor {
height: 200px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment