102 lines
1.8 KiB
CSS
102 lines
1.8 KiB
CSS
.godo {
|
|
border: 1px solid gray;
|
|
background-color: white;
|
|
border-radius: .33em;
|
|
overflow: hidden;
|
|
}
|
|
.godo--editor {
|
|
padding: 1em;
|
|
min-height: 10em;
|
|
white-space: pre-wrap;
|
|
padding-bottom: 3em;
|
|
}
|
|
|
|
/* Menus */
|
|
.menuicons {
|
|
font-size: 14px;
|
|
position: relative;
|
|
color: #888;
|
|
min-width: 2em;
|
|
}
|
|
.menuicon, .menuicon:hover {
|
|
padding: .16em .33em;
|
|
color: inherit;
|
|
background-color: #fff;
|
|
font-weight: 500;
|
|
min-width: 2em;
|
|
border: 0 none;
|
|
color: inherit;
|
|
}
|
|
.menuicon:hover {
|
|
color: black;
|
|
}
|
|
.menuicon.active, .menuicon:active, .menuicon:disabled {
|
|
color: #386EDE;
|
|
background-color: #eee;
|
|
}
|
|
|
|
/* Blocks menu */
|
|
.godo-blocks-menu {
|
|
position: sticky;
|
|
top: 0;
|
|
background-color: white;
|
|
border-bottom: 2px solid currentColor;
|
|
}
|
|
|
|
/* Marks menu */
|
|
.godo-marks-menu {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
transition: all 100ms 500ms ease;
|
|
}
|
|
.godo-marks-menu.fade {
|
|
opacity: 0.3;
|
|
}
|
|
.godo-marks-menu > .menuicons {
|
|
padding-top: 14px;
|
|
margin-left: -50%;
|
|
display: inline-flex;
|
|
border-color: #555;
|
|
}
|
|
.godo-marks-menu > .menuicons:before {
|
|
content: "";
|
|
display: block;
|
|
position: absolute;
|
|
margin: 0 auto;
|
|
top: 0;
|
|
bottom: auto;
|
|
right: 0;
|
|
left: 0;
|
|
width: 0;
|
|
height: 0;
|
|
border: 7px solid transparent;
|
|
border-bottom-color: #888;
|
|
}
|
|
.godo-marks-menu .menuicon {
|
|
background-color: #3C3C33;
|
|
color: white;
|
|
border: 2px solid #888;
|
|
border-radius: 0;
|
|
}
|
|
.godo-marks-menu .menuicon:first-child {
|
|
border-radius: 3px 0 0 3px;
|
|
}
|
|
.godo-marks-menu .menuicon:last-child {
|
|
border-radius: 0 3px 3px 0;
|
|
}
|
|
.godo-marks-menu .menuicon.active {
|
|
background-color: #386EDE;
|
|
}
|
|
.godo-marks-menu .menuicon:disabled {
|
|
display: none;
|
|
}
|
|
|
|
.menuicon.gras {
|
|
font-weight: 900;
|
|
}
|
|
.menuicon.italique {
|
|
font-weight: 600;
|
|
font-style: italic;
|
|
}
|