Code Widget refactor; observable refactor
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
/* ---- Make most desired things base transparent ---- */
|
||||
|
||||
/* ---- Make most desired things base transparent ---- */
|
||||
popover,
|
||||
popover > box,
|
||||
@@ -10,6 +12,14 @@ viewport {
|
||||
color: rgba(255, 255, 255, 1);
|
||||
}
|
||||
|
||||
scrolledwindow * {
|
||||
background: rgba(0, 0, 0, 0.0);
|
||||
}
|
||||
|
||||
border {
|
||||
background: rgba(39, 43, 52, 0.84);
|
||||
}
|
||||
|
||||
tab {
|
||||
color: rgba(255, 255, 255, 1);
|
||||
}
|
||||
@@ -31,35 +41,349 @@ tab:checked {
|
||||
color: rgba(255, 255, 255, 1);
|
||||
}
|
||||
|
||||
|
||||
.base-container {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* * selection {
|
||||
background-color: rgba(116, 0, 0, 0.65);
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
} */
|
||||
|
||||
/* Rubberband coloring */
|
||||
/* .rubberband,
|
||||
rubberband,
|
||||
flowbox rubberband,
|
||||
treeview.view rubberband,
|
||||
.content-view rubberband,
|
||||
.content-view .rubberband,
|
||||
XfdesktopIconView.view .rubberband {
|
||||
border: 1px solid #6c6c6c;
|
||||
background-color: rgba(21, 158, 167, 0.57);
|
||||
.source-view-focused {
|
||||
border-style: solid;
|
||||
border-color: white;
|
||||
border-width: 0.05em;
|
||||
}
|
||||
|
||||
XfdesktopIconView.view:active {
|
||||
background-color: rgba(172, 102, 21, 1);
|
||||
} */
|
||||
.tab-widget {
|
||||
padding-left: 0.2em;
|
||||
padding-right: 0.2em;
|
||||
margin-right: 0.8em;
|
||||
|
||||
border-top-style: solid;
|
||||
border-top-color: rgba(255, 255, 255, 0.64);
|
||||
border-top-width: 2px;
|
||||
|
||||
border-left-style: solid;
|
||||
border-left-color: rgba(255, 255, 255, 0.64);
|
||||
border-left-width: 2px;
|
||||
|
||||
border-right-style: solid;
|
||||
border-right-color: rgba(255, 255, 255, 0.64);
|
||||
border-right-width: 2px;
|
||||
}
|
||||
|
||||
.tab-label {
|
||||
margin-left: 2em;
|
||||
margin-right: 2em;
|
||||
}
|
||||
|
||||
.tab-close-bttn {
|
||||
background: rgba(116, 0, 0, 0.64);
|
||||
border-color: rgba(0, 0, 0, 0.64);
|
||||
color: rgba(255, 255, 255, 0.64);
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
}
|
||||
|
||||
.tab-close-bttn:hover {
|
||||
background: rgba(256, 0, 0, 0.64);
|
||||
}
|
||||
|
||||
|
||||
.file-changed {
|
||||
color: rgba(255, 168, 0, 0.64);
|
||||
}
|
||||
|
||||
.file-deleted {
|
||||
color: rgba(255, 0, 0, 0.64);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*popover,*/
|
||||
/*popover > box*/
|
||||
/*.main-window > box,*/
|
||||
/*.main-window > box > box,*/
|
||||
/*.main-window > box > box > paned,*/
|
||||
/*.main-window > box > box > paned > notebook,*/
|
||||
/*.main-window > box > box > paned > notebook > stack,*/
|
||||
/*.main-window > box > box > paned > notebook > stack > scrolledwindow > textview > * {*/
|
||||
/* background: rgba(0, 0, 0, 0.0);*/
|
||||
/* color: rgba(255, 255, 255, 1);*/
|
||||
/*}*/
|
||||
|
||||
|
||||
/* ---- top controls ---- */
|
||||
/*.main-window > box > box > button,*/
|
||||
/*.main-window > box > box > buttonbox > button {*/
|
||||
/* background: rgba(39, 43, 52, 0.64);*/
|
||||
/* margin-left: 12px;*/
|
||||
/* margin-right: 12px;*/
|
||||
/*}*/
|
||||
|
||||
|
||||
/* status bar */
|
||||
/*.main-window > box > statusbar {*/
|
||||
/* background: rgba(39, 43, 52, 0.64);*/
|
||||
/* padding-left: 96px;*/
|
||||
/* padding-right: 96px;*/
|
||||
/*}*/
|
||||
|
||||
|
||||
/* ---- notebook headers ---- */
|
||||
/*notebook > header {*/
|
||||
/* background: rgba(39, 43, 52, 0.72);*/
|
||||
/*}*/
|
||||
|
||||
/*notebook > header > tabs > tab {*/
|
||||
/* color: rgba(255, 255, 255, 1);*/
|
||||
/*}*/
|
||||
|
||||
/*notebook > header > tabs > tab:active {*/
|
||||
/* background: rgba(0, 0, 0, 0.0);*/
|
||||
/*}*/
|
||||
|
||||
|
||||
/* ---- notebook tab buttons ---- */
|
||||
/*tab > box > button {*/
|
||||
/* background: rgba(116, 0, 0, 0.64);*/
|
||||
/*}*/
|
||||
|
||||
/*tab > box > button:hover {*/
|
||||
/* background: rgba(256, 0, 0, 0.64);*/
|
||||
/*}*/
|
||||
|
||||
/*notebook > header > tabs > tab:checked {*/
|
||||
/* Neon Blue 00e8ff */
|
||||
/* background-color: rgba(0, 232, 255, 0.2); */
|
||||
|
||||
/* background-color: rgba(255, 255, 255, 0.46);*/
|
||||
|
||||
/* Dark Bergundy */
|
||||
/* background-color: rgba(116, 0, 0, 0.25); */
|
||||
|
||||
/* color: rgba(255, 255, 255, 0.8);*/
|
||||
/*}*/
|
||||
|
||||
/*.notebook-selected-focus {*/
|
||||
/* Neon Blue 00e8ff border */
|
||||
/* border: 2px solid rgba(0, 232, 255, 0.34); */
|
||||
|
||||
/* border: 2px solid rgba(255, 255, 255, 0.46);*/
|
||||
|
||||
/* Dark Bergundy */
|
||||
/* border: 2px solid rgba(116, 0, 0, 0.64); */
|
||||
/*}*/
|
||||
|
||||
|
||||
/* ---- source code notebooks ---- */
|
||||
/*notebook > stack > scrolledwindow > textview {*/
|
||||
/* background: rgba(39, 43, 52, 0.64);*/
|
||||
/* color: rgba(255, 255, 255, 1);*/
|
||||
/*}*/
|
||||
|
||||
/*textview {*/
|
||||
/* padding-bottom: 50em;*/
|
||||
/*}*/
|
||||
|
||||
|
||||
/* any popover */
|
||||
/*popover {*/
|
||||
/* background: rgba(39, 43, 52, 0.86);*/
|
||||
/* color: rgba(255, 255, 255, 1);*/
|
||||
/*}*/
|
||||
|
||||
/* ---- make text selection slightly transparent ---- */
|
||||
/** selection {*/
|
||||
/* background-color: rgba(0, 115, 115, 0.34);*/
|
||||
/* Bergundy */
|
||||
/* background-color: rgba(116, 0, 0, 0.64); */
|
||||
/* color: rgba(255, 255, 255, 0.5);*/
|
||||
/*}*/
|
||||
|
||||
|
||||
/* ---- miniview properties ---- */
|
||||
/*.source-view,*/
|
||||
/*.mini-view {*/
|
||||
/* font-family: Monospace;*/
|
||||
/*}*/
|
||||
|
||||
/* the mini view container of text */
|
||||
/*.mini-view > text {*/
|
||||
/* background: rgba(39, 43, 52, 0.64);*/
|
||||
/*}*/
|
||||
|
||||
/* draggable overlay of the miniview */
|
||||
/*.mini-view > * {*/
|
||||
/* background: rgba(64, 64, 64, 0.32);*/
|
||||
/* color: rgba(255, 255, 255, 1);*/
|
||||
/* font-size: 1px;*/
|
||||
/*}*/
|
||||
|
||||
/*.mini-view > text {*/
|
||||
/* background: rgba(39, 43, 52, 0.64);*/
|
||||
/*}*/
|
||||
|
||||
|
||||
/* other properties */
|
||||
/*.buffer_changed {*/
|
||||
/* color: rgba(255, 168, 0, 1.0);*/
|
||||
/* color: rgba(0, 232, 255, 0.64); */
|
||||
/*}*/
|
||||
|
||||
|
||||
/*.searching,*/
|
||||
/*.search_success,*/
|
||||
/*.search_fail {*/
|
||||
/* border-style: solid;*/
|
||||
/*}*/
|
||||
|
||||
/*.searching {*/
|
||||
/* border-color: rgba(0, 225, 225, 0.64);*/
|
||||
/*}*/
|
||||
/*.search_success {*/
|
||||
/* background: rgba(136, 204, 39, 0.12);*/
|
||||
/* border-color: rgba(136, 204, 39, 1);*/
|
||||
/*}*/
|
||||
/*.search_fail {*/
|
||||
/* background: rgba(170, 18, 18, 0.12);*/
|
||||
/* border-color: rgba(200, 18, 18, 1);*/
|
||||
/*}*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.error_txt { color: rgb(170, 18, 18); }
|
||||
.warning_txt { color: rgb(255, 168, 0); }
|
||||
.success_txt { color: rgb(136, 204, 39); }
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
Need these because updating buffer with get_tag_table and tags updates minimap to the same size due to its mapping structure...
|
||||
I've tried initial looks at:
|
||||
https://github.com/johnfactotum/gedit-restore-minimap
|
||||
which is re-adding minimap to gedit and they just used the below code snippit which still didn't work for me.
|
||||
|
||||
desc = Pango.FontDescription(default_font)
|
||||
desc.set_size(Pango.SCALE) # set size to 1pt
|
||||
desc.set_family('BuilderBlocks,' + desc.get_family())
|
||||
self.source_map.set_property('font-desc', desc)
|
||||
|
||||
So now we do this monstrocity until I can figure out what is needed to make something better work.
|
||||
|
||||
*/
|
||||
.px1 { font-size: 1px; }
|
||||
.px2 { font-size: 2px; }
|
||||
.px3 { font-size: 3px; }
|
||||
.px4 { font-size: 4px; }
|
||||
.px5 { font-size: 5px; }
|
||||
.px6 { font-size: 6px; }
|
||||
.px7 { font-size: 7px; }
|
||||
.px8 { font-size: 8px; }
|
||||
.px9 { font-size: 9px; }
|
||||
.px10 { font-size: 10px; }
|
||||
.px11 { font-size: 11px; }
|
||||
.px12 { font-size: 12px; }
|
||||
.px13 { font-size: 13px; }
|
||||
.px14 { font-size: 14px; }
|
||||
.px15 { font-size: 15px; }
|
||||
.px16 { font-size: 16px; }
|
||||
.px17 { font-size: 17px; }
|
||||
.px18 { font-size: 18px; }
|
||||
.px19 { font-size: 19px; }
|
||||
.px20 { font-size: 20px; }
|
||||
.px21 { font-size: 21px; }
|
||||
.px22 { font-size: 22px; }
|
||||
.px23 { font-size: 23px; }
|
||||
.px24 { font-size: 24px; }
|
||||
.px25 { font-size: 25px; }
|
||||
.px26 { font-size: 26px; }
|
||||
.px27 { font-size: 27px; }
|
||||
.px28 { font-size: 28px; }
|
||||
.px29 { font-size: 29px; }
|
||||
.px30 { font-size: 30px; }
|
||||
.px31 { font-size: 31px; }
|
||||
.px32 { font-size: 32px; }
|
||||
.px33 { font-size: 33px; }
|
||||
.px34 { font-size: 34px; }
|
||||
.px35 { font-size: 35px; }
|
||||
.px36 { font-size: 36px; }
|
||||
.px37 { font-size: 37px; }
|
||||
.px38 { font-size: 38px; }
|
||||
.px39 { font-size: 39px; }
|
||||
.px40 { font-size: 40px; }
|
||||
.px41 { font-size: 41px; }
|
||||
.px42 { font-size: 42px; }
|
||||
.px43 { font-size: 43px; }
|
||||
.px44 { font-size: 44px; }
|
||||
.px45 { font-size: 45px; }
|
||||
.px46 { font-size: 46px; }
|
||||
.px47 { font-size: 47px; }
|
||||
.px48 { font-size: 48px; }
|
||||
.px49 { font-size: 49px; }
|
||||
.px50 { font-size: 50px; }
|
||||
.px51 { font-size: 51px; }
|
||||
.px52 { font-size: 52px; }
|
||||
.px53 { font-size: 53px; }
|
||||
.px54 { font-size: 54px; }
|
||||
.px55 { font-size: 55px; }
|
||||
.px56 { font-size: 56px; }
|
||||
.px57 { font-size: 57px; }
|
||||
.px58 { font-size: 58px; }
|
||||
.px59 { font-size: 59px; }
|
||||
.px60 { font-size: 60px; }
|
||||
.px61 { font-size: 61px; }
|
||||
.px62 { font-size: 62px; }
|
||||
.px63 { font-size: 63px; }
|
||||
.px64 { font-size: 64px; }
|
||||
.px65 { font-size: 65px; }
|
||||
.px66 { font-size: 66px; }
|
||||
.px67 { font-size: 67px; }
|
||||
.px68 { font-size: 68px; }
|
||||
.px69 { font-size: 69px; }
|
||||
.px70 { font-size: 70px; }
|
||||
.px71 { font-size: 71px; }
|
||||
.px72 { font-size: 72px; }
|
||||
.px73 { font-size: 73px; }
|
||||
.px74 { font-size: 74px; }
|
||||
.px75 { font-size: 75px; }
|
||||
.px76 { font-size: 76px; }
|
||||
.px77 { font-size: 77px; }
|
||||
.px78 { font-size: 78px; }
|
||||
.px79 { font-size: 79px; }
|
||||
.px80 { font-size: 80px; }
|
||||
.px81 { font-size: 81px; }
|
||||
.px82 { font-size: 82px; }
|
||||
.px83 { font-size: 83px; }
|
||||
.px84 { font-size: 84px; }
|
||||
.px85 { font-size: 85px; }
|
||||
.px86 { font-size: 86px; }
|
||||
.px87 { font-size: 87px; }
|
||||
.px88 { font-size: 88px; }
|
||||
.px89 { font-size: 89px; }
|
||||
.px90 { font-size: 90px; }
|
||||
.px91 { font-size: 91px; }
|
||||
.px92 { font-size: 92px; }
|
||||
.px93 { font-size: 93px; }
|
||||
.px94 { font-size: 94px; }
|
||||
.px95 { font-size: 95px; }
|
||||
.px96 { font-size: 96px; }
|
||||
.px97 { font-size: 97px; }
|
||||
.px98 { font-size: 98px; }
|
||||
.px99 { font-size: 99px; }
|
||||
|
||||
|
||||
|
||||
@@ -161,5 +485,4 @@ XfdesktopIconView.view:active {
|
||||
.mw_transparency_96 { background: rgba(39, 43, 52, 0.96); }
|
||||
.mw_transparency_97 { background: rgba(39, 43, 52, 0.97); }
|
||||
.mw_transparency_98 { background: rgba(39, 43, 52, 0.98); }
|
||||
.mw_transparency_99 { background: rgba(39, 43, 52, 0.99); }
|
||||
.mw_transparency_100 { background: rgba(39, 43, 52, 1.00); }
|
||||
.mw_transparency_99 { background: rgba(39, 43, 52, 0.99); }
|
||||
Reference in New Issue
Block a user