11/*
22
3- Minimal Obsidian 3.1.1 by @kepano
3+ Minimal Obsidian 3.2.0 by @kepano
44
55This theme is designed to be used with the Minimal Theme Settings
66plugin and the Hider plugin.
@@ -49,6 +49,7 @@ Desktop Styling
4949 Window frame
5050 Title bar
5151 Editor mode
52+ Form inputs
5253 Internal search
5354 Sidebar documents
5455 Toggle switches
@@ -187,6 +188,8 @@ Disabled features */
187188 --border-width : 1px ;
188189 --border-width-alt : 1px ;
189190
191+ --input-height : 36px ;
192+
190193}
191194
192195/* Desktop font sizes */
@@ -237,6 +240,7 @@ body {
237240 --background-modifier-border-focus : hsl (var (--base-h ), var (--base-s ), calc (var (--base-l ) - 20% ));
238241 --background-modifier-form-field : hsl (var (--base-h ), var (--base-s ), calc (var (--base-l ) + 6% ));
239242 --background-modifier-form-field-highlighted : hsl (var (--base-h ), var (--base-s ), calc (var (--base-l ) + 8% ));
243+ --background-button : white;
240244 --text-normal : hsl (var (--base-h ), var (--base-s ), calc (var (--base-l ) - 80% ));
241245 --text-muted : hsl (var (--base-h ), calc (var (--base-s ) - 5% ), calc (var (--base-l ) - 45% ));
242246 --text-faint : hsl (var (--base-h ), calc (var (--base-s ) - 5% ), calc (var (--base-l ) - 25% ));
@@ -274,6 +278,7 @@ body {
274278 --background-modifier-border-hover : hsl (var (--base-h ), var (--base-s ), calc (var (--base-d ) + 10% ));
275279 --background-modifier-border-focus : hsl (var (--base-h ), var (--base-s ), calc (var (--base-d ) + 20% ));
276280 --background-modifier-box-shadow : rgba (0 , 0 , 0 , 0.3 );
281+ --background-button : hsl (var (--base-h ), var (--base-s ), calc (var (--base-d ) + 2% ));
277282 --text-normal : hsl (var (--base-h ), var (--base-s ), calc (var (--base-d ) + 67% ));
278283 --text-muted : hsl (var (--base-h ), var (--base-s ), calc (var (--base-d ) + 45% ));
279284 --text-faint : hsl (var (--base-h ), var (--base-s ), calc (var (--base-d ) + 20% ));
@@ -310,6 +315,7 @@ body {
310315 --base-d : 0% ;
311316 --background-primary-alt : hsl (var (--base-h ), var (--base-s ), calc (var (--base-d ) + 6% ));
312317 --background-tertiary : hsl (var (--base-h ), var (--base-s ), calc (var (--base-d ) + 10% ));
318+ --background-button : hsl (var (--base-h ), var (--base-s ), calc (var (--base-d ) + 10% ));
313319 --background-modifier-border : hsl (var (--base-h ), var (--base-s ), calc (var (--base-d ) + 12% ));
314320 --background-modifier-border-hover : hsl (var (--base-h ), var (--base-s ), calc (var (--base-d ) + 20% ));
315321 --background-modifier-border-focus : hsl (var (--base-h ), var (--base-s ), calc (var (--base-d ) + 30% ));
@@ -1092,6 +1098,9 @@ body, input, button,
10921098.nav-action-button svg path {
10931099 stroke-width : 2px ;
10941100}
1101+ .clickable-icon {
1102+ cursor : var (--cursor );
1103+ }
10951104.view-header-icon ,
10961105.workspace-tab-header ,
10971106.nav-action-button ,
@@ -1231,6 +1240,7 @@ span.cm-hashtag.cm-hashtag-end {
12311240input .prompt-input {
12321241 border : 0 ;
12331242 background : var (--background-primary );
1243+ box-shadow : none!important ;
12341244 padding-left : 10px ;
12351245 height : 40px ;
12361246 line-height : 4 ;
@@ -1379,6 +1389,7 @@ input.prompt-input:hover {
13791389 --font-settings-small : 12px ;
13801390}
13811391
1392+ .modal .mod-publish ,
13821393.modal .mod-community-plugin ,
13831394.modal .mod-settings {
13841395 width : 90vw ;
@@ -1411,6 +1422,8 @@ input.prompt-input:hover {
14111422.modal button ,
14121423.modal button .mod-cta a {
14131424 font-size : var (--font-settings-small );
1425+ height : var (--input-height );
1426+ cursor : var (--cursor );
14141427 margin-right : 3px ;
14151428 margin-left : 3px ;
14161429}
@@ -1904,6 +1917,7 @@ input.document-replace-input {
19041917 font-size : var (--font-adaptive-small ) !important ;
19051918 border : 1px solid var (--background-modifier-border );
19061919 border-radius : 5px ;
1920+ height : 28px !important ;
19071921 background : var (--background-primary );
19081922 transition : border-color 0.1s ease-in-out;
19091923}
@@ -1986,15 +2000,13 @@ input[type='number'] {
19862000 padding : 5px 10px ;
19872001 -webkit-appearance : none;
19882002 transition : all 0.1s linear;
1989- height : 38 px ;
2003+ height : var ( --input-height ) ;
19902004}
1991-
19922005select : hover ,
19932006input : hover {
19942007 border-color : var (--background-modifier-border-hover );
19952008 transition : all 0.1s linear;
19962009}
1997-
19982010input [type = 'text' ],
19992011input [type = 'search' ],
20002012input [type = 'email' ],
@@ -2007,7 +2019,12 @@ button,
20072019 font-size : 13px ;
20082020}
20092021
2022+ button : active,
2023+ button:focus,
2024+ .dropdown: focus,
2025+ .dropdown: active,
20102026select:focus,
2027+ select:active,
20112028input[type='text']: active,
20122029input[type='search']: active,
20132030input[type='email']: active,
@@ -2016,28 +2033,40 @@ input[type='number']:active,
20162033input[type='text']: focus,
20172034input[type='search']: focus,
20182035input[type='email']: focus,
2019- input[type='password']: focus,
2036+ input[type='password']: focus,
20202037input[type='number']: focus {
20212038 -webkit-appearance:none;
2022- border-color : var (--background-modifier-border-focus );
2039+ border-color : var (--background-modifier-border-hover );
2040+ box-shadow : 0 0 0px 2px var (--background-modifier-border-hover );
20232041}
2024-
2025- butto n,
2042+ .modal button : not (.mod-cta ): not (.mod-warning ),
20262043.modal .mod-settings button : not (.mod-cta ): not (.mod-warning ) {
2027- background-color : var (--background-modifier-border );
2044+ background-color : var (--background-button );
2045+ border : 1px solid var (--background-modifier-border );
2046+ box-shadow : 0 1px 1px 0px rgba (0 , 0 , 0 , 0.05 );
20282047 cursor : var (--cursor );
2048+ height : var (--input-height );
2049+ line-height : 0 ;
2050+ white-space : nowrap;
20292051}
20302052button : hover ,
2053+ .modal button : not (.mod-cta ): not (.mod-warning ): hover ,
20312054.modal .mod-settings button : not (.mod-cta ): not (.mod-warning ): hover {
2032- background-color : var (--background-modifier-border-hover );
2055+ background-color : var (--background-button );
2056+ border-color : var (--background-modifier-border-hover );
2057+ box-shadow : 0 2px 3px 0px rgba (0 , 0 , 0 , 0.05 );
20332058}
2059+ .dropdown ,
20342060select {
20352061 box-shadow : 0 1px 1px 0px rgba (0 , 0 , 0 , 0.05 );
2036- background-color : var (--background-tertiary );
2062+ background-color : var (--background-button );
2063+ border-color : var (--background-modifier-border );
20372064 transition : border-color 0.1s linear;
2038- height : 38 px ;
2065+ height : var ( --input-height ) ;
20392066}
2067+ .dropdown : hover ,
20402068select : hover {
2069+ background-color : var (--background-button );
20412070 box-shadow : 0 2px 3px 0px rgba (0 , 0 , 0 , 0.05 );
20422071}
20432072
@@ -2567,7 +2596,7 @@ h5:hover .heading-collapse-indicator.collapse-indicator svg,
25672596}
25682597.search-input-container {
25692598 width : calc (100% - 20px );
2570- margin : 0 10 px 5px ;
2599+ margin : 0 0 5px 10 px ;
25712600}
25722601
25732602.workspace-leaf-content .setting-item {
@@ -3345,6 +3374,10 @@ input[type=range]::-webkit-slider-thumb:active {
33453374.vertical-tab-content {
33463375 padding-bottom : 100px ;
33473376}
3377+ .community-theme-container , .hotkey-settings-container {
3378+ height : auto;
3379+ overflow-y : visible;
3380+ }
33483381.modal .mod-settings .vertical-tab-header {
33493382 background : var (--background-secondary );
33503383 padding-top : 5px ;
@@ -3382,8 +3415,111 @@ input[type=range]::-webkit-slider-thumb:active {
33823415.theme-dark .dropdown {
33833416 background-image : url ('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E' );
33843417}
3385- .dropdown : focus {
3386- border-color : var (--background-modifier-border-focus );
3418+
3419+ /* --------------- */
3420+ /* Publish */
3421+
3422+ .modal .mod-publish {
3423+ max-width : 600px ;
3424+ padding-left : 0 ;
3425+ padding-right : 0 ;
3426+ padding-bottom : 0 ;
3427+ }
3428+ .modal .mod-publish .modal-title {
3429+ padding-left : 20px ;
3430+ }
3431+ .mod-publish .modal-content {
3432+ padding-left : 20px ;
3433+ padding-right : 20px ;
3434+ }
3435+ .mod-publish p {
3436+ font-size : var (--font-small );
3437+ }
3438+ .mod-publish .button-container ,
3439+ .modal .mod-publish .modal-button-container {
3440+ margin-top : 0px ;
3441+ padding : 10px ;
3442+ border-top : 1px solid var (--background-modifier-border );
3443+ bottom : 0px ;
3444+ background-color : var (--background-primary );
3445+ position : absolute;
3446+ width : 100% ;
3447+ margin-left : -20px ;
3448+ text-align : center;
3449+ }
3450+ .publish-changes-info {
3451+ padding : 0 0 15px ;
3452+ margin-bottom : 0 ;
3453+ border-bottom : 1px solid var (--background-modifier-border );
3454+ }
3455+ .modal .mod-publish .modal-content .publish-sections-container {
3456+ max-height : calc (90vh - 180px );
3457+ padding : 10px 20px 10px 0 ;
3458+ margin-top : 10px ;
3459+ margin-right : -20px ;
3460+ }
3461+ .publish-site-settings-container {
3462+ max-height : calc (90vh - 120px );
3463+ margin-right : -20px ;
3464+ padding-bottom : 40px ;
3465+ }
3466+ .publish-section-header {
3467+ padding-bottom : 15px ;
3468+ border-width : 1px ;
3469+ }
3470+ .password-item {
3471+ padding-left : 0 ;
3472+ padding-right : 0 ;
3473+ }
3474+ .publish-section-header-text {
3475+ font-weight : 600 ;
3476+ color : var (--text-normal );
3477+ cursor : var (--cursor );
3478+ }
3479+ .publish-section-header-text ,
3480+ .publish-section-header-toggle-collapsed-button ,
3481+ .publish-section-header-action ,
3482+ .file-tree-item-header {
3483+ cursor : var (--cursor );
3484+ }
3485+ .publish-section-header-text : hover ,
3486+ .publish-section-header-toggle-collapsed-button : hover ,
3487+ .publish-section-header-action : hover {
3488+ color : var (--text-normal );
3489+ cursor : var (--cursor );
3490+ }
3491+ .mod-publish .u-pop {
3492+ color : var (--text-normal );
3493+ }
3494+ .publish-section-header-toggle-collapsed-button {
3495+ padding : 7px 0 0 3px ;
3496+ width : 18px ;
3497+ }
3498+ .mod-publish .file-tree-item {
3499+ margin-left : 20px ;
3500+ }
3501+ .mod-publish .file-tree-item {
3502+ padding : 0 ;
3503+ margin-bottom : 2px ;
3504+ font-size : var (--font-small );
3505+ }
3506+ .mod-publish .file-tree-item-checkbox {
3507+ filter : hue-rotate (0 );
3508+ }
3509+ .mod-publish .file-tree-item .mod-deleted .flair ,
3510+ .mod-publish .file-tree-item .mod-to-delete .flair {
3511+ background : transparent;
3512+ color : # ff3c00 ;
3513+ font-weight : 500 ;
3514+ }
3515+ .mod-publish .file-tree-item .mod-new .flair {
3516+ background : transparent;
3517+ font-weight : 500 ;
3518+ color : # 13c152 ;
3519+ }
3520+ .mod-publish .site-list-item {
3521+ padding-left : 0 ;
3522+ padding-right : 0 ;
33873523}
33883524
33893525/* --------------- */
@@ -3442,6 +3578,7 @@ Mobile styling
34423578.is-mobile {
34433579 --font-settings : 16px ;
34443580 --font-settings-small : 13px ;
3581+ --input-height : 40px ;
34453582}
34463583.hider-tooltips .follow-link-popover {
34473584 display : none;
@@ -3641,7 +3778,7 @@ body:not(.is-ios).is-mobile .workspace-drawer-ribbon {
36413778}
36423779.is-mobile input [type = 'text' ] {
36433780 font-size : 14px ;
3644- height : 38 px
3781+ height : var ( --input-height )
36453782}
36463783.is-mobile .search-input-container input [type = 'text' ] {
36473784 -webkit-appearance : none;
@@ -3695,17 +3832,6 @@ body:not(.is-ios).is-mobile .workspace-drawer-ribbon {
36953832.is-mobile .markdown-preview-view input [type = checkbox ].task-list-item-checkbox {
36963833 top : 6px ;
36973834}
3698- /*
3699- .is-mobile .markdown-preview-view ul > li:not(.task-list-item)::before {
3700- height:1em;
3701- width:2px;
3702- margin-top:0.5em;
3703- font-size:1.5em;
3704- }
3705- .is-mobile .markdown-preview-view ul > li:not(.task-list-item).is-collapsed::before {
3706- box-shadow:none;
3707- background:transparent;
3708- }*/
37093835.is-mobile .workspace-drawer {
37103836 border-width : var (--border-width );
37113837}
@@ -3896,13 +4022,16 @@ body:not(.is-ios).is-mobile .workspace-drawer-ribbon {
38964022 mask-image : unset;
38974023 -webkit-mask-image : unset;
38984024}
3899- .is-mobile .plugin-sliding-panes .view-header-title {
4025+ .is-mobile .plugin-sliding-panes-rotate-header .view-header-title {
39004026 line-height : 1.2 ;
39014027}
39024028.is-mobile .workspace-drawer-header-name-text {
39034029 white-space : nowrap;
39044030 margin-right : 10px ;
39054031}
4032+ .is-mobile .mod-community-theme .modal-title {
4033+ padding : 10px 20px ;
4034+ }
39064035
39074036/* --------------- */
39084037/* Phone styling */
@@ -4164,6 +4293,9 @@ body:not(.is-ios).is-mobile .workspace-drawer-ribbon {
41644293 width : auto;
41654294 margin-top : 0 ;
41664295 }
4296+ .is-mobile .modal .search-input-container input {
4297+ width : 100% ;
4298+ }
41674299 .pull-down-action {
41684300 width : 400px ;
41694301 top : 15px ;
0 commit comments